Automation is an important aspect of software testing. Testers use various tools to automate their testing activities. The choice of instrument depends on the type of application under test. There are various tools available on the market, such as Rational Robot, Mercury Quick Test Pro, Test Complete and many more.
Makes automation to make life easy, but the automation of the testers in itself is a difficult task. There are many problems they face, while the automation of an application and a tester has to find a get around that problem.
In this section we give some tips Geek Test for automation. These tips are mainly drawn from personal experiences and are very useful in cases where a tester is stuck in a similar situation.
Waiting for long to complete processing
A common problem they face, while automation of the financial applications or application that requires too much processing time is expected to appear some windows or buttons to become active after the processing operations very long. This time can vary from 5 min. 30 min. Sometimes the automation tool does not respond after a long interval. One such problem was encountered while automating an insurance company based on the application. The processing time was over 15 minutes and the tool used for automating the answer after 15 minutes. The result was that the evidence cannot be completely automated. To address this issue had many options:
1. Wait Property: allows pausing script execution until the property specified object is equal to the specified value or until the specified timeout is not more than
2. Wait Child: This delays the execution of the functions of the script for the specified period or until the specified object.
3. BUT these tricks do not work for the longer processing time as 30 minutes. This was the work on monitoring the CPU usage. Since this function 'Process. CPU Usage' will constantly monitor the CPU and will pause script execution until the CPU has been reduced to zero or below. This trick is very effective. Even after 40 minutes of processing time, I continue my script execution as intended. Wait for the circuit to the CPU usage becomes 0.















0 comments:
Post a Comment