Micro Focus QTP (UFT) Forums
Recovery scenario - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Recovery scenario (/Thread-Recovery-scenario--306)



Recovery scenario - rajaselvan.d - 03-12-2008

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.


RE: Recovery scenario - Ankur - 03-12-2008

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.


RE: Recovery scenario - rajaselvan.d - 04-10-2012

Thanks Ankur for your reply