how can we retrieve ten rows from the data table using
loop concept?
Answer Posted / sreeprasad
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 ? | 1 Yes | 1 No |
Post New Answer View All Answers
iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?
What are the flaws in water fall model and how to overcome it?
I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?
What are the trigger events in qtp?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
Hi All, How to get repeated word in string . Thanks Balaji
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
How to open a new test using quicktest professional (qtp)?
explain abt dyanamic changing object with example?
How does quicktest professional identifies the object in the application?
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
How to create Reusable and Multiple Actions?