QTP Data Table Having 10 records with 10 to 15 fields(lets
say).now i want to get alternative records from datatable.pls
can any one answer it?
Answer Posted / veeranki naveen goud
set dtsheet1 = datatable.GetSheet(1)
rcount = dtsheet1.GetRowCount
ccount = dtsheet1.GetParameterCount
For i = 1 to rcount step 2
dtsheet1.SetCurrentRow i
For j =1 to ccount
n = dtsheet1.GetParameter(j).ValueByRow
(i)
msgbox n
Next
Next
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
How can I check if a environment variable exist or not?
Without using gui map editor we can recognize the application in winrunner ?
Explain the concept of how quicktest professional (qtp) identifies object?
In qtp, how you can exit for loop?
What is the use of sendkeys and what are send keys
How to add synchronisation points in qtp?
wht type of User defined functions or Java Releated functions Do we write in VB scripting
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 does quicktest professional (qtp) identifies the object in the application?
1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP
How to add verification steps to tests?
If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?
To retrive the test data which tool vl use and whats basis u vl write test data? its urgent
Explain the Different types of QTP test assets and their extensions?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance