I am a fresher learing the QTP software. Please can someone let me know the code that can be written in the expert view in order to fetch the login_ID from the excel sheet (as shown below) and use it for testing the website.
Please can someone help me in the problem i am facing in QTP.I have written a code for importing an Excel file in QTP expert view.when i run the code it retrives the data from the excel file,But the problem is that it is running four times rather than running for only one time i.e it should should show all the data in Excel sheet and stop running. The code is as follows,
DataTable.Importsheet "G:\text1.xls" ,1,"Global"
For setcurrentrow = 1 to 4
My question was. I have entered data in excel sheet i.e mercury, assd, 1222 for login window of flight reservation. I have imported the file but how i will place the data of excel sheet in the agent name of flight reservation application through writting code. I hav eresd the datatable optins and function that i can use.So please help me in writting the code.