Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to get background color of a WinButton
#1
Not Solved
Hi, I'm testing a windows application and it has a WinButton object whose background color constantly changes. I'd like to capture it's background color, but tried different things and have not found any answer. Object.bgcolor seems only works on WebElement, but not on Windows element.

Would be appreciate if someone can post a solution for WinButton.

Thanks.
Reply
#2
Not Solved
Code:
strColor = objPmntTbl.currentStyle.color
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems with Text color recognition Treirk 0 1,102 06-17-2019, 12:19 PM
Last Post: Treirk
  Getting background color of an object on mouse over Surya 2 3,888 06-27-2018, 08:51 PM
Last Post: vensas3181
  How can we get the Windows application Text box background color Using UFT 11.53 Kuppampattu 3 6,021 06-06-2017, 11:12 AM
Last Post: workrohit08
  SwfTreeview - Color validation for child item YogeshCallappa 0 2,290 11-10-2016, 04:55 PM
Last Post: YogeshCallappa
  Winbutton slow in clicking kpat 0 1,802 05-23-2016, 12:09 PM
Last Post: kpat

Forum Jump:


Users browsing this thread: 1 Guest(s)