How to capture hand effect in mouse hover over

4 posts, 0 answers
  1. Harsha
    Harsha avatar
    8 posts
    Member since:
    May 2017

    Posted 02 Sep Link to this post

    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

  2. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    655 posts

    Posted 06 Sep Link to this post

    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!
  3. Harsha
    Harsha avatar
    8 posts
    Member since:
    May 2017

    Posted 10 Sep in reply to Elena Tsvetkova Link to this post

    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

     

  4. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    655 posts

    Posted 13 Sep Link to this post

    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!
Back to Top