Forum Discussion
Never actually tried checking the graphic state of the mouse pointer.
But it looks like a lot of the code in here: https://support.smartbear.com/viewarticle/17632/
... could well be relevant to what you're trying to achieve?
- mgroen28 years agoSuper Contributor
Actually, I am looking for something to embed in Keyword tests.
E.g. in the Checkpoint section: Check if the mouse cursor is changed into a specific shape (hand, pointer, hourglass,etc),
or to be able implement mouse cursor shapes in the Find Object, Wait until mouse cursor has a specific shape.
So, no code to capture the mouse cursor, but more to be able to steer my Keyword tests based on the shape of the mouse cursor, with steering meaning both validation and synchronization.
- tristaanogre8 years agoEsteemed Contributor
An interesting idea... I'm assuming that this goes beyond just making sure that the cursor is not an hourglass but actually to synchronize some stuff that may be happening behind the scenes asynchronously for which there is no onscreen visible property to check?
A cool idea... and making it into a Keyword Operation Script extension I'm assuming, so it can show up in that list of operations/Checkpoints, yes?
- Colin_McCrae8 years agoCommunity Hero
I did something similar using the page loading indicator in Chrome. (Mainly due to DocumentReadyState status in Chrome being complete rubbish)
But I've never tried using the mouse to sync things. Nice idea, but given how quickly it can flash between statuses, I can see short changes being easily missed. Good if it works for you though.
Related Content
- 26 days ago
- 5 years ago
- 10 years ago
Recent Discussions
- 5 hours ago