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 |
Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?
Is it a smart choice to use QTP for backend testing?
How we know the qtp has used the smart identification process for identification of the object.
Cn u please clarify my doubt Where are micTab and micReturn used.Thanx in Advance
can u write one user defined function for webedit class.
What is Tree view?
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
I want to learn QTP Online, where can I get quality training?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
how will u do database testing in qtp? how will u do the same with descriptive programming?
Which Databases supports for QTP?
What are different versions in Win Runner ,QTP ,Load Runner and Test Director till now and atleast please let me know new features for each version. Ex QTP8.2,QTP 8.5.QTP9.2 supports Mozilla 2.0