SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Aug 2007
    Posts
    134
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How to Specify Or in Regular Expression

    Hi,

    I am trying to use "|" (Or) in regular expression in Caption property of an window. I need to match windows with caption "abc" or "xyz". So I am trying it as "(abc|xyz)". But it doesn't identify the window with this value. Can someone tell me whats wrong in the above regular expression.

    Does TestPartner supports regular expressions for property values of objects in Object Map? I know it supports "*" but how about "|".

    Thanks,
    VM

  2. #2
    Senior Member
    Join Date
    Aug 2008
    Posts
    137
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How to Specify Or in Regular Expression

    The help file is pretty sparce, but it looks like you are limited.

    [ QUOTE ]

    TestPartner supports the use of a wildcard characters - an asterisk ( *) or question mark (?) - to account for any variability that may occur in an object map property or raw attach name of a control or window. You can use an asterisk as a substitute for zero or more characters or a question mark as a substitute for a single character. For example, for the following raw attach name:


    [/ QUOTE ]
    -Steve

 

 

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 11.54%
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 04:11 PM.

Copyright BetaSoft Inc.