Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
java window titles & regular expressions
#1
Not Solved
Here is regular expression I would like to use: "^one two / .*three four$" but it does not work.

To match the following
one two / three four
one two / five six / three four
one two / five six / seven eight / three four

The middle text can be any combo of letters, numbers or special characters.
The best regular expression I can match is: "^one two / .*"

Any suggestions?
Thanks,
jotdog2
Reply
#2
Not Solved
I'm usin QTP 9.5 and I encouter a strange problem :

I can not use regular expression on JavaWindow title.

I've already used regex on OracleFormWindow and it works, but not on JavaWindow.
It's not a regex mistake, I looked closely, and I also just check the box regular expression without really using any one, and it doesn't work.

Does anyone know why, or can suggest a workaround ?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
At Regular Expressions for e-mail address ganesh.dengale 6 19,165 08-23-2022, 02:51 PM
Last Post: ahmad3029
  How to disable regular expressions in a text? ttralor 6 6,710 07-05-2013, 02:44 PM
Last Post: Staff
  regular expression on Window object qupi 4 5,014 11-19-2012, 08:18 AM
Last Post: qupi
  Need help on using regular expressions on Java Window's title qa_tester 3 5,055 02-13-2012, 10:56 PM
Last Post: madsenfr
  Process to use Regular Expressions in QTP using screen shots. yvslraotesting@gmail.com 1 3,500 01-31-2012, 12:45 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)