Micro Focus QTP (UFT) Forums
Need help on using regular expressions on Java Window's title - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Regular Expressions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Regular-Expressions)
+--- Thread: Need help on using regular expressions on Java Window's title (/Thread-Need-help-on-using-regular-expressions-on-Java-Window-s-title)



Need help on using regular expressions on Java Window's title - qa_tester - 04-18-2008

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!


RE: Need help on using regular expressions on Java Window's title - Ankur - 04-19-2008

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


RE: Need help on using regular expressions on Java Window's title - newqtp - 04-23-2008

Staging: V0.13.[0-9] try this if only the last digit is changing


RE: Need help on using regular expressions on Java Window's title - madsenfr - 02-13-2012

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 ?