I am running TestPartner 6.0.0
I have a window that can popup in my application stating that a user is already signed on.
I wrote a whenever statement for if this window exists, click the ok button to bypass it.
This statement will work fine if I run it by itself. If I put it into a visual test at the beginning, it is not executing to bypass the window popup.
I have tried stacking delays at the end of the script and adding it to the beginning of the next visual test but neither seems to work.
Any help would be greatly appreciated.
"I think when you spread the wealth around, it's good for everybody." -- Toledo, Ohio, Oct. 12, 2008
I appear to have resolved this issue by changing it from a text return attached to the OK button to a click attached to it.
No idea why one functions and not the other but at least I found a workaround.
If anyone has information as to why one works over the other, it would be helpful for building future events.
I think behind the scenes in Windows, a return is interpreted as a click. But apparently, TP is executing a real return (ascii 13?) instead of a click.