Re: what is abs_x and abs_y

1,690 views
Skip to first unread message

sachin mahajan

unread,
Nov 13, 2012, 3:19:59 AM11/13/12
to mercu...@googlegroups.com
they are the absolutes values of X and Y coordinates w.r.t Browser page.

Please correct me if  I am wrong.

On Tue, Nov 13, 2012 at 10:35 AM, GOPI <gopi.b...@gmail.com> wrote:
One Interviewer asked below question

what is abs_x and abs_y

According to me, In the Object spy,  abs_x and abs_y are properties.

Could you please clarify me anyone or Provide exact answer?

--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to Mercu...@googlegroups.com
To unsubscribe from this group, send email to
MercuryQTP+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Shalini Sreeram

unread,
Nov 13, 2012, 4:27:22 AM11/13/12
to mercu...@googlegroups.com
the x and y co-ordiantes of the particluar object that you spy on the AUT are abs_x and abs_y
usually these values are dynamic and these are usually not considered for identifying the object,

piyush jain

unread,
Nov 13, 2012, 2:38:32 PM11/13/12
to mercu...@googlegroups.com

these are the absolute values for  x and y co ordinates of any object     and   for this absolutex,absolute y  position  we can perform many operation like mouse cursor  movement  at that position etc

Anish Pillai

unread,
Nov 15, 2012, 5:10:47 AM11/15/12
to mercu...@googlegroups.com
Abs X and Abs Y are the coordinates of the object with respect to the Desktop Screen with the top left corner of the desktop considered as 0, 0.

Whereas, normal X and Y are the coordinates of the object with respect to its parent object.

As an example, open calculator application and spy on any of its button. Note the abs_x, abs_y, x and y coordinate values. Now move the calculator to some other position in the desktop. Again spy the same button. You will note that the abs_x, abs_y values have changed (because the position of the button changed wrt the desktop, but the x and y coordinates remain unchanged because the button is still at the same position wrt its parent object).


Regards,
Anish Pillai
My QTP Blog

NIKHIL PAWAR

unread,
Apr 21, 2015, 8:11:30 AM4/21/15
to mercu...@googlegroups.com
Can we use it in descriptive programming? 

Sedhupathi Gnanasundaram

unread,
Apr 21, 2015, 10:11:02 AM4/21/15
to mercu...@googlegroups.com
Absolute X, Absolute Y 

--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to Mercu...@googlegroups.com
To unsubscribe from this group, send email to
MercuryQTP+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

---
You received this message because you are subscribed to the Google Groups "QTP - HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mercuryqtp+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Venkat Reddy Bandaru

unread,
Apr 21, 2015, 10:38:57 AM4/21/15
to mercu...@googlegroups.com

abs_x and abs_x are the Co ordinates of that particular object from x-axis and  y-axis with respect to that window.

Ramesh geddam

unread,
Apr 21, 2015, 10:39:03 AM4/21/15
to mercu...@googlegroups.com
Based on the X and Y coordinates QTP will  try to recognize the objects. for that purpose we can provide Abs X and Abs Y values with in the script.

With Regards,
Ramesh Geddam,


On Tue, Apr 21, 2015 at 3:16 PM, NIKHIL PAWAR <nikhil....@gmail.com> wrote:
--

vengatesh G

unread,
Apr 21, 2015, 1:46:15 PM4/21/15
to mercu...@googlegroups.com
You can use it in descriptive programming.

abs_X and abs_Y   -> take the co-ordinates wrt to desktop
x an y   -> take the co-ordinates wrt to application only.

you can take an example of calculator application.

Thanks,
Vengatesh

On Tue, Apr 21, 2015 at 3:16 PM, NIKHIL PAWAR <nikhil....@gmail.com> wrote:
--

Akhalesh Yadav

unread,
Apr 22, 2015, 5:43:35 AM4/22/15
to mercu...@googlegroups.com

We can use abs x and abs y to recognize object of desktop application which has same properties with any other object.

Thanks
Akhalesh

--
Reply all
Reply to author
Forward
0 new messages