XenoGuard Documentation

Advantages of Test Automation

There are two main advantages of automated tests that derive from their systematic character. The third widely-known advantage – saving time and resources – highly depends on several conditions and is not per se applicable to every use case. It will be discussed in more detail later.

Automated tests are also not per se systematic and not all manual tests are per se unsystematic. Indeed, an automated test is more secure against human errors. For instance, it won't miss any steps or mix their sequence. Besides, in most cases, human testers have to record test results manually while still doing the test itself. This is a difficult task to handle, even for a professional tester. Many beginners, who have not yet developed a sharp eye for errors, may overlook them. Last but not least, it takes time to prepare a testing scenario that a tester should go through. Although this step cannot be skipped with automated tests as well, with manual testing, long scenarios are prone to more errors since a tester may lose focus when a test lasts too long.

Once a step is missing or an error was not tracked, the systematicity behind the testing process is violated, and the results are not reliable anymore.

Automated tests can help to catch and analyze all errors in a systematic manner and establish links between failures and their possible causes.

    It is often argued that automated tests save time and resources. They do when you prepare them properly as described in this knowledge article. Once you have created your automated test, you can repeat it many times or even schedule it to run automatically. Indeed, a script runs faster than you'd click yourself through the entire user interface. Automated scripts are useful for testing complex applications, especially after bug fixing or for regression testing.

    By now, you are just one step away from creating your first testing script in XenoGuard. You could begin with it directly, though we highly recommend to undertake another stop before: define your goals, create a time schedule, and work out a few testing scenarios.

    In the next section, we will describe how you can implement knowledge from the last two sections to prepare your perfect automated test.