Can I do this for a Hover?
Thank you for your time and assistance.
Donna
7 Answers, 1 is accepted
Step Suggestions provides actions/verifications over the properties/events of the elements.
Mouse hover is a desktop command. That means that it affects the browser in the same way that a real user would affect the browser.
To add a mouse hover action to an existing element you have 2 options.
- Edit the element in the Element Explorer and add the action in the browser.
- Add a simple coded step:
element.MouseHover();
I recorded a short video as a demonstration of both options.
Let me know if this helps.
Boyan Boev
the Telerik team
Test Studio Trainings
If the desktop command is not relative to anything on the screen, I don't understand why desktop commands can't be in the suggestion list. When I look at one of my hovers, for example, the coordinates are 0,0 relative to the center of the element - the position of the element is calculated at run-time (or so it would seem).
Is there something on the live page that is captured behind the scenes?
The actions in the Step Suggestions come from Test Studio Translators therefore every action is related to that concrete element.
I filed a future request to implement this functionality. You can track its progress and vote for it here: Public URL.
Thanks for your input, which we rely upon to improve our product.
Kind regards,
the Telerik team
Test Studio Trainings
I noticed, however, in doing this, that the procedure was a memory hog. I had to Save my work, close Test Studio, then re-open it and continue working (I had quite a few I needed to do) after re-targeting the Primary target a few times. But that was a minor work-around for a solution that worked for me.
Donna