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 / pushkar1206
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 |
Post New Answer View All Answers
Which environments are supported by hp qtp?
Do you know how to connect database? Can you tell me the procedures?
How many ways we can parameterize data in quicktest professional?
what is the difference between data driver & data driven and driver script?
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined
They asked by using qtp recording writing scripting
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
Can the user toggle between using Local OR and shared OR for the same action?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.
what is error and fault in terms of software quality?
can the activities of test case design be automated?
For which type of projects the iterative model is not suitable?
What do you to script when objects are removed from application?
Explain in brief about the quicktest professional (qtp) automation object model?
In qtp is it possible to check broken links of a page?