Regular Expression in screen label
I am doing a TE testing, where QTP recognize the Screen label
The screen label is in a pattern like below
Screenname username CHECK
i.e DCBC ABCD001 CHECK
where ABCD001 is the user name
i try to use a regular expression in OR,for the label property ,but its not working.
DCBC \w CHECK
DCBC [A-Z][0-9] CHECK
Both times it failed to recognize.
Can anyone please help me out in this?
Re: Regular Expression in screen label
This will match anything that contains DCBC followed by any characters, followed by CHECK. if you want true validation, you can use a stricter expression