SPONSORS:






User Tag List

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

    keep getting the msg Object not exist

    I have a browser application and i am getting the message for the browser object that it does not exist. The properties I have given title with the value "ABC.*|ABC. It also has createation value 0 and smart identification ON. Can someone please help? Thanks

  2. #2
    Junior Member
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    20
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: keep getting the msg Object not exist

    add the object to the object repository either by recording some actions or just mannually

  3. #3
    Senior Member
    Join Date
    Jun 2007
    Posts
    513
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: keep getting the msg Object not exist

    Thanks, Actually after removing the pipe symbol, the error no longer appears.Does someone know if the Pipe symbol works in QTP?

  4. #4
    SQA Knight
    Join Date
    Jun 2008
    Posts
    2,555
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    1 Thread(s)
    Total Downloaded
    0

    Re: keep getting the msg Object not exist

    I've definitely used the pipe successfully as an or operator for RegEx. Even just gave it a try back to back against a .* operation.

    In that example an ABC title would match ABC.* anyway, so the OR operation is not necessary.

    Or is the issue that the pipe is actually in the title you are trying to reference? i.e. ABChfdakjhfdksjdhfa|ABC?

    In that case you'd have to precede the pipe with a backslash to tell regex to treat it literally.

  5. #5
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: keep getting the msg Object not exist

    Did you check the checkbox option for Regular Expression for the title property? If you just used the pipe and didn't check the property as regular expression then your value be treated as a literal value

  6. #6
    Junior Member
    Join Date
    Jul 2002
    Posts
    29
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: keep getting the msg Object not exist

    The syntax "ABC.*" is matching ABC and ABCxxxxx. So no need for the pipe sign here.

 

 

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.00%
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 10:24 AM.

Copyright BetaSoft Inc.