Micro Focus QTP (UFT) Forums

Full Version: Recovery scenario
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

How to handle the script at recovery scenario.

For example :Login screen
-------------------------
I have enter the User name but password is not entered. When i have click submit button "Enter the password" message will shown. at the time i have handle the recovery scenario popup window option is used.

My question is, in this situation how to call the library funtion to enter the password (through the library function file) and execute the main screen.
Here you should not go for recovery scenario... instead try coding it with normal if else condition (like checking for the existence for the pop up window)

Recovery Scenarios are generally used when you don't know at which point the error may occur.
Thanks Ankur for your reply