Forum Discussion
Colin_McCrae
9 years agoCommunity Hero
I have a few tests which check for flashing text on web sites.
The devs set the colour to change every second. So I simply poll the object for 2 seconds, checking the colours continuously, it keeps a note of all the results it gets. Which will be either 2 or 4. Background and foreground colours. If it finds two of each, that's my flashing colours. So my little function for testing this takes in whether it should be flashing or static, and which colour(s) it should find. (as RGB values)
What is it you need to test?
If you just need to click it, you should just be able to wildcard out the additional classing on the button as it flashes to get to it.