This is a migrated thread and some comments may be shown as answers.

How to capture hand effect in mouse hover over

3 Answers 14 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Harsha
Top achievements
Rank 1
Harsha asked on 02 Sep 2017, 11:42 AM

Hi Team,

I need to verify whether the hand effect is displayed when hovering over the mouse on a HtmlListItem. I tried below code piece but it's not capturing the hand effect of the mouse.

System.Windows.Forms.Cursor.Current == System.Windows.Forms.Cursors.Hand

Regards,
Harsha

3 Answers, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 06 Sep 2017, 02:38 PM
Hello Harsha,

Thank you for reaching us out. 

You might need to use Image verification to accomplish the current scenario. 

What is the effect of executing that line of code - what if you first hover the mouse over the element, add an execution delay and then execute the coded step. 

Thank you for your cooperation in advance! 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Harsha
Top achievements
Rank 1
answered on 10 Sep 2017, 10:54 AM

Hi Elena,

Thank you for your reply.
This HtmlListItem is not static. Hence, I cannot use a recorded step.
Only a coded step would help me to capture the hand effect.

Regards,
Harsha

 

0
Elena
Telerik team
answered on 13 Sep 2017, 03:31 PM
Hi Harsha,

Thank you for getting back to me. 

I have to admit that this kind of verification could not be accomplished in Test Studio. There are some attributes you could verify if using an advanced verification and depending on the implementation of that element in the html there might be something that could be verified. 

These are the possibilities you could apply. I hope any of these will be helpful to you. Thank you for your understanding! 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Harsha
Top achievements
Rank 1
Answers by
Elena
Telerik team
Harsha
Top achievements
Rank 1
Share this question
or