Micro Focus QTP (UFT) Forums
Recovery scenario for Certificate Error: Continue to this website - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Recovery scenario for Certificate Error: Continue to this website (/Thread-Recovery-scenario-for-Certificate-Error-Continue-to-this-website)



Recovery scenario for Certificate Error: Continue to this website - SaiJyothsana - 06-15-2011

Hi All,

I created a recovery scenario for handling the Certificate error : Continue to this website while logging into the application

I have given the below recovery operations
Trigger Event:
Object state
Recovery Operations:
Keyboard or mouse operation
Post-Recovery Test Run Options:
Proceed to next step

The code gets executed in the recovery scenario but not clicked on the continue to the website link.

The recoded code in recovery scenario wizard and in QTP test window is shown in screen shot. There is a difference in the browser. Will that be a reason. But when i change the browser name qtp throws error.

Kindly refer attached screen shot.

Your suggestions are welcome.

Regards,
Jyothsana



RE: Recovery scenario for Certificate Error: Continue to this website - guin.anirban - 06-15-2011

Instead of selecting 'Proceed to next step" you select " Repeat current step and continue" and see whether it's work or not.
Please get back.


RE: Recovery scenario for Certificate Error: Continue to this website - tarun - 06-16-2011

You can handle this situation by checking for the existence of the object and if it exists then clicking the link otherwise proceed with next step..


RE: Recovery Scenario for Continue to website error. - rajpes - 07-05-2011

line no.3
You sholdn't write this code as this is handled by the recovery scenario itself.
So It will throw error as it cant find the objects referred in it.
Just remove this line of code