Micro Focus QTP (UFT) Forums
Recovery Scenario for Session Expired - 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 for Session Expired (/Thread-Recovery-Scenario-for-Session-Expired)



Recovery Scenario for Session Expired - jegansurya - 07-13-2011

How to add Recovery Scenario in QTP for Session Expired by entering password & click on Login button?

Please refer the attachement.


RE: Recovery Scenario for Session Expired - rajpes - 07-15-2011

Try using object state in recovery scenario for the objetc(like webelement or page which contains property "session expired")


RE: Recovery Scenario for Session Expired - jegansurya - 07-15-2011

It is not also working.

My Problem is:
The Session Expired dialog box will every 10 mins if we not interact with application.
That we need to enter the password and click on Login button. That's all.

What to i do for this?



RE: Recovery Scenario for Session Expired - PrabhatN - 07-18-2011

Hi Jegansurya,

If any dialog box pops-up then it's much easier to have a RS. Select "Pop-up window" as the trigger event and rest i hope you can deal with.

BTW, during automation, what you are doing for 10 minutes not interacting with the application so that a RS is needed for session expiry?


RE: Recovery Scenario for Session Expired - rajpes - 07-18-2011

You might not have configured recovery scenario properly, it must work for simple pop up dialog boxes.
Check if you have associated the recovery file and enabled it for every step in file settings