The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> Micro Focus/Borland/Segue SilkTest

Pages: 1
smartdeep
Member


Reged: 03/18/08
Posts: 47
Regular expression in open agent locator
      #684333 - 09/07/11 12:36 AM

Hi,

How to use Regular Expression in SilkTest Open Agent Locator string.

E.g. "//WPFWindow[@caption='You have 5 Alert(s)!']"

Above number is keep on changing randomly during runtime multiple times. How I can use regular expression to handle this.

Thanks,
Deepak


Post Extras: Print Post   Remind Me!   Notify Moderator  
gecki
Member


Reged: 02/08/09
Posts: 85
Re: Regular expression in open agent locator [Re: smartdeep]
      #684355 - 09/07/11 04:02 AM

You can use the wildcards ? (matches one character) and * (matches 0 to many characters), e.g:

"//WPFWindow[@caption='You have * Alert(s)!']"



Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 13 anonymous users are browsing this forum.

Moderator:  AJ, jamesso, DJGray, David Reed 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 1419

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5