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 during  automation testing.

When I have started the automation testing i have faced below issue.

I have listed down all the issues we Automation testers faced.

When I used to create automation script

  • 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.

 
Related Tags

About Author

Author Image
Ruhi Chauhan

Ruhi is a QA Engineer with expertise in manual testing and she loves Travelling and Dancing.

Request for Proposal

Name is required

Comment is required

Sending message..