Developing Automated Test Scripts

You can either record or program automated test scripts using a test tool's test scripting language. If you don't have an automated test tool, you can record test scripts using the Windows macro recorder function. Regardless of what method you choose, if you follow a few simple test case design rules, your result will be more robust, easier-to-maintain test cases. Adhikari cites four test case design principles that are in use at Charles Schwab. The design engineers are told to do the following (1). We have applied these rules and found them to be effective when developing automated tests/test data.

  1. Design independent test cases.

  2. Design self-contained tests.

  3. Design home-based test cases.

  4. Design nonoverlapping test ...

Get Just Enough Software Test Automation now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.