how can we retrieve ten rows from the data table using loop
concept?
Answers were Sorted based on User's Feedback
Answer / uday kumar. a
Assume "Column1" is my column name in the Global Data
table, then use this code:
for i=1 to 10
datatable.setcurrentrow(i)
returnvalue=datatable.value("Column1","Global")
msgbox(returnvalue)
next
| Is This Answer Correct ? | 18 Yes | 4 No |
Answer / arjuncr
rows=datatable.getrowcount
set globalsheet=datatable.getsheet("global")
for i=1 to rows step 1
datatable.set currentrow(i)
prameterize steps
next
it retrives not only ten rows .even more than 100 rows in a
datatable
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / srikanth
Assume "Column1" is my column name in the Global Data
table, then use this code:
for i=1 to 10
datatable.setcurrentrow(i)
returnvalue=datatable("Column1","Global")
msgbox(returnvalue)
next
| Is This Answer Correct ? | 7 Yes | 8 No |
what are the different kinds of frameworks in automation?
how to idetfy which test cases are automated?who will deside that plz tell me
How to load object properties to object repository through scripting.give one example
How to call a test from another test?
Discuss QTP Environment.
Which version of QTP is using by companies nowadays?
i want click on a link which is in 3rd row and 2nd column of a web table.write script to execute
did you perform retesting(DATA DRIVEN test) using functions with out using datatable methods how can you perform retesting using functions
Hi, My application is a web application which was developed by Java. In that application we have applets to do some operations. Is it possible to recognize applets using QTP? If yes, how? pls, help me this
can QTP works on LINUX platfom
WHAT AREV THE STEPS BETWEEN TEST cASE AND Script generation?
Why qtp the best testing tool?