Best way to nest Test Cases for Cross Browser testing?
Posted: Fri Feb 27, 2015 1:30 pm
Ranorex 5.2.2
My cross browser test cases are set up as follows. The top level test case opens the application in the browser. This test case is data driven and the browser is entered as a variable. All subsequent tests are nested under this open browser test case.
The issue with this approach, is that when a Test Configuration, which only includes a small number of test cases, is run, the test run opens the browser again, even when the browser is open and I don't want it to open again.
Is there a better way to nest cross browser test cases?
One approach I have been considering is creating a top level test case, which in itself does nothing. Then nesting all other test cases, including the open browser one, underneath it. Is there anything wrong with that approach?
Thanks!
My cross browser test cases are set up as follows. The top level test case opens the application in the browser. This test case is data driven and the browser is entered as a variable. All subsequent tests are nested under this open browser test case.
The issue with this approach, is that when a Test Configuration, which only includes a small number of test cases, is run, the test run opens the browser again, even when the browser is open and I don't want it to open again.
Is there a better way to nest cross browser test cases?
One approach I have been considering is creating a top level test case, which in itself does nothing. Then nesting all other test cases, including the open browser one, underneath it. Is there anything wrong with that approach?
Thanks!