What can we learn from Automation Testing failures?

In the world of software testing, tests sometimes fail. That’s a fact of life.

1. How to analyse automated software testing failures?

2. How can we avoid flaky tests?

How to analyse automated software testing failures?

How can we avoid flaky tests?

1. Avoid UI testing whenever possible

2. Focus on more automation testing scenario instead of test cases

3. Stop testing multiple things in one script

4. Prerequisite should never be done using driver approach

5. Stop designing test script that are dependent on each other

6. Testing “scripts” thoroughly before committing

7. Excessive use of xpath as locator

8. Control the controllable

9. Designing good test automation framework

To be able to create automated tests quickly by using appropriate abstraction layers

The framework should have meaningful logging and reporting structure

Should be easily maintainable and extendable

An error handling and retry mechanism to rerun failed tests

Conclusion

--

--

A leading mobile app development company specialising on iPhone, Android, Cloud solutions, User Experience and UI Design.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
CodeCraft

A leading mobile app development company specialising on iPhone, Android, Cloud solutions, User Experience and UI Design.