Execution on Chrome failing on Mousehover step

2 posts, 0 answers
  1. SHK
    SHK avatar
    11 posts
    Member since:
    Jul 2015

    Posted 08 Jun Link to this post

    Hi ,

    My application has a list of kendo ui menu. I need to mouse hover on one of the main menu items to be able to view the submenu.

    I have written a code to get this done and it get executed absolutely fine on IE.

    But when executed on Chrome it mouse hovers on the above menu item in the list.

    So I tried using offset values like shown in the below line of code.


    By doing this, the execution happens fine in Chrome, but because of the offset set on IE it clicks on the below menu item.

    Can you please help me with how to deal with this ?





  2. Nikolay Petrov
    Nikolay Petrov avatar
    67 posts

    Posted 09 Jun Link to this post

    Hi Sprithi,

    As a workaround for this issue you may perform a check - which one is the executing browser before applying the offset. This line of code will give the type of the browser.


    Add to your code a simple check that verify the browser and than apply the offset if necessary.

    The other way to complete this workaround is if you duplicate your coded step with the offset and to remove the offset from one of the steps. Than from the property of the step you have to set RunAgainst => to the browser you need to apply the step.

    Let me know if that helps.

    Nikolay Petrov
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top