I have implemented an automation test script for the desktop application. But on the specific step, the automation test execution fails to perform the action. Like in the script I am performing an action to write to a text file from my application.
Re: Automation fails to perform an action sometimes
Intermittent problems in executing an action are usually related to what is sometimes called a "timing" issue. Automation runs FASTER than human interaction and, unless told to, does not take into account any queues from the application as to whether or not the control intended to be acted upon is available.
Why automate? I do automated testing because there's only so much a human being can do and remain healthy. Sleep is a requirement. So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group. I love good food, good books, good friends, and good fun.