Hi kalyan..plz try this
Set rep = Actions("Login").ObjectRepositories 'Here login is the action name
whose OR you want to load
If rep.Find("C:\MainApp.tsr") = -1 'If not found
Then
rep.Add "C:\MainApp.tsr", 1 'Add
End If
Kindly revert back if it doesn't works..i'll run and provide you the script.
Regards,
Bibek
On Tue, Aug 25, 2009 at 11:44 AM, kalyan kallamadi <
[email protected]> wrote:
> Hi everyone,
>
> 1)well how to load Object repository in QTP during run time,i mean i need
> the code (D.P)
>
> 2) and the command used to add an obj properties to an OR
>
> >
>
--
Regards,
Bibek
Hey! Catch me on:
http://khateee.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---