- January 18, 2017
- Posted by: admin
- Category: Featured, Other Technologies, Testing
With automation becoming quite popular within the QA community and more and more people resorting to efficient automation tools to increase their testing coverage, it is only natural to work more on the quality of automation and make sure that the tests fail less often.
We’d discuss here the key techniques to be taken note of if you find your tests failing quite often reducing the efficiency of your testing efforts.
Check before you actually run the tests: It is not always wrongly coded test cases but sometimes the environment they are running in. Hence creating a set of preliminary tests which can be run on the platform/environment before the real tests is the best way out. This will ensure that the environment is fine and the integration tests will run perfectly in this environment.
Retry the test: If a test fails once or twice make sure you run it once again to be very sure before you set out to debug the cause of its failure.
Isolation testing: Sometimes a whole set of tests fail because of individual components and it becomes tough to identify the faulty sections. In such a case smaller tests which can check the faulty section in isolation, can be run before running the entire gamut of tests.
This is not the exhaustive list of solutions to diagnose failure of automation testing but still can help you figure out what is wrong with your automation tests.