Forum Discussion
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.
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_McCrae9 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.
- mgroen29 years agoSuper Contributor
tristaanogre wrote: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?
tristaanogre You hit the nail right on the head :)
I would appreciate it if you vote the feature request I'm going to create for this.
- tristaanogre9 years agoEsteemed Contributor
Actually, looking at AlexKaras code, I think it's doable without a major feature request in TestComplete. If the code can be written in script, it should be able to be ported to a Script Extension as a Keyword Test Operation.
I, honestly, have never created a Keyword Test Operation as a script extension so I'm not sure how difficult or involved it is... however, it is a way of doing exactly what you want, adding the feature to TestComplete, and even giving you full control of the implementation without needing to wait for a full TestComplete build.
I will vote up your feature request... but I'm now also intrigued to build this extension. I found my next personal project at home. :)- mgroen29 years agoSuper Contributor
tristaanogre wrote:Actually, looking at AlexKaras code, I think it's doable without a major feature request in TestComplete. If the code can be written in script, it should be able to be ported to a Script Extension as a Keyword Test Operation.
I, honestly, have never created a Keyword Test Operation as a script extension so I'm not sure how difficult or involved it is... however, it is a way of doing exactly what you want, adding the feature to TestComplete, and even giving you full control of the implementation without needing to wait for a full TestComplete build.
I will vote up your feature request... but I'm now also intrigued to build this extension. I found my next personal project at home. :)tristaanogre Feel free to build the extension. I feel happy I've inspired you :)
Related Content
- 5 years ago
- 10 years ago
- 6 months ago
Recent Discussions
- 2 days ago