18 January 2026:


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?

lshankar_mcalshankar_mca Members
edited November -1 in Sahi - Open Source
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

Comments

  • Hi Narayan,

    Please help me regarding how to use reguler expesrrion for domain.

    Regards,
    Shankar L
  • globalwormingglobalworming Moderators
    Please stop doubleposting and wait gently until someone has an answer to your question. Pushing your post is just annoying, we might think there is something new and interesting contributed to this topic, but then it's just you post over and over again. This will not motivate others to help you.

    Regards
    Wormi
Sign In or Register to comment.