Reading the position (x,y) of a text in WebElement - 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: Reading the position (x,y) of a text in WebElement (/Thread-Reading-the-position-x-y-of-a-text-in-WebElement) |
Reading the position (x,y) of a text in WebElement - writetoprabha - 05-26-2011 Hi, I need to get the position of some text displayed in a webelement. Please help me with how to get the position - X & Y of the text in web element. Thanks in Advance. With Regards, Prabhakaran RE: Reading the position (x,y) of a text in WebElement - souvikghosh_diatm - 05-30-2011 well u can try the following---- Code: Set obj = CreateObject ("Mercury.DeviceReplay") Mention the property of text in WebElement on above line....n let me know whether its working or not... RE: Reading the position (x,y) of a text in WebElement - Sathiya - 05-30-2011 hi you want the abs_x,abs_y means you can get through object spy itself.... or else use GetROProperty |