Extracting a particular row from DataSource
Hi,
Is there a way i can specify/extract a particular ROW/s from Excel sheet or Table that was specified as a data source (Not all the rows in a specific column as it consideres by default) and assign it to a particular Test?
This will help me in maintaining most of my seed data for different tests in a particular data source.
Regards.
Is there a way i can specify/extract a particular ROW/s from Excel sheet or Table that was specified as a data source (Not all the rows in a specific column as it consideres by default) and assign it to a particular Test?
This will help me in maintaining most of my seed data for different tests in a particular data source.
Regards.
Tagged:
0
Comments
To restrict the rows used in a Data Source look at the section labeled "Rows" in the data source GUI. There is a radio button for "All" and one for "Range". Select "Range" and you can then specify the range of rows you want to use. For example if you only wanted to use row 2, you would set the range from 2 to 2.
Josh
If i select the range of rows in a datasource as specified, that will be common across all the tests in which i use that data source for a parameter.
But i would like to use a single data source and select a column in the data source and specify - "in this particular particular column selected i would like to consider only rows say from row5 to row12 for Test1 and say in a different test2 row1 to row 10 is to be used from the same data source."
That is effectively selecting the column(this is available by default as you specified) and also in that column i would like to consider only particular rows as my seed data for a parameter in a test and a different set of rows for another test from the same data source.
Regards.