Hi.
I've been creating small sub-tests for my test scenarios such as logging in, going to a specific page, ordering a product, etcetera. The goal is to be able to easily create varying test scenarios by using these small tests as building blocks. Now I've added in a data source to specificy my base URLs so I can run these tests on both test and acceptation enviroments, this is where this method seems to unfortunately break down.
When I add a datasource it automatically runs every test twice, one on test (row 1 of my excel sheet) and on acc (row 2 on my excel sheet), however it does this for every single substep. I want an entire testlist to finish while using data from row 1, and then another iteration of said testlist where it gets data from row 1. Right now it performs Step 1 twice, Step 2 twice, etcetera.
I've also tried creating one full test instead of a testlist where I use my small tests as test steps, but it still performs all of the possible iterations for step 1 before moving on to step 2. Is what I want not possible? If so, how would I ever go about testing an entire scenario on test before I do the full run on acc, without having to make one giant test without sub-tests in it?
Regards,
Sander
I've been creating small sub-tests for my test scenarios such as logging in, going to a specific page, ordering a product, etcetera. The goal is to be able to easily create varying test scenarios by using these small tests as building blocks. Now I've added in a data source to specificy my base URLs so I can run these tests on both test and acceptation enviroments, this is where this method seems to unfortunately break down.
When I add a datasource it automatically runs every test twice, one on test (row 1 of my excel sheet) and on acc (row 2 on my excel sheet), however it does this for every single substep. I want an entire testlist to finish while using data from row 1, and then another iteration of said testlist where it gets data from row 1. Right now it performs Step 1 twice, Step 2 twice, etcetera.
I've also tried creating one full test instead of a testlist where I use my small tests as test steps, but it still performs all of the possible iterations for step 1 before moving on to step 2. Is what I want not possible? If so, how would I ever go about testing an entire scenario on test before I do the full run on acc, without having to make one giant test without sub-tests in it?
Regards,
Sander