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.

Regular Expressions

DonnaMooresDonnaMoores Members
edited November -1 in Sahi - Open Source
Is it possible to use regular expressions when clicking a button.
I have buttons labelled "OK", "Ok" and "ok" .... thats developers for you!!!!!

Cheers
Donna

Comments

  • pankaj.nithpankaj.nith Members
    edited August 2008
    Hi,

    Ofcourse u can...

    _click(_button(/Ok/i);

    Regards,
    Pankaj.
  • Hey I am a developer/developer in test and I don't think the OK Ok ok is the fault of one developer thats happens when multiple people work on something unless its a single none OCD developer! :0)

    But that is neat to know that you can use regular expressions!
  • Regular Expressions have actually come to rescue alotmany times... :)
Sign In or Register to comment.