Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to check color of a text box
#5
Solved: 12 Years, 10 Months, 3 Weeks ago
Hi Pallavi,

As per my experience, you can use "File name" property of the image control. In case text box recongnized as image , you will find file name property associated with it. Use "file name" property and verify its value in runtime. You can't verify the color of image by red or blue or yellow. You will have file name property which has "green.gif" (example) as value.

Above all , it depends how it was designed. As Ankur requested , please attach screenshot. I will see let know further ...

Thanks,
Kiran
Reply


Messages In This Thread
How to check color of a text box - by Pallavi - 09-27-2008, 02:18 PM
RE: How to check color of a text box - by Ankur - 09-27-2008, 07:43 PM
RE: How to check color of a text box - by Pallavi - 09-29-2008, 09:57 AM
RE: How to check color of a text box - by Ankur - 09-29-2008, 10:02 AM
RE: How to check color of a text box - by kiran_sweng - 10-02-2008, 11:59 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problems with Text color recognition Treirk 0 1,427 06-17-2019, 12:19 PM
Last Post: Treirk
  Getting background color of an object on mouse over Surya 2 4,461 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,805 06-06-2017, 11:12 AM
Last Post: workrohit08
  SwfTreeview - Color validation for child item YogeshCallappa 0 2,639 11-10-2016, 04:55 PM
Last Post: YogeshCallappa
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 5,780 09-13-2015, 12:06 AM
Last Post: ADITI1992

Forum Jump:


Users browsing this thread: 15 Guest(s)