I have been using egg plant and have two scripts:
Script 1 opens a file in a dialog of our software and by opening the file it populates the filelds with data it contains.
Script 2 goes to every text filed populated by script 1 and type command a and then c in order to copy the text into remote clipboard.
The problem is when I execute script 1 and 2 individually it works fine, but when I include script 2 after script 1 in a common executer script, script 2 fails. In this case, script 2 is unable to click the text field and type command a and c. While on SUT if we observe, the mose moves to the text field, but does not click it.
Second issue is sometime and now its most of the time, while clicking any menu item, it click the main menu(a drop down menu) and opens it and before clicks an item in it, the problem is, it is unable to click the menu item and the menu closes. For example we have File >> Print menu… it click ‘File’, the menu opens, virtually it clicks ‘Print’ and menu closes, but factually the clic did not happen and print dialog box did not open.
Please suggest a solution to these.