Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help me to use regular expressions in Browser title
#1
Not Solved
Hello All,

I am working on a web application, i have problem with the Browser title i am try to make it regular expression

Browser
OTHER PAYMENT INQUIRY : RECEIPT NO.( 03027420491200000201 )
-> 03027420491200000201 will varied

I try to make
OTHER PAYMENT INQUIRY : RECEIPT NO\.\( \d[0-9] \)
and
OTHER PAYMENT INQUIRY.*

it not work, Can you please help me ?

Kamonwan
Reply
#2
Not Solved
Hi,

Try following.


OTHER PAYMENT INQUIRY : RECEIPT NO.\.\(\s \d\s \)
or
OTHER PAYMENT INQUIRY : RECEIPT NO.\.\(\s \num\s \)
Reply
#3
Not Solved
Hi,

Try this following Reg Exp if the Browser name starts with Name OTHER PAYMENT INQUIRY.

^ OTHER PAYMENT INQUIRY.*

Thanks,
Yaseen Arfath
Reply
#4
Not Solved
Thank you, every body
I try
OTHER PAYMENT INQUIRY : RECEIPT NO\.\( [0-9]{1,} \)
Reply
#5
Not Solved
Hi Kamonwan,

While using the browser title as regular expression, you should go for DP. Use the below script


Code:
browser("title := OTHER PAYMENT INQUIRY.*).Page("title := OTHER PAYMENT INQUIRY.*)

Stephen
Reply
#6
Not Solved
Hi,

Try this following Reg Exp if the Browser name starts with Name OTHER PAYMENT INQUIRY.

^ OTHER PAYMENT INQUIRY.*

Thanks,
Yaseen Arfath
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)