Hi,

You can try below code, i hope it will solve your problem,

Syntax: RepositoriesCollection.Add(Path)
Ex: RepositoriesCollection.Add(E:\OR\ObjRes.tsr)

if write in Action1 it will automatically add the Object
Respository to the Action1
(i.e Edit Menu-->Action-->Action Properties-->Associate
Repository tab) at runtime.

Let me know if you need more information.

Regards,
Tamil

On Sun, Aug 8, 2010 at 8:06 PM, charanpreet <[email protected]> wrote:

> Hi
> Can i know how we can add objects in the repositry at run time.
> In my applications, some links are added to webpage while run time, so QTP
> cannot identify those links in object repository and giving error.
> I have tried following to solve this but could not :-
> (1) I have tried descriptive programming also for those this, but again
> getting same error.
> (2) I tried maintenance run mode as well as update run mode, but problem
> could not resolved.
>
>  Please solve the issue.
> Thanks
> Charan
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<mercuryqtp%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to