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.
Is it possible to add regular expression for domain prefix?
Hi Narayan,
I knew that we can use regular expressions to identify the objects or links or popup using with the regular expressions.
Now I want to use regular expression for domain prefix. when Iam trying to execute the scripts using with domain prefix with reuglar expression its failing to automate.
My code is as follows:
browser.domain("/.*/").textbox("_ssoUser").setValue("MyUname");
browser.domain("/.*/").password("_ssoPassword").setValue("MyPwd");
browser.domain("/.*/").submit("Login").click();
Please help me how to use regular expressions for domain value.
Regards,
Shankar L
I knew that we can use regular expressions to identify the objects or links or popup using with the regular expressions.
Now I want to use regular expression for domain prefix. when Iam trying to execute the scripts using with domain prefix with reuglar expression its failing to automate.
My code is as follows:
browser.domain("/.*/").textbox("_ssoUser").setValue("MyUname");
browser.domain("/.*/").password("_ssoPassword").setValue("MyPwd");
browser.domain("/.*/").submit("Login").click();
Please help me how to use regular expressions for domain value.
Regards,
Shankar L
Comments
Please help me regarding how to use reguler expesrrion for domain.
Regards,
Shankar L
Regards
Wormi