|
smartdeep
Member
Reged: 03/18/08
Posts: 47
|
|
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
|
gecki
Member
Reged: 02/08/09
Posts: 85
|
|
You can use the wildcards ? (matches one character) and * (matches 0 to many characters), e.g:
"//WPFWindow[@caption='You have * Alert(s)!']"
|
|
0 registered and 2 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: 1891
|
|
|
|
Powered by UBB.threads™ 6.5.5
|