SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Apr 2004
    Location
    london
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Regular expression for Browser property

    I have a web application with multiple windows(with same name and title)the only property i can use to identify theses pages is the OpenUrl vale. My problem is when i run my test on a different server the Url details are not the same. Can someone please explain how to use regular expression for the values below.
    Server1 http://Main06.emea.wdpr.excite.com:1...WorkPoolFilter
    Server2
    http://Main088.emea.wdpr.excite25.co...WorkPoolFilter

    or can i parameterize the value by replacing the 1st part of the URl with a variable.

  2. #2
    Junior Member
    Join Date
    May 2006
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Regular expression for Browser property

    try using
    .*/main/doc/controller.jsp?app=WorkPool&tabName=WorkPoolFilter

  3. #3
    Senior Member
    Join Date
    Oct 2003
    Location
    Kyiv, Ukraine
    Posts
    302
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Regular expression for Browser property

    seems the simplest expression must be

    http\:\/\/Main.*\.emea\.wdpr\.excite\.com\:100\/main\/doc\/controller\.jsp\?app\=WorkPool\&tabName\=WorkPoolF ilter

    i don't remember if the ":", "=", "?" and "&" are threated as regular expression chars, look in the help (i am on a machine without QTP) - if they are not so, just remove the "\" chare before the ones i mentioned.

  4. #4
    Moderator
    Join Date
    Sep 2001
    Location
    Doncaster, UK
    Posts
    5,788
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Regular expression for Browser property

    Why can't you use CreationTime?

    Mark Smith.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:19 PM.

Copyright BetaSoft Inc.