reading data from parameter row
I am facing a problem in reading data from the excel sheet.
My application exports an excel sheet having the data only in the first row.
But QTP takes first row data as parameters.(Column names)
Is there any option by which i can read data from
Re: reading data from parameter row
You want to read the data from the excel sheet which you importing in QTP, right?
Before importing in QTP, in the first row of the excel sheet write the column names like ex; Cust_No, etc and from the 2nd row write down the test data, and now import that file in QTP.
Remember, whenever you import an excel sheet in QTP, the first row of the excelsheet becomes the parameters ie column names in the datatable of QTP. That is 2nd row in excelsheet works as first row in QTP.
Hope it helps you,