Forum Discussion
ArtemS
13 years agoSmartBear Alumni (Retired)
Hello,
The HighlightObject method is a member of the Sys object and it accepts the onscreen object to be highlighted as a parameter. Therefore, the correct code should be as follows:
The HighlightObject method is a member of the Sys object and it accepts the onscreen object to be highlighted as a parameter. Therefore, the correct code should be as follows:
Sub Find
Dim firefox, Result
Set firefox = Aliases.firefox.Page("http://www.google.ro/").Panel("searchform").Form("tsf").Panel(0).Panel(1).SubmitButton("btnK")
Set Result = Runner.CallObjectMethodAsync(Sys, "HighlightObject", firefox)
Log.Picture(firefox)
While Not Result.Completed
aqUtils.Delay 300
WEnd
End Sub
Related Content
- 5 years agojonathon
- 9 years agotwhitehouse
Recent Discussions
- 2 days agoMW_Didata