18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
_in, _near, _under issue
I am trying to enter data into a text box. Sahi learns the object as _textbox(18) so I have _setValue(_textbox(18), <some data value>);
I have tried a variety of variations of _under, _near to no avail. The label for this box is "Years of School". So, I tried for example:
_setValue(_under(_cell("Years of School")), <some data value>);
to no avail. What would the syntax be for this situation?
Thanks in advance
I have tried a variety of variations of _under, _near to no avail. The label for this box is "Years of School". So, I tried for example:
_setValue(_under(_cell("Years of School")), <some data value>);
to no avail. What would the syntax be for this situation?
Thanks in advance
Comments
I think what you need could be one of
_setValue(_textbox(0, _near(_cell("Years of School"))), "data");
or
_setValue(_textbox(0, _in(_cell("Years of School"))), "data");
or
_setValue(_textbox(0, _under(_cell("Years of School"))), "data");
Regards,
Narayan