18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Mouseover not Working

reachramanujamreachramanujam Members
edited November -1 in Sahi - Open Source
Hi,

Iam working in Windows xp/IE8.

Scenario is On click of a menu name, I will have set of submenus. On mouseover of one of the Submenu, I have another list of menu items. On Click of menuitem, It will launch a new page.

I tried but mouse over not working.

I coded like this ::

_popup("Name")._click(_cell("Department")); // Menuname
_popup("Name")._mouseOver(_cell("Computer Science")); // Submenuname
_popup("Name")._click(_cell("Programming Language")); // Menuitem


Is this correct?? Please suggest.

Comments

  • gaveyomgaveyom Members
    Hi,

    Im also facing same problem, _mouseover is not working
    any help pls
  • Hi gaveyom,
    I tested out _mouseOver using a simple script that i have posted below and it works properly with Sahi OS 4.4.

    _navigateTo("http://sahi.co.in/demo/mouseover.htm";);
    _mouseOver(_button("Write on hover"));
    _assertEqual(_getText(_textbox("t1")), "Mouse moved");
    _mouseOver(_button("Blank on hover"));
    _assertEqual(_getText(_textbox("t1")), "");

    Which version of Sahi are you using?

    Regards.
  • Hi Ramanujam,
    Can you please provide the URL on which you're running the script?

    Regards.
Sign In or Register to comment.