Back
Alternative steps in LoadRunnerTrueClient Protocol

Alternative steps in LoadRunnerTrueClient Protocol

  • Alternative steps in Load runner True client protocol allows us to performing the same action in different ways.
  • For example we have a country drop down list in which we need to select one country from the list.So the possible ways to selecting country from the dropdown will be either we can select the county by the name or by the index from the drop down list. Refer below image for more details.
Figure 1.1 Showing the dropdown list of the countries
  • To perform the same action in different ways, TruClient gives you the option of specifying your selection by name or by the number in which it appears in the list.

Below steps showing implementation of Alternative steps using true client protocol

  1. One scripts are recorded we can see the alternative steps is enables in the corresponding steps in true client developer mode.
Figure 1.2 Showing the alternative steps are enabled at step no 11 & 12
  • Expand the steps in which alternative steps is enabled.
Figure 1.3Showing the details of step
  • Click on Alternative Steps :-
Figure 1.4Showing the alternative steps after expanding the step
  • We can see the more than one way to perform the same action. In below diagram, we can see True client protocol suggesting that either the county from the drop down list can be selected by the name or by the number.
  • Steps that have alternative options are labelled with an alternative step symbol highlighted in the below image. Click it to view the alternative options for that step. Click the desired alternative and select Back.
Figure 1.5 true client showing the alternative options for performing the same action
  • We can play the step to confirm if its performing the same action or not. So here in below diagram, we need to pass ordinal value to select the country from the drop down list.
Figure 1.6 Showing the alternative steps for the dropdown selection using ordinal
  • Similar like by changing the name in argument we can choose different country &passing different value in ordinal will also select the different countries from the dropdown list.
Figure 1.7 Showing the step implemented with the alternative steps
  • Thus by performing above steps, we can use the concepts of Alternative steps in true client protocol.

Isha training solutions is offering a ”TruClient Protocol Using LoadRunner” level course. For complete details, pls follow below link

TruClient Protocol Using LoadRunner Course Content

 

Leave A Reply

Your email address will not be published. Required fields are marked *

CLICK HERE – ISHA TUITIONS | Grades 1–12 | India • USA • UK • Middle East | CBSE • ICSE • IGCSE • Cambridge • IB • State Boards | CLICK HERE