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 |
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
Explain quicktest professional testing process?
By using QTP can we record any log files written by the application which is in execution?
How to use regular expression in descriptive programming?
What is the vb script when the url enter into the browser
Can you expect major bugs in Net banking Application?
Which method do you use to retrieve data from the WebList object?
How to connect QTP to Testdirector
Diff b/w Test Design and Test case design? What is the Design Review's and Code Review's. When will you conduct tese reviews?
How will internal and external links be validated and updated? how often?
How to find the length of the string in qtp?