Forum Discussion
Hi,
I did not use Jenkins a lot but I think that resolution of the slave machine is Jenkin's configurational matter. (Though you should be able to change it during test execution by calling some API function using Win32 object provided by TestComplete.)
What I would recommend is to call the <object>.ScrollIntoView method before clicking or typing into the tested object.
E.g.:
oButton.ScrollIntoView(false);
oButton.Click
ScrollIntoView is a method provided by DOM, not by TestComplete. It is supported by all browsers and you should be able to find its description in whether MSDN, or Firefox, or Chrome.
Hi Alex,
Thanks for the suggestion, we already use the ScrollIntoView() method to scroll upside/down on the local machines where we have the screen at full size.
Due to the small resize of the screen on the slave machine the problem persists because a scroll from right to left and viceversa is also needed for objects to became visible.
- joseph_michaud9 years agoModerator
In the Advanced section of the Jenkins "TestComplete Test" build step, what is your selection for "Run interactive user session" and the User and "Use active session" values in that section?
What size screen do you get when you log in to the slave manually as that specified user?
- Colin_McCrae9 years agoCommunity Hero
I don't know Jenkins, but I tend to agree with Alex in that the screen resolution of the slave (assuming it's virtual?) machine should be something you can configure.
When running on a VM with TestExecute I make sure the VM is configured with a 1920x1080 display to match the development environment ....
- tonydugay9 years agoContributor
I have a problem (maybe it is the same) that if I send the RDP session to the console using tscon (so I can close my RDP session without breaking the tests) the screen resolution is much reduced and breaks some tests. I have seen various possible workarounds for this but I have never got round to getting them to work. One solution is to use VNC and you can then make a one off change to the console screen resolution setting. Another is to use an application called Qres.
Any 'easy' solutions would be great to hear about.
Cheers,
Tony
Related Content
- 6 years agokaivi
- 5 years agolingling_chiang
- 13 years agotbom
- 5 years agogdave