Datatable Parameter - Create in Run time

by Community Manager on ‎06-19-2012 09:23 AM

Question

I am creating a datatable parameter in run time. The problem is that I want to start inserting the values in the column from the row where the data is fetched from the datatable.

 

For Example,

I am running the test with the data in the row 10, when I create a datable parameter, I would like to add the value in the row 10 and not in the first row of the new column.

 

When I use Add parameter it inserts the value in the first column. Is there a way that I can configure so that the parameter value is stored in the required row?

 

Datatable used: Local

QTP Version: 11.0

 

Please let me know if any other details are required.

Answer

You migth be able to use the DataTable method SetCurrentRow.

You may also need to look at SetNextRow & GetCurrentRow.

Search
Showing results for 
Search instead for 
Do you mean 
Contributors
HP Blog

The Future of Testing Blog

Featured


Follow Us
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.