Property Checkpoint Text Color using Keyword Test.
So I have done this in the past but I lost my notes and I'm not able to remember how I did it. In our software, we have color codes for our version depending on if the software has been pirated, Release Client, or Beta versions. I'm trying to set my test up to only pass Black text in a certain field within the property checkpoint, which I was able to before but I'm lost in how I got that result. If anyone can point me in the right direction that would be awesome.
Could you elaborate just a bit further on what you mean by "I'm trying to set my test up to only pass Black text in a certain field within the property checkpoint"
do you mean set a validation against a certain text that has black color?
I'm not quite sure if i follow what the desired outcome is.
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.
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.
Senior SQA Automation Engineer
- 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.
Unfortunately, I got pulled away for another project while my dev team fixes a bug that this test was for. But I hope to get back to it soon.