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.

Facing problem with mouseover action in zkoss.

sujatasujata Members
edited November -1 in Sahi - Open Source
How to record mouse over action in Zkoss.plz reply me with solution.
Regards
sujata

Comments

  • SumitraSumitra Members
    Hi Sujata,

    Create a sahi script with the contents:
    _click(_checkbox(1));
    _mouseOver(_button("Project"));
    _assert(_isVisible(_link("New")));
    

    Use this as a start URL and run the script from the controller.

    http://www.zkoss.org/zkdemo/menu/pull-down_menu

    This is a demo of _mouseOver() API on ZKoss. If you face any issue let me know.

    Regards
    Sumitra
  • sujatasujata Members
    This is not working.In this website I want to go from Help>About>Potix
  • SumitraSumitra Members
    Hi sujata,

    The script to go from Help>About>Potix is:
    _click(_checkbox(1));
    _mouseOver(_button("Help"));
    _mouseOver(_link("About"));
    _click(_link("About Potix"));
    _click(_cell("OK"));
    

    Let me know if you are facing any issue.

    Regards
    Sumitra
  • gaveyomgaveyom Members
    edited June 2013
    Hi Sumitra,

    I have tried your code but im getting error as shown below

    _click(_checkbox(1));
    Error: The parameter passed to _click was not found on the browser

    can u pls help us
  • umashankarqaumashankarqa Members
    edited June 2013
    Hi Gaveyom,

    Please try with,

    _click(_label("Autodrop when mouse hover"));
Sign In or Register to comment.