How to set the ‘Replay Type’ in QTP?
The first line in the below code will give the control to Mouse and the last line will give the control back to QTP for better Mouse operations.
E.g.,
Setting.WebPackage("ReplayType") = 2
Browser(“Browsername”).Page(“Title”).Webedit(“Search”).FirEvent “onmouseover”
Setting.WebPackage("ReplayType") = 1
E.g.,
Setting.WebPackage("ReplayType") = 2
Browser(“Browsername”).Page(“Title”).Webedit(“Search”).FirEvent “onmouseover”
Setting.WebPackage("ReplayType") = 1
Comments
Post a Comment