HTMLBrowser Caption check on Secure site
I'm having trouble running a script against a secure website. The same script can be used on a non-secure site and works fine.
I've tried executing a recorded script as well as a programmed one, the programmed one works on none-secure sites.
Does TestPartner support secure sites?
The main Landing page loads fine, but from this landing page I want to check the page has been returned okay. The script falls over at this point saying failed to find attached name: "caption = '*Launch*'"
The part of the script it falls over on is below:
If Not HTMLBrowser("caption = '*Launch*'").Exists Then
TestLog.Comment ("Test1(): Launch screen not displayed, script terminated")
Launch = False
Launch = True
Re: HTMLBrowser Caption check on Secure site
Try changing your first line to this...
If Not HTMLBrowser("caption = '*Launch*'",tpattachnowait).Exists Then