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.

_setValue(_radio()) does not seem to work

rajeevanandrajeevanand Members
edited November -1 in Sahi - Open Source
Hi

As recorded by the controller, I have tried to use the following:

_setValue(_radio("additionalnames"), "no");
_setValue(_radio("additionalnames[1]"), "no");

in my script and it does not set the values. I have checked the HTML source to confirm that the values are correct.

FYI: id is not used an attribute.

Can you please help ?

Thanks
Rajeev

Comments

  • Sorry. Got confused. Am using the _click(_radio("elementToBeSelected")) now and it's working fine. Thanks.
Sign In or Register to comment.