how can we retrieve ten rows from the data table using loop
concept?
Answer Posted / 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 |
Post New Answer View All Answers
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
What is reusable action?
How do Parameterization and Data-Driving relate to each other in QTP?
Explain about the test fusion report of quicktest professional (qtp)?
How do we handle run-time errors?
How to save your test using quicktest professional?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
How to connect to a database?
Where you are storing your script?
How software automation specialist enter steps in the Expert View?
How many types of recording modes in qtp? Describe each type with an example where we use them?
What are the advantages of Object Repository?
Dis advantages of XML checkpoint ?
Can you write a script to check if the folder exists or not?
What is the difference between run time object and test object in QTP?