Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP 9.2 RegEx issue
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi,
I am using QTP 9.2 and I have following sting in text check point.
Text:
New York, NY, United States: Sat, Feb 26, 2011 to Mon, Feb 28, 2011 | 1 room | 1 guest
RegEx I am using:
^New

But results is getting failed every time, looks like regular expression is not getting applied.
While I have implemented currently:
Like in check point properties, at constant value row icon, clicked and provided regular expression, also make sure that regular expression check box is on.

Please suggest.


Also, I suppose to get following:
"Regular Expression: ON" in Test Result window.
But I am not getting anything like that. is something wrong with QTP 9.2 or should I need to enable some option.
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
The way you are doing, it will not work for text.

Check the following links to get more idea:

http://relevantcodes.com/descriptive-pro...pressions/
Reply
#3
Solved: 10 Years, 8 Months, 3 Weeks ago
Above link doesn't help at all.
You didn't get my query.
Anyway, Thanks for your reply. At least someone responded on this forum.

>>
I got the solution and will be sharing on this site as well soon.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ReGex not working for Java Items jimrazak 0 2,085 02-23-2012, 06:17 PM
Last Post: jimrazak
  Turn Off RegEx mv8167 4 4,344 09-27-2011, 10:20 PM
Last Post: mv8167
  regex works but how do i return the found string to a variable jove1776 2 3,266 08-24-2011, 06:17 PM
Last Post: jove1776
  RegEx for a child objects SBsteven 1 3,255 11-17-2009, 11:20 AM
Last Post: v_selvam
  Troubles with Regex in Browser XeNoMoRpH 4 3,154 06-18-2009, 04:31 PM
Last Post: XeNoMoRpH

Forum Jump:


Users browsing this thread: 2 Guest(s)