Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting background color of an object on mouse over
#3
Solved: 10 Years, 9 Months, 1 Week ago
(04-02-2012, 10:46 AM)sshukla12 Wrote: Hi,

U can use DOm i.e. .object property.
below written lines might help u:
.currentStyle.backgroundColor

Regards,
Sankalp

Hi There,

using currentStyle.backgroundcolor it's returning value as "#c60c30" not actual name of color. Is there a way we can get actual name of the color like vnRed, vbGreen and so On.
Reply


Messages In This Thread
RE: Getting background color of an object on mouse over - by vensas3181 - 06-27-2018, 08:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems with Text color recognition Treirk 0 982 06-17-2019, 12:19 PM
Last Post: Treirk
  How can we get the Windows application Text box background color Using UFT 11.53 Kuppampattu 3 5,674 06-06-2017, 11:12 AM
Last Post: workrohit08
  How to get the links which appears on mouse hover of parent link rajendra649 9 34,852 03-10-2017, 06:35 PM
Last Post: satish00k
  SwfTreeview - Color validation for child item YogeshCallappa 0 2,071 11-10-2016, 04:55 PM
Last Post: YogeshCallappa
  how to get background color of a WinButton javierchen 1 2,900 03-17-2015, 10:59 PM
Last Post: babu123

Forum Jump:


Users browsing this thread: 1 Guest(s)