How can one add objects dynamically to the repository THROUGH SCRIPT and not manually by right clicking on the object in the active screen and doing View/Add object i.e this procedure of adding objects should take place through the script dynamically ??
Re: Object Repository
There is no way to add objects directly from the script. From QTP 6.5 inwards they have provided reat feature ie using the Object Spy you can add the the objects to thr OR without recording. There is one more utility ie QTP Plus using this utility you can add objects to the OR from the script.