| || |
how to close this warning message.
when running the following code, the warning message"To help protect your security, Internet Explorer has restricted this file from showing active content" will display
code: Browser("Browser").Page("Page").WebButton("downloa d File").Click
If I click the button by hand, the warning message doesn't display.
I use QTP10.0 and IE6.0
Before running code,
1.I had configured: In IE, go to Tools > Internet Options > Advanced tab. Check 'Allow active content to run in files on my computer'. Restart IE;
2. I drop the Security level on the Security tab on Internet Options
So how to close this warning message with QTP's description programme?
Thanks in advance.
Re: how to close this warning message.
If you want to ignore such unwanted messages an continue with the script by just clicking some OK/Cancel button, then you can add recovery scenario for such messages.