Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regular Expression help
#1
Not Solved
Hi,
I'm trying to identify a browser window in one of my tests. The name (property title) changes for each run. An example is:

abc.xyz.123.com:8076/OA_CGI/FNDWRR\.exe?temp_id=111111

The common portion is always:
abc.xyz.123.com:8076/OA_CGI/FNDWRR\.exe?temp_id=

So can I identify this window using a regular expression like this:
Code:
Window("title:=http://abc\.xyz\.123\.com:8076/OA_CGI/FNDWRR\.exe?temp_id=*")
I've put a backslash in front of each period so that they are interpreted literally.

It doesn't work, so I'm wondering if my expression is incorrect, or if I can't do this.

Thanks for any assistance you can offer.
Reply


Messages In This Thread
Regular Expression help - by mitch - 04-27-2011, 12:00 AM
RE: Regular Expression help - by supputuri - 04-27-2011, 12:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Any digit in xpath path using Regular expression Priyam 1 3,496 10-05-2016, 11:05 AM
Last Post: Ankur
  Regular expression to read two words in lowercase, uppercase and with and without spa sarahq49 1 3,361 04-09-2015, 01:56 AM
Last Post: sarahq49
  Regular expression and script optimisation Padmavathy 1 3,831 03-30-2015, 11:46 AM
Last Post: supputuri
  Regular expression in descriptive programming testernc 1 16,579 12-08-2014, 06:38 PM
Last Post: anshika.agarwal
  need a regular expression. anu05446 0 3,123 11-26-2014, 03:00 PM
Last Post: anu05446

Forum Jump:


Users browsing this thread: 2 Guest(s)