cancel
Showing results for 
Search instead for 
Did you mean: 

screen resolution

SOLVED
Contributor

screen resolution

I create and run my keyword and script in my laptop connect to the monitor. It runs fine. But when I present in the meeting room with bigger screen or run on my laptop (not connecting to the monitor), the keyword test and script is unable to perform properly in different resolution. I have the web page that are developed on frame, which the only way I can create the test is to use the coordination. How can I resolve this screen resolution issue? 

1 ACCEPTED SOLUTION

Accepted Solutions
Contributor

Re: screen resolution

My "current project properties" is set as tree model. I try DOM, Hybrid, TAG, then run the test, the lowest level in the object browser is still show as vframe. We are using Chrome for our application.

 

I have also set "enable support for web components" in   "current project properties". I don't see any tree after vframe as show in the document.

 

If we can get this frame method works, I believe this should fix the screen resolution.

 

View solution in original post

3 REPLIES 3
Highlighted
Community Hero

Re: screen resolution

It's generally recommended that you don't use screen coordinates for this very reason.

 

See if this helps you get to your objects:

https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/web-objects/frame-met...

Community Hero

Re: screen resolution

Something in your automation is screen resolution dependant.

If it's a web application, part of it might be that components are scrolled off the bottom of the screen or something.  In that case, you can call a "scrollIntoView" call for those components to make sure they are on screen when you need them.


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: screen resolution

My "current project properties" is set as tree model. I try DOM, Hybrid, TAG, then run the test, the lowest level in the object browser is still show as vframe. We are using Chrome for our application.

 

I have also set "enable support for web components" in   "current project properties". I don't see any tree after vframe as show in the document.

 

If we can get this frame method works, I believe this should fix the screen resolution.

 

View solution in original post

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