Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Regular Expressions
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi

I have started this new thread on this subject as my previous thread did not clarify me.

Example1:

I start to record a business process using QTP, Open http://www.hotmail.com, Sign in using my user ID and password. Click on Inbox(6), Read one mail and Sign-out. Now the Inbox link after reading one mail will become Inbox(5). Now on play back the test will fail as the test will search for Inbox(6).

I would like to know how to assign a regular expression in the object repository for the above case. Exact syntax would be of great help .

Example 2:

This is the flight application that comes with QTP

   

I attached a .jpeg image in this thread. In the attachment you can Find the window titled Fax order no.29. How do I insert a regular expression to this Fax order title so that the playback can handle any number. I tried with few syntax but object not found errors are occurring while running the script

Any help please??

Regards
Srinivas
Reply


Messages In This Thread
Using Regular Expressions - by srinivasadityab - 10-04-2008, 11:21 PM
RE: Using Regular Expressions - by somisays - 10-08-2008, 04:16 AM
RE: Using Regular Expressions - by rajeshvelur - 10-17-2008, 04:11 AM
RE: Using Regular Expressions - by surya_7mar - 11-29-2008, 11:05 PM
RE: Using Regular Expressions - by qatestbrian - 10-21-2009, 09:13 PM
RE: Using Regular Expressions - by jsknight1969 - 10-22-2009, 12:50 AM
RE: Using Regular Expressions - by qatestbrian - 10-22-2009, 01:01 AM
RE: Using Regular Expressions - by jsknight1969 - 10-22-2009, 01:08 AM
RE: Using Regular Expressions - by venkatbatchu - 10-23-2009, 07:02 AM
RE: Using Regular Expressions - by qatestbrian - 10-23-2009, 09:05 AM
RE: Using Regular Expressions - by rahul1234 - 10-14-2009, 01:24 PM

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

Forum Jump:


Users browsing this thread: 5 Guest(s)