Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check Object Spacing
#1
Not Solved
I am still relatively new to UFT/VBScript and was wondering if there was a way to verify spacing between two objects in a web application.

Currently I am getting coordinate values of the target objects, taking the difference of their values, and comparing the differences to an expected value. I know this is inefficient and requires my script to always be run on a device set at a specific screen resolution. I would like my script to have as few assumptions/dependencies as possible and need a solution around this.

Does anyone know a way to check object spacing that is not dependent on resolution?

If this is not possible, is there a way to make my script compensate for coordinate values at different resolutions using my current method?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How can I check Roproperty of a specific object type from a form? TestNG 0 2,464 06-08-2011, 08:07 AM
Last Post: TestNG
  Check an object existing on a Browser linhke 8 6,191 03-03-2011, 12:49 PM
Last Post: rajeshwar
  How to check object existing or not? linhke 9 7,408 01-14-2011, 11:40 AM
Last Post: cdesserich

Forum Jump:


Users browsing this thread: 2 Guest(s)