Micro Focus QTP (UFT) Forums

Full Version: can i directly use the Repository collection .add method?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Saket,
In my code ,can i directly use the Repository collection .add method?
Its throwing a error .

Can u describe me one simple example.I hav longin page of mercury (windows application).I hav OR in the destop.Hw can i add to that login action?
Hi Madhu,

you can use it directly with below syntax:

RepositoriesCollection.Add("C:\Documents and Settings\aliazeemb\Desktop\OR.tsr")

Thanks,
Azeem
Yes Madhu,
As Azzem already said, you can directly use the RepositoryCollection method.

what is the error you are receiving?
Can you please paste your lines of code as well?