How do you choose test case to be automate?
Test cases to be automated can be selected using the following criterion to increase the automation ROI:
- Business critical paths the features or user flows that if they fail, cause a considerable damage to the business.
- Tests that need to be run against every build/release of the application, such as smoke test, sanity test and regression test.
- Tests that need to run against multiple configurations different OS & Browser combinations.
- Tests that involve inputting large volumes of data, such as filling up very long forms.
- Tests that execute the same workflow but use different data for its inputs for each test run e.g. data-driven.
- Tests that can be used for performance testing, like stress and load tests.
- Tests during which images must be captured to prove that the application behaved as expected, or to check that a multitude of web pages looks the same on multiple browsers.
- Tests that take a long time to perform and may need to be run during breaks or overnight.