08-14-2015, 09:51 PM
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 =====
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
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