Run your tests

You've done your part: created test cases, did trial runs of these test cases, and created playlists. Now, it's time to hand over your test suite to Tosca Cloud. Start a test run to verify whether your application meets its business and success criteria. After a test run, you can open your playlists directly from the Test runs page.

Before you start

Make sure you have available agents to run your playlist.

Note that Tosca Cloud records test runs to provide you with video recording of any failed test, so that you can debug it. To avoid capturing sensitive information, make sure to close all windows on the agent machines that you don't need for the test run.

Trigger a test run

To start a test run, go to Playlists and select the playlist. Then, choose one of the following options:

  • Test run > Run on personal agent to do a test run of the playlist on your workstation. This is similar to a single test case trial run: the results are only visible to you, and you need to have local components installed on your workstation.

    You don't have to do a test run every time, but we do recommend one before your first real run. For example, to find and remove any dependencies between tests, which interfere with your test sequence.

  • Test run to test your application in earnest. These results are visible to your whole team.

Schedule test runs

If you want your playlist to run automatically, you can schedule it to repeat daily or weekly. For instance, your playlist can run every day at 7:00 AM. The scheduler automatically triggers your runs, so you don't have to trigger them manually.

The scheduler displays your machine's local time zone. Scheduled runs happen at the time displayed. So, if you create a daily schedule from a machine set to EST, your runs trigger in EST, regardless of where the agent is.

To schedule a playlist, go to Playlists and choose one of the following options: 

  • Hover over the playlist and select Schedule run from the dropdown. Then, define your schedule.

  • Select the playlist to open the details view. Then, select Test run > Schedule run and define your schedule.

What's next

Monitor your progress and results on the Test runs page. Does your application behave as expected?