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.

Checkbox

Merajul HaqueMerajul Haque Members
edited November -1 in Sahi - Open Source
Hi,

My issue is that I want to uncheck the checkbox who is already checked using _click(_uncheck("element")); but unfortunately it get failed. Please let me know how can i uncheck that checkbox ?

Comments

  • Hi Merajul Haque,

    _check(_checkbox("element")); // will check the check box

    _click(_checkbox("element"));// will toggle checked state

    You can also use:

    _uncheck(checkBoxElement) ; // Unchecks the given checkbox. If already unchecked, this API does not do anything.

    Regards
    Sumitra
  • keatskeats Members
    edited September 2012
    This does not work on Chrome browser.
    Check , uncheck & click does not work for checkbox.
    _uncheck(_checkbox("optionAll"));
    _check(_checkbox("optionAll"));
    _click(_checkbox("optionAll"));
    I am using Sahi OS v35 on Windows 7 and Chrome.
  • I am using Chrome version 21.0.1180.89 m & Sahi V 35 July release. on Windows 7.
  • Yes Keats is right, I also use chrome and Sahi and I never face that problem.
  • Review all the current leases that are at a property before deciding to buy. It may be that the main source of income for the location is going to be moving out when their lease is up in a year. You need to know all of this information so that you aren't caught by surprise by a sudden drop in income down the line.
Sign In or Register to comment.