Micro Focus QTP (UFT) Forums
Regular expression in OR - 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: Regular expression in OR (/Thread-Regular-expression-in-OR)



Regular expression in OR - rohit123_dadi - 07-20-2008

Hi Ankur,

My script :
Code:
javawindow("NEO - EDS - Narasingarao").Activate

I have changed in OR like NEO.* but it's not working, there EDS and Narasingarao is dynamic (every time changes).

if i use descriptive in the code like javawindow("title:=NEO.*").Activate working fine, but i want to change in OR only, help me out, please.
this is very urgent for me.

thanks in advance.

Rohit


RE: Regular expression in OR - surya_7mar - 07-28-2008

When you edit the Object value dont enter .* directly open that in a Popup by clicking the Regular Expresion icon.

Check the Check Box then only it will accept that as an regular expresion. After Check Box is hecked nowdo that above change.


RE: Regular expression in OR - surya_7mar - 07-28-2008

If you still want more confiramtion you can send me a mail so that i can give you with screen shots. Surya.Penumacha@gmail.com