cancel
Showing results for 
Search instead for 
Did you mean: 

My thick client being resized when running a TestComplete script

SOLVED
jkrolczy
Frequent Contributor

My thick client being resized when running a TestComplete script

Setup:

Hyper-V Win10 OS

TestComplete 14.71

When I am logged into a Hyper-V session, open up my thick client and run a TestComplete script,

everything runs fine.

 

I have another user, logs into the same Hyper-V (I am not logged at this point), does the same actions but

at the point of the think client opening, it starts with the correct size, but once they execute a TestComplete script,

the think client window size shrinks.

 

For me, I have tried this with 2 users on this Hyper-V and have no issues,

But for the user above, whether it is on this Hyper-V or a different on, the think client window compression happens.

 

I am not aware of any setting in TestComplete to cause this.  We're running the same project code.

 

The issue this causes is I have to use coordinates for one particular script and this change in size affects the script.

 

Just checking in the community of this issue ever being seen and a solution to.

 

I will find another Hyper-V this person has not used before and watch the process again to see if the issue follows the user.  This would eliminate the Hyper-V, and maybe a Group Policy or something else associated to this user is the issue ???

 

 

 

JamesK
1 ACCEPTED SOLUTION

Accepted Solutions
anupamchampati
Frequent Contributor

Re: My thick client being resized when running a TestComplete script

1. Check the display settings after login from both the user, as we do remote connection, generally the size , DPI and resolution is affected due to many factors Internet Speed , HyperV settings.

2. Also try to use TestComplete Window.Position function whenever possible to set the size of the window while performing any hardcoded clicks. Link to use Position function:
https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/window-and-process/po...

View solution in original post

8 REPLIES 8
sonya_m
Community Manager

Re: My thick client being resized when running a TestComplete script

Thanks for your question!

 

@anupamchampati @BenoitB @Wamboo @tphillips any thoughts?🙂


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
sonya_m
Community Manager

Re: My thick client being resized when running a TestComplete script

@jkrolczy looks like no community members with a similar experience so far! Would you mind raising a ticket with support about this?


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
anupamchampati
Frequent Contributor

Re: My thick client being resized when running a TestComplete script

1. Check the display settings after login from both the user, as we do remote connection, generally the size , DPI and resolution is affected due to many factors Internet Speed , HyperV settings.

2. Also try to use TestComplete Window.Position function whenever possible to set the size of the window while performing any hardcoded clicks. Link to use Position function:
https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/window-and-process/po...

View solution in original post

jkrolczy
Frequent Contributor

Re: My thick client being resized when running a TestComplete script

Just to clarify here, this happens specifically for a user and not all users.

 

Window position occurs after the fwk and scripts start running.

RDP settings are the same here for all users.

 

This all happens right when you hit the run icon for a script, - the think client window resizes before any code is executed.

 

So even though the Accepted solution here is not one I chose and are valid areas to check, it does not fix my issue.  I am still chasing this issue for this one specific user's experience.

JamesK
anupamchampati
Frequent Contributor

Re: My thick client being resized when running a TestComplete script

If it is only specific to single user than I think it is to be done from
rdp settings, are all user connected from same network?

Are all users using the same hardware configuration?
jkrolczy
Frequent Contributor

Re: My thick client being resized when running a TestComplete script

When the user connects thru RDP connection, the Hyper-V Win10 session 

is the same config for any user.

When the user starts up the thick client, the app window opens up correctly 

in window size.

 

When the user, in TestComplete, runs a scripts, instantly the the think client app window

down sizes slightly.  This is the area of the issue.

 

It does not happen with my user at this point.

 

 

JamesK
anupamchampati
Frequent Contributor

Re: My thick client being resized when running a TestComplete script

Than it would better to log an support case , it will be easy to debug and
find the root cause.

Do let us know as well once it is fixed
jkrolczy
Frequent Contributor

Re: My thick client being resized when running a TestComplete script

I might explore this page url with the user having an issue just to try the setup.

It;s something to at least try.

 

https://support.smartbear.com/testcomplete/docs/testing-with/running/via-rdp/smart-resizing.html 

 

 

JamesK
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors