cancel
Showing results for 
Search instead for 
Did you mean: 

Out of the windows occurs on different machine.

SOLVED
Highlighted
Contributor

Out of the windows occurs on different machine.

Hi,

 

My below codes work like a charm for many months on both systems that have the same version: 12.30.1651.7. However, right now, I get the error message saying: "There was an attemp to perform an action at point (46, 12) which is transparent or out of the window bounds" on one system which has updated version: 12.60.5545.7. The other with 12.30.1651.7 has no problem.

 

#Click on port button

control = Aliases.im.frmSplash

control2 = control.CmdHostPort

control2.ClickButton()

 

Please help! Thanks.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Contributor

Re: Out of the windows occurs on different machine.

After finishing my project with version 12.30, I have time to try installing version 12.60 again and it works like a charm.

 

The key for it to work is I must do the clean install with 12.60.

3 REPLIES 3
Community Hero

Re: Out of the windows occurs on different machine.

If it's on adifferent machine, the problem probably has to do with screen resolution.  If the component isn't visible on screen, you'll get that error.  Make sure that the screen resolution is sufficient enough to be able to have all components available as much as possible.  You may end up having to put some sort of "Focus" call on the component or scroll down functionality to scroll the object into view.  Most likely, the problem is not due to the new version of TC but to the change in environment.  UI based functional testing is VERY dependant upon environment.  So, if the component is visible on screen on one machine but is not on another, your automation code needs to accommodate that by adding necessary checks and controls to bring the component to focus.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Contributor

Re: Out of the windows occurs on different machine.

Robert,

I went back to the previous version 12.30 and it works as expected. The updated version 12.60 did not work for me.

 

Thanks.

Contributor

Re: Out of the windows occurs on different machine.

After finishing my project with version 12.30, I have time to try installing version 12.60 again and it works like a charm.

 

The key for it to work is I must do the clean install with 12.60.

Ask a SmartBear
Top Kudoed Authors