How To Capture Colour Of A Link - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: General (https://www.learnqtp.com/forums/Forum-General) +--- Forum: Posting Guidelines/Disclaimer (https://www.learnqtp.com/forums/Forum-Posting-Guidelines-Disclaimer) +--- Thread: How To Capture Colour Of A Link (/Thread-How-To-Capture-Colour-Of-A-Link) |
How To Capture Colour Of A Link - AnkammaRao - 01-17-2013 Hi All Please help me How to capture the colour of a link Before MouseOver and After MouseOver RE: How To Capture Colour Of A Link - Ankesh - 01-18-2013 Hi, You can change the setting and get it done. Below statement returns color of a link. Code: strColor=Browser("Browser").Link("Link").Object.currentStyle.color Below is the code to get color of link on mouseover. Code: Setting.WebPackage("ReplayType") = 2 Let me know if you have any issue. Regards, Ankesh RE: How To Capture Colour Of A Link - AnkammaRao - 01-22-2013 (01-18-2013, 04:04 PM)Ankesh Wrote: Hi, Thanks Ankesh.It Is Working Fine. Regards: AnkammaRao |