Recovery Scenario

6 views
Skip to first unread message

BABA

unread,
Apr 23, 2012, 5:37:30 AM4/23/12
to QTP - HP Quick Test Professional - Automated Software Testing
Hi All,

In our automation project we have some situation where there is a
system crash due a defect and the application under test automatically
closes. This occurrence is abnormal and not fixed.
Due to this my further tc fail. Is there a way where i can start the
application if not found and then run my further tc?

:Baba

Anish Pillai

unread,
Apr 24, 2012, 11:26:35 AM4/24/12
to mercu...@googlegroups.com
Hi Baba,

If you know exactly the point where the application crashes, then you can re-open it there. But if the application can crash at any point in time, it would be difficult to handle this scenario.


suman ch

unread,
Apr 25, 2012, 1:30:27 AM4/25/12
to mercu...@googlegroups.com
Hi Baba,

Simply write a function to check whether application is opened or not, if not open the application. Call this function at the beginning of the each test case so that if the app crashed it will open the app.

Regards,
Suman CH

--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to Mercu...@googlegroups.com
To unsubscribe from this group, send email to
MercuryQTP+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply all
Reply to author
Forward
0 new messages