Results 1 to 3 of 3

QTP wildcards in object repository

This is a discussion on QTP wildcards in object repository within the QTP forums, part of the Software Testing category; Hi - i am having a problem using qtp to test my application. Depending on the user name used to sign into the application then the main window title bar ...

  1. #1
    Junior Member
    Join Date
    Nov 2007
    Answers
    4

    QTP wildcards in object repository

    Hi - i am having a problem using qtp to test my application. Depending on the user name used to sign into the application then the main window title bar changes - this confused qtp as it cant find the object in the object repository. It works fine if i log in as test1 as my scripts have been recorded using this user name. For example the object repository contains the following:- norwich union life db live [investments] pmanga <118> here i have signed in as myself (userid is pmanga) - but can i wildcard this? for eg. Using norwich union life db live [investments] /w(16) or a mixture of asterisks and question marks? any help much appreciated. Thanks, paul


  2. #2
    Junior Member
    Join Date
    Nov 2007
    Answers
    4

    Re: QTP wildcards in object repository

    Ahhh - actually the guru in my company has now answered this question - all you need do is click on object repository, then select the property you are interested in, then click the small tab called 'constant values'. within here you click the checkbox to make the value a regular expression and put *.* to wildcard the value. Bingo!


  3. #3
    Contributing Member
    Join Date
    Nov 2007
    Answers
    48

    Re: QTP wildcards in object repository

    Hi,

    another way to handle such issues is to parameterize the particular Object Property value which is actually dynamic Property in nature.

    By

    CPS



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact

SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.