I am using the below code:
Set myRepository = CreateObject("Mercury.ObjectRepositoryUtil")
myRepository.Load "D:\Explore\QTP\Repositoryfff.tsr"
Set PageObj = myRepository.GetObjectByParent("Browser(""salesforce.com - Customer"")","Page(""salesforce.com - Customer"")")
Set CustomObj = CreateObject("Mercury.WebLink")
myRepository.AddObject CustomObj, PageObj, "OrderNum1"
myRepository.AddObject CustomObj, PageObj, "OrderNum2"
myRepository.Save
Set myRepository = Nothing
Set PageObj = Nothing
It is not adding both of the objects ("OrderNum1","OrderNum2") to the QTP OR, only first one is being added.