I am using excel sheet to export data to QTP but it
selects just one row of data from excel sheel how to import
all rows of excel sheet to QTP during runtime
Answer Posted / jay desai
When you are importing an excel sheet into QTP, the
datatable defaults to the first row. Below is an example
that will help you importing all the data into QTP.
Dim jj,Rows
Rows=DataTable.LocalSheet.GetRowCount
For jj=1 to Rows
DataTable.LocalSheet.SetCurrentRow(jj)
.......
<Perform your operation>
.......
Next
'I hope the above code will work.
| Is This Answer Correct ? | 7 Yes | 9 No |
Post New Answer View All Answers
What are the types of environment variables in qtp?
How to analyzing test results using quicktest professional (qtp)?
How to customize qtp?
What are the different types of action?
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
Explain process of smart Identification in QTP?
Where to use Property Let, Property Get, Property Set in UFT
If I change the object name in one action will it be updated in all the actions? Or not?
What is the basic concept of quicktest professional (qtp)?
can u explain relative path architecture framework in qtp?
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
How to test the login page in different ways in automation testing and i need code?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
wt is the use of multiple questions in QTP