narcisse
narcisse

Reputation: 451

Getting (x,y) positions of an object from its text

How to get the positions x,y of an element from its text using UFT? I tried using getTOProperty(x) but it doesn't work for me

Upvotes: 0

Views: 967

Answers (1)

Corey Snow
Corey Snow

Reputation: 255

GetRoProperty - is a built method used to retrieve the runtime value of an object property.
So if you have a variabled named X, you can do X = whateverobject.getROProperty("x"). Same for y.

Upvotes: 1

Related Questions