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.

Check box

anugrahanugrah Members
edited November -1 in Sahi - Open Source
How will be a check box be checked using sahi
Rite now if i hover mouse over it, the Accessor reads the check box but when i check or uncheck it after it,it does not read them

Comments

  • narayannarayan Administrators
    Hi Anugrah,

    Could you elaborate on this or point to a sample page? Sounds strange.

    Regards,
    Narayan
  • Hi Narayan,
    Thanks for your reply,

    I mean that how r v going to work on check box (both check and uncheck)
    Kindly tell from ur angle
  • narayannarayan Administrators
    Hi Anugrah,

    _check(_checkbox("checkboxId")); // will check it

    _uncheck(_checkbox("checkboxId")); // will uncheck it

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


    I really do not understand your question. Could you please ask with an example?

    Regards,
    narayan
  • Hi Narayan,

    Thank you so much,it worked for me.
Sign In or Register to comment.