Property Checkpoint Text Color using Keyword Test.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Thank you.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Justin Kim
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Justin Kim
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was setting wtext trying with all options using 0x000000 and it wasn't working. I'll have to dig through my notes.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 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.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@CGilbert were you able to figure it out? Please share how you resolve the issue.
-----------------------
Sr. Director, Web & Digital Experience @ SmartBear
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
