Forum Discussion
CGilbert
Contributor
So while my test is running I want it to only allow the text in this field to be Black. I was able to do it once before but I can't remember how.
hkim5
4 years agoStaff
so while recording or after the fact, you would use a property checkpoint at that time, and verify a property that contains the color value of the text within that object.
- CGilbert4 years agoContributor
I was setting wtext trying with all options using 0x000000 and it wasn't working. I'll have to dig through my notes.
- tphillips4 years agoFrequent Contributor
You might have to be careful with text colour, it's likely not hexadecimal in Windows applications. Use the property checkpoint tool to see what colour it says the text is, and check for that.
- CGilbert4 years agoContributor
- True, I know a few months ago I was able to call out for my program to pass if it found the colors Black and white using the 0x000000, 0xFFFFFF from the TC documentation and it would pass them and block all other colors, I have not been able to get back to that for a few months and now that I am I just couldn't figure out what I was doing wrong.
Thank you all for giving me ideas this group is always helpful.
Related Content
- 2 years ago
Recent Discussions
- 14 hours ago