| || |
Experiencing problem running all rows when using QTP to generate test cases
I have begun to use QTP to not only run tests but also generate them at run time.
As part of the requirements, the business analysts create spreadsheets detailing the business rules which must be applied to the system. These spreadsheets are then imported at run time to QTP, and test cases created using techniques such as BVA. Each identified test is then written to the Global Sheet, and after these are created, QTP continues running iteratively against the Global Sheet.
However, although the test are being generated and I am really pleased with the results, QTP doesn't run all the tests on the Global Sheet.
e.g. Before QTP is run, the Global Sheet has 10 tests. The test generator created 20 tests, and the first 10 are overwritten (this is intended), but although the settings are set to "Run All Rows", QTP stops after 10 iterations. If I ensure that Global is empty (apart from the column headings), then QTP just runs once.
Seeing how it would appear that QTP decides at the start of the run how many iterations constitues "Run All Rows", can I reset this after a have generated the tests?
Re: Experiencing problem running all rows when using QTP to generate test cases
It might be better to create your own loop to iterate through the sheet, rather than relay in Quick Tests iteration functionality.