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 is LoadRunner?
How to analyzing Test Results using QTP?
how to automate standalone infopath forms using QTP? (it is not a dotnet or a web form)
What is data driver in qtp? Where we use it?
what is keyword driven framework in qtp.
Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay
Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?
Which scripting language QTP is using?
If I give some thousand tests to execute in two days what do you do?
can objects recogonised without repository?
How many actions we can create with in a test?
Where should we turn Smart Identification ON in QTP?