+1 vote
Hi there

I recorded a magnifier control , when you click it, it will show a pop-up window.

But during the playback, it didn`t click it but execute the javascript instead, saying that the link control cannot be brought into view, navigating to the url javascript.

what is "cannot brought into view" and how to deal with it??


asked Jul 20, 2016 in QA Wizard Pro by Luke

1 Answer

0 votes
The only workaround I have found for this issue is to query the control for "Document Relative Left Position" and "Document Relative Top Position" properties at run time and use those properties to coordinate click on the object.


x = iObject.Property("Document Relative Left Position")
y = iObject.Property("Document Relative Top Position")
iWindow.MMouseClick(x+1,y+1, 60000)
answered Aug 6, 2016 by Jason
248 questions
262 answers
2,047 users