colour of a link - 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: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: colour of a link (/Thread-colour-of-a-link) |
colour of a link - aparna_baishya - 03-26-2008 I need to retrieve the colour of a link in my application..when i move the mouse over the link the text turns red..how can i record and capture the colour of the link..i tried onmouseover event but i was not successful..can anyone help plz?? RE: colour of a link - kamalteja - 03-26-2008 You can view the source of the webpage in which you can get the html tag for the color onmouseover which can be captured using GetROProperty syntax: Code: Browser(" ").Page(" ").Link(" ").GetROProperty("attribute/<html tag>") RE: colour of a link - aparna_baishya - 03-26-2008 hi I tried the same thing but was not able to retrieve the colour of the link..first of all let me know how should i record for the instance that is positioning the cursor over the link such that the text turns red..then i have to retrieve the colour of the same link.. anyways thanks |