Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add new recovery scenario to existing tests
#2
Not Solved
Hi Autobot ,
I think you are asking AUT error handling. . If you want to handle errors in as given AUT then you can write some function call this function for each step .
=================example =====
Code:
function(object)
If object.Exist Then
   function = "pass"
Else
  Reporter.ReportEvent micFail,object  &" Not Found"
    function = "fail"
End if

But Exception handing cant be generic it should handle specific scenarios in specfic screen.

Let me know whether my answer cleared your doubts.

Thanks
Bharadwaj
Reply


Messages In This Thread
RE: Add new recovery scenario to existing tests - by QTP.learning - 08-14-2015, 09:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to trigger a function/recovery scenario on clicking stop button anand01_05 0 1,104 01-03-2019, 02:54 PM
Last Post: anand01_05
  QC Test not found error or not executing remote tests zaira_p 5 9,461 08-04-2015, 10:22 PM
Last Post: mitsuy
  Error launching QTP tests from Quality Center SteveS 0 2,957 09-18-2013, 06:59 PM
Last Post: SteveS
  How to append values to the existing datatable in qtp during runtime Prashanth 1 10,427 05-01-2013, 08:30 AM
Last Post: ravi.gajul
  QC/QTP Error Msg --> some tests are still running. You must stop them all before exit LauraShadle 0 2,653 02-21-2013, 08:30 PM
Last Post: LauraShadle

Forum Jump:


Users browsing this thread: 1 Guest(s)