Running multiple tests in a job without restarting the app/browser
in this article we will learn how to run multiple tests in a job without restarting the application or browser.
First, we need to create a test. We will use the youtube website for this example:
After creating a simple test with a few steps, we will duplicate the test, add some steps, and disable the first ones(you can delete them as they have no use) :
As you can see, the navigation step is disabled (does not apply in a mobile test), so the test will not try to open the website. Now, we need to create a job by clicking the add new job option in the project toolbar:
And when you get to the 3rd step in creating a job, you will notice this switch below:
or if using a mobile test:
now drag and drop your tests to the job on the right:
And you are good to go; you can now run the job.