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 retrive value entered in a text field
Hi Friends,
I was testing an registration page, in which I have a registration no field and its need to accepts a unique value. So to make the code reusable, I want to retive the value entered in registraion no field and save it in a variable later increment the value so that I need not go change the value for every individual execution.
Regards,
Hari...
I was testing an registration page, in which I have a registration no field and its need to accepts a unique value. So to make the code reusable, I want to retive the value entered in registraion no field and save it in a variable later increment the value so that I need not go change the value for every individual execution.
Regards,
Hari...
This discussion has been closed.
Comments
You can use:
var $no = parseInt(_getText(_textbox(<registration-field>)));
$no++;
Check if this helps you to solve your issue.
Regards
Sumitra
Thanks for the reply, the information was very useful.
Regards,
Hari...