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.
_type is not working in sahi.
_type(_textbox("USERNAME"), "admin");,I have used this,but this is not working.I want to type using sahi.
Comments
Inorder to type the "admin" in _textbox("USERNAME"),you can try the following script,
This may help you.
Regards,
Theeran.
Thanks in Advance
Sujata
hope this will help you
_setValue(_textbox("USERNAME"), "admin");
To get the value of the _textbox("USERNAME"),use
_getValue(_textbox(textboxIndex));
you can use textboxIndex,because the textboxId is dynamically generated.
I tried with the following URL,this works fine for me.
http://www.zkoss.org/zkdemo/input/form_sample.
Hope this may help you.
Regards,
Theeran.