Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Use regular Expressions
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi

I need help in using regular expressions. I am practicing QTP and gone through some practice exercises given in the book. I am a bit confused with regular expressions. My book says that

* matches zero to any number of occurrences of the preceding character

. Matches any single character

I use regular expression on the Fax order on the sample flight application in QTP 8.2. I go to Flight app. File->Open Order. Give the order no.3 and click OK. In the flights menu bar I click file->fax order

Now I change the Fax order no: to 7 in the recorded script and the test fails. I insert a standard checkpoint on the title bar of FAX order no like this Fax order no.* and it doesn't work.

How do I insert a regular expression here. tried [0-9]+. Still not working

Any help please

Regards
Srinivas
Reply


Messages In This Thread
How to Use regular Expressions - by srinivasadityab - 10-03-2008, 10:30 AM
RE: How to Use regular Expressions - by Ankur - 10-04-2008, 03:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
At Regular Expressions for e-mail address ganesh.dengale 6 18,579 08-23-2022, 02:51 PM
Last Post: ahmad3029
  How to disable regular expressions in a text? ttralor 6 6,234 07-05-2013, 02:44 PM
Last Post: Staff
  Need help on using regular expressions on Java Window's title qa_tester 3 4,849 02-13-2012, 10:56 PM
Last Post: madsenfr
  java window titles & regular expressions jotdog2 1 4,064 02-13-2012, 10:55 PM
Last Post: madsenfr
  Process to use Regular Expressions in QTP using screen shots. yvslraotesting@gmail.com 1 3,331 01-31-2012, 12:45 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)