-
How to identified using regular expression
Question asked by visitor Raj
I have a .net application whose one of the window with varying values for the everyrun. Can any one tell me how to make it identified using regular expression. In rational robot for ex. the window name Dispatch(OZ:P07*89) is changed to {Dispatch(OZ:P*)} to mak it dynamic so that it can be used for everyrun. Thanks
-
Junior Member
Re: How to identified using regular expression
In rational robot, you can use regular expression only for windows caption. rational doesn't allow any other value can be identified using rational robot.
Window Setcontext, "Caption={*}",""
Above is the command for regular expression in rational for Windows Caption
-
Moderator
Re: How to identified using regular expression
Dispatch(OZ:P07*89) -> Dispatch([a-z][a-z]:[a-z][0-9][0-9]\*[0-9][0-9])
or
Dispatch(OZ:P07*89) -> Dispatch([a-z]+:[a-z][0-9]+\*[0-9]+)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules