01-18-2013, 04:04 PM
Hi,
You can change the setting and get it done.
Below statement returns color of a link.
Below is the code to get color of link on mouseover.
Let me know if you have any issue.
Regards,
Ankesh
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
msgbox strColor
Below is the code to get color of link on mouseover.
Code:
Setting.WebPackage("ReplayType") = 2
Browser("Browser").Link("Link").FireEvent "onMouseOver"
MsgBox Browser("Browser").Link("Link").Object.currentStyle.color
Setting.WebPackage("ReplayType") = 1
Let me know if you have any issue.
Regards,
Ankesh