Results 1 to 3 of 3

Thread: Object Repository help

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

    Object Repository help

    hi
    can someone tell me how to pass the "pageid" from a script to the object repository- so that the object repository will look up that pageid and then pull up all the objects (based on their logical names) on that particular page.


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

    Re: Object Repository help

    Quote Originally Posted by nikki_qa View Post
    hi
    can someone tell me how to pass the "pageid" from a script to the object repository- so that the object repository will look up that pageid and then pull up all the objects (based on their logical names) on that particular page.
    We can do that by using .SetToProperty.


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

    Re: Object Repository help

    Hi,

    You can use SetTOProperty method. Basically when QTP runs the script it creates a logical run time description of Object Repositry which can only be changed using SetTOProperty method. But be sure that this change will not effect actual Object Repositry.


    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