How to identified using regular expression
[B]Question asked by visitor Raj[/b]
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
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
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]+)