Results 1 to 3 of 3
  1. #1

    Problem with (\"Mercury.ObjectRepositoryUtil\") obje

    i am using QTP9.0 while creating the object i am gettig the error.
    how can i see the object properteis and values in the Reposiotory
    the following code is used
    Set RepositoryFrom = CreateObject("Mercury.ObjectRepositoryUtil")
    RepositoryFrom.Load "C:\Documents and Settings\coreadmin\Desktop\MyRepository.tsr"
    Dim TOCollection
    Set TOCollection = RepositoryFrom.GetChildren("Root")

  2. #2

    Re: Problem with (\"Mercury.ObjectRepositoryUtil\")

    On which line you get the error?

  3. #3

    Re: Problem with (\"Mercury.ObjectRepositoryUtil\")

    Qtp V 9.2

    Hi i am Trying to LOad ObjectRepository Automatically throught code but i am getting Two errors:

    1)"Object DoesNt support this action" for the below line

    (RepositoryFrom.LoadActionRepository "C:\xxx\xxx xxx\FileName", "Action1")

    2)"LoadActionRepository-General Error " for the Below Line

    (RepositoryTo.Load "C:\xxx\xxx xxx\FileName\ObjectRepository.bdb")

    Can any one help me?

    Dim ImageObj, PageObj, RepositoryFrom, RepositoryTo

    Set RepositoryFrom = CreateObject("Mercury.ObjectRepositoryUtil")

    Set RepositoryTo = CreateObject("Mercury.ObjectRepositoryUtil")

    RepositoryFrom.LoadActionRepository "C:\xxx\xxx xxx\FileName", "Action1"

    RepositoryTo.Load "C:\xxx\xxx xxx\FileName\ObjectRepository.bdb"
    (i have tried giving OR in .tsr format also)



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 05:27 PM.

Copyright BetaSoft Inc.