Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
abs_y value
#1
Not Solved
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


Attached Files Image(s)
   
Reply
#2
Not Solved
send the script so i can work on the solution
Reply
#3
Not Solved
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?
Thanks,
SUpputuri
Reply
#4
Not Solved
Because there are other objects have the same acx_name value.
Reply
#5
Not Solved
what about progid- is it unique?
Thanks,
SUpputuri
Reply
#6
Not Solved
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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)