Sunday, 17 July 2011

What is the syntax to move to next step in QTP while Error occurred in run time? Or How have to move next step in QTP while Error occurred in Runtime?

Syntax is :-

On Error Resume Next

Example:-

Function browsehome(n_url)

On Error Resume Next ‘have to declare Every function
   SystemUtil.Run "iexplore.exe",n_url
   browsehome="Pass"

End Function

No comments:

Post a Comment