Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help on using regular expressions on Java Window's title
#1
Not Solved
Hello everyone,

My application window title is as follows

Article - Content Management Application (Staging: V0.13.0)

"Staging: V0.13.0" keeps changing everytime a new version is pushed in. How do i go about introducing regular expressions in this case?

Thanks a lot!
Reply
#2
Not Solved
I think you are a beginner with Regular expressions...please check my blog post on reg ex to understand it in detail so that you can create your own regular expressions ....also there are umpteen thread on this forum with similar query
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply
#3
Not Solved
Staging: V0.13.[0-9] try this if only the last digit is changing
Reply
#4
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,190 08-23-2022, 02:51 PM
Last Post: ahmad3029
  How to disable regular expressions in a text? ttralor 6 6,733 07-05-2013, 02:44 PM
Last Post: Staff
  regular expression on Window object qupi 4 5,031 11-19-2012, 08:18 AM
Last Post: qupi
  java window titles & regular expressions jotdog2 1 4,225 02-13-2012, 10:55 PM
Last Post: madsenfr
  Process to use Regular Expressions in QTP using screen shots. yvslraotesting@gmail.com 1 3,507 01-31-2012, 12:45 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 3 Guest(s)