Pain Of An Automation Engineer
Posted By : Ruhi Chauhan | 25-Sep-2018
If you are working on the automation testing or planning to work on any of the automation tools then you can relate to this post.
Here I will discuss the issues faced by the Automation tester
When I have started the automation testing
I have listed down all the issues we Automation testers faced.
When I used to create
- My script sometimes works fine sometimes it didn't work.
- Sometimes script run on local fine but fails when we run on another machine
- Sometimes work fine on one browser but fails on another browser
- Scripts work fine for current release, but it fails for a new release
- Due to the changes in the framework
Best Practice to overcome this pain
1) Start writing your own XPath instead of the copying the XPath and use
We all used to copy the readymade Xpath which we get from the Firebug and Firepath, but this is not stable so try to write your own Xpath
2) Start using a design framework
You can start writing your automation script directly without using any Framework, but this will not help you in the long run.
Because in future your size of code will increase which created the complexity in the code.
And let’s suppose you want to make some changes in the code then you need to make the changes in all the scripts, which leads to the error and it is a time-consuming process.
You can start using any framework, it should have below the characteristic
- It should be Easy to use
- It Should be Reusable
- It should be Easy to Maintain
- It should be Robust in Nature
3) Run your Script as many time you can run
4) Use wait in your script properly
Try this above practice and you will not face the above-mentioned issues in the Future.
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Ruhi Chauhan
Ruhi is a QA Engineer with expertise in manual testing and she loves Travelling and Dancing.