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 |
can u write Script to do Data Driven Testing throuh Externel & internel XL Sheet
when you press a link it displays "the page cannot be displayed" then as a tester how you will find the problem,what type of problem must be it?
why text area checkpoints cannot used for web applications
who is the best faculty in Hyderabad for QTP?
How to use setroproperty?
when to start the automation?
How can we export test results to an excel sheet in QTP??? Can any one provide sample coding for this?????
IF I SET THE VIRTUAL OBJECT AFTER THAT MAXIMIZE THE APPLICATION THEN QTP SENT ERROR OR EXECUTE SUCCESSFULLY? WHY ?
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
Regular expressions..... Actually how to use this and what is the exact syntax and can anybody can help me out this with example.is there any docs pls send to my mailid rvreddy82@gmail.com
How does qtp recognize objects in aut?