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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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
Regards,
Veeranki Naveen,
Noida.
Is This Answer Correct ? | 4 Yes | 1 No |
datatable.AddSheet"pushkar"
datatable.ImportSheet "C:UserspushkarDesktopBook1.xls","Sheet1","pushkar"
rw=datatable.GetSheet("pushkar").GetRowCount
clm=datatable.GetSheet("pushkar").GetParameterCount
For i=1 to rw step 2
For j=1 to clm
a=datatable.GetSheet("pushkar").GetParameter(j).valuebyrow(i)
msgbox a
Next
Next
Is This Answer Correct ? | 1 Yes | 0 No |
How u perform exception handling in QTp,what is other name for ths?
Which environments are supported by hp qtp?
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
What is the use of Accessibility check point?
what is the process to follow between writing the test cases & then atomating it?
How to change the scripts from Per-Action object repository to shared object repository
What is LoadRunner?
Pls explain me the difference between ........ Description.Create and CreateObject
what area in a web application cannot be automated.
how to test a java project throughqtp?while testing a vb project we generally do vb scripting. but while testing java project do we use java script .plz some one can send me the manual for it my email roy_samata@yahoo.com thanks in advance
Hi friends, In a particular test how many maximum call to new actions we can call?It reusable or normal actions what ever it is .
Can abody explain me Send keys concept