When I parameterize a script then for each iteration script
is executed from begining to end.
If I want to execute some middle steps multiple times using
Parameterization (avoiding begining and end steps), what is
the solution of this
(e.g. total steps are 1 2 3 4 5
and i want 2 3 4 only(not 1 nd 5)
Answers were Sorted based on User's Feedback
Answer / praveen
You can use For loop like..
for i=2 to 4
datatable.setcurrentrow(i)
Browser("").page("").webedit("").set datatable("column
name", dtGlobalsheet)
next
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ravikanth
If we want to run the script of rows 2,3,4, we need to
select the option "Run from row __ to __" in File->Settings-
>Run tab.
Is This Answer Correct ? | 1 Yes | 0 No |
How can i open 5 multiple browser at once through QTP VB script and i want to login with 5 different credentials i already tried with this code but its entering credentials only for first browser and am using datatable to parameterize
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
How many types of OBJECTS are there in QTP?
8 Answers Intel, Inter Globe Technologies,
write a qtp script to enter user name & password for flight reservation login page from excel sheet
How do you know the location Id of an object if you know its index id?
How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?
What is difference b/w AOM,DOM,COM Have u ever is used ny of the models.If so why?
waht is the difference between QTP 8.2 and 9.0 version
15 Answers AppLabs, CTS, Polaris,
how to disable the pop ups through QTP using a script
How you are developing the script? Using record and play back or manual?
What is checkpoint in qtp?
How can i count the list box elements in QTP ?using script plz explain me (Chandana)