Test automation is an important area that an organisation who develops software should practice in terms of ensuring the quality of the piece of work being released to customer. It ensures that automated regression helps to identify issues occurring when introducing new piece of code.
In this article I will be discussing the steps that should be taken when building a test automation strategy.
- Select the cases for test automation. Every project cannot be automated. Mostly its suitable for long term projects and projects which has large amount of regression test cases. We can also select test which needs large input and which needs less manual intervention.
- Hire an automation test professionals - To do test automation we need people who posses the skills in the scripting language and test automation tool. The team needs to be trained identifying any skill gaps that is there to pick up and run test automation in a project.
- Select the right test automation tool - Selenium is not the answer to all the test automation needs. Some tools defer with the platform which we are going to automate. Web services and mobile platform test automation should be addressed with different tools. Tool depends with client budget, skills in the team, functionality needed in the test suite, support needed from the tool, etc
- Update the test cases - Test suite which are we going to update should be precise. All the outdates test should be removed, new ones should be added, steps needed should be modified when necessary. This makes the life of the test automation professional easy,
- Setting up the test automation environment - The machines needed for test automation to execute, continuous integration application and hardware, Necessary hardware and software for the test environments should be purchased and setup in order for the test automation strategy to execute.
- Creating a test automation framework - A test automation framework is a must for any test automation project. It is a platform which uses best practices and standards. So a test automation framework integrates components such as reusability, reporting, data driven, extendibility and portability.
- Writing the test scripts - Once the framework is done, test scripts should be developed according to the coding standards and test automation scripting standards that should be in place. Test automation scripts should be atomic and there should not be any dependencies among scenarios. Also keep in mind to prioritize scenarios according to the test requirements should be done at this phase.
- Reporting the test automation results - Test results should be captured and shared among stakeholder with ability to visualize easily and find where errors are occurring and why.
- Script maintenance and deployment - The test automation scripts should be easily maintained and modified when changing interfaces and functionality. Deployment guides should be done and review the ROI we gain and finally the scripts should be implemented in CI solutions.
Associate Project Manager at REI Systems
3 年Thanks for posting.