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
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
how to idetfy which test cases are automated?who will deside that plz tell me
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
Explain process of smart Identification in QTP?
Explain how Selenium is different from UFT?
How to check bitmap output value?
What is action split and the purpose of using this in qtp?
Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,
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?
what is vmodel?advantages and disadvantages of vmodel?
How to remove associated function library?
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
Limitations in QTP?
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
whare exactly we have to use functions and sub routain