SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Nov 2007
    Posts
    70
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Error while loading Object repository at run time

    I am encoured with the
    "The remote server machine does not exist or is unavailable: 'qtApp.Test'" error while trying to add Object repsoitory to test at run time. But this error is not raising consistently.


    This error raisied while creating QTP object itself.(at below step)

    Set qtApp = CreateObject("QuickTest.Application")


    Whts the reason for this error?how we can handle it?

  2. #2
    Moderator
    Join Date
    Jan 2007
    Location
    Pittsburgh, PA
    Posts
    2,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Error while loading Object repository at run t

    RepositoriesCollection.Add(RepPath)

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

    Re: Error while loading Object repository at run t

    ofcourse..I added that statement.But before moving to that statement ,the error is being raised at the very first step itself.I mean while executing below step.
    Set qtApp = CreateObject("QuickTest.Application")

  4. #4
    Moderator
    Join Date
    Jan 2007
    Location
    Pittsburgh, PA
    Posts
    2,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Error while loading Object repository at run t

    No need to use Set qtApp = CreateObject("QuickTest.Application") statement.

    Everything could be done with this one line
    RepositoriesCollection.Add(RepPath)

  5. #5
    Member
    Join Date
    Mar 2001
    Location
    USA
    Posts
    31
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Error while loading Object repository at run t

    Hi ren83,

    Here is one example through which you can invoke QTP from command prompt. It has the code for QTP object. This example might help you...

    http://searchcode.tm-sol.com/codeid.php?...skey=open%20qtp
    Cheers,
    Solution Provider

    http://searchcode.tm-sol.com
    Post and find code for quite a lot of problems.

 

 

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 7.14%
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:29 AM.

Copyright BetaSoft Inc.