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.
to check existence of textbox value
Hi,
I am new to Sahi and automated testing.I wanted to check for the existence of text box containing particular value. For example I've a text box which contains unique email Id for the respective User. When I am doing the testing I need to check whether that textbox contains that email Id. I tried with below functions. but these are not working for me.
if (_exists(_textbox("email Id value"))) {
_containsText(_textbox("email_address"), "email Id value")
I want to make sure that text box contains mentioned email Id. If it contains that value then only it should proceed to the next steps.
Please help in resolving this issue. Any help would be appreciable.
Thank you in advance.
D
I am new to Sahi and automated testing.I wanted to check for the existence of text box containing particular value. For example I've a text box which contains unique email Id for the respective User. When I am doing the testing I need to check whether that textbox contains that email Id. I tried with below functions. but these are not working for me.
if (_exists(_textbox("email Id value"))) {
_containsText(_textbox("email_address"), "email Id value")
I want to make sure that text box contains mentioned email Id. If it contains that value then only it should proceed to the next steps.
Please help in resolving this issue. Any help would be appreciable.
Thank you in advance.
D