Saket said to use in this way .
Lets try like this ? and check once
http *://210.212.176.226/ins_byname.php?page=2*
Lets try like this ? and check once
http *://210.212.176.226/ins_byname.php?page=2*
Regular Expression Syntax
|
Saket said to use in this way .
Lets try like this ? and check once http *://210.212.176.226/ins_byname.php?page=2*
05-28-2010, 03:07 PM
Hi,
I used the same expression in the object repository of Next. But on running the script following error comes. Regards, Anu
05-29-2010, 03:11 PM
try this
http://210.212.176.226/ins_byname.php?page=.* if this does not work http.*://210.212.176.226/.*.php?.*
05-31-2010, 10:12 AM
Hi Saket,
below works for me. http.*://210.212.176.226/.*.php?.* Thnks Could you please tell me the best way to learn regular expression. Regards, Anu
05-31-2010, 10:17 AM
There are many tutorials available for this
See if these posts helps you Guide to Regular Expressions in QTP/UFT 8 tips on advanced Regular Expressions in QTP/UFT
05-31-2010, 02:59 PM
Hi Saket,
Thnks for the links............... I have one more link which i want to regularize and the link is : http://210.212.12.163/directory/meghlaya...std=&phone= For the above mentioned link i used the following below regex but no one was working: 1.http.*://210.212.12.163/.*.php?.* 2.http.*://210.212.12.163/.*/.*/.*.php?.* 3.http. *://210.212.12.163/directory/meghlaya/megh_advsearch.php?.* Could you please tell me where i was wrong. Regards, Anu
06-01-2010, 09:38 AM
i tried with all of these and all are working.
check OR, if you have mis-spelled somewhere or dropped an space in between, or the correct page you are referring.
06-01-2010, 03:30 PM
Hi Saket,
Iwant that it should not go to page=1 but navigate to other pages like page=2, page=3 and so on, whose link is written below: http://210.212.12.163/directory/meghlaya...std=&phone= The OR used is: http.*://210.212.12.163/.*/.*/.*.php?page.[=^1].* Please tell me the correct OR syntax for the above.
06-02-2010, 11:44 AM
Hi Saket,
i did not get you. Could you please explain me. My query is : I want that it should go to page=2 and above but not page=1. Regards, Anu |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Need Any digit in xpath path using Regular expression | Priyam | 1 | 3,484 |
10-05-2016, 11:05 AM Last Post: Ankur |
|
Regular expression to read two words in lowercase, uppercase and with and without spa | sarahq49 | 1 | 3,351 |
04-09-2015, 01:56 AM Last Post: sarahq49 |
|
Regular expression and script optimisation | Padmavathy | 1 | 3,817 |
03-30-2015, 11:46 AM Last Post: supputuri |
|
Regular expression in descriptive programming | testernc | 1 | 16,564 |
12-08-2014, 06:38 PM Last Post: anshika.agarwal |
|
need a regular expression. | anu05446 | 0 | 3,114 |
11-26-2014, 03:00 PM Last Post: anu05446 |