Micro Focus QTP (UFT) Forums
abs_y value - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: abs_y value (/Thread-abs-y-value)



abs_y value - shipu - 01-02-2014

Hello,

I am writing descriptive programming. Qtp can recognize an object using the abs_y value in my machine. Then I accessed my machine remotely to run the script but it failed. Then I noticed that abs_y value is diffrent. Do you know why?

Any recommendation how i can do the descriptive programming for the attached scenario.

Thanks.

-S


RE: abs_y value - vinod123 - 01-04-2014

send the script so i can work on the solution


RE: abs_y value - supputuri - 01-06-2014

When you have acx_name property why can't you use the same rather abs_y. Is there any specific reason why you are using abs_y?


RE: abs_y value - shipu - 01-08-2014

Because there are other objects have the same acx_name value.


RE: abs_y value - supputuri - 01-08-2014

what about progid- is it unique?


RE: abs_y value - Maheep_bhambri - 01-13-2014

Generally Abs_X and abs_y are postional value with respect to Desktop. while normal x,y are w.r.t Object.
These are not reliable for idtenfying a object on application . These are used when in case of mouse movement. Like analog recording too use position w.r.t desktop.

When you try to use script on other machine. It generally fails due to change in position w.r.t to desktop resolution.
or
One need to do re-check to confirm values of abs_x and abs_y.

please check other properties like progid