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.
How to get value displayed in TextField / Text Area?
Hello Team,
I am new to Sahi. In my web page there are two controls TextBox and TextArea and I want to get the value from TextBox and TextArea and want to stroe in a variable so I can use later on in programming. Please help me.
Thanks,
Ashvin Patel
I am new to Sahi. In my web page there are two controls TextBox and TextArea and I want to get the value from TextBox and TextArea and want to stroe in a variable so I can use later on in programming. Please help me.
Thanks,
Ashvin Patel
Comments
Use:
var $x = _textbox("ID").value;
var $y = _textarea("ID").value;
Regards,
Pankaj.
The solution you have given is perfectly fine. Thanks a lot.
Ashvin