| || |
Ive just started using Test Partner today and am havinbg problems with it recognising pop-ups. The script runs fine til this point, and then fails as soon as the pop-up is launched.
I noticed that the line the script is failing is HTMLEditBox("Name=Adult").Click 49, 9
and every time I re-record this part of the script the 2 numbers at the end "49" and "9" change.
How do I "variablize" these - I think this is why the script is failing.
Re: popup problem
Just delete them. These numbers represent where you clicked inside the Editbox. If it doesn't matter you don't need them, and if you next statement is .SetText you don't even need the line at all. SetText will replace what ever text is in that EditBox.
If you change the setting Control Position to NO in your record options, these will not be learned.
Hope this helps,