We are using QTP to script in our project.The scripting is completed but we are facing a problem in interfacing with Test Director.The requirement is that the scripts should be run directly from TD.We have inserted the Script code into the template script generated by TD but when we try to execute it ,we get an error for Missing Objects in the Repository.
How can we transfer the various recorded objects from our local system to TD for each script?
First of all, if you are planning on using TD with QTP for a lot of testing, don't use the template generated by TD. It's a good place to start but very inefficient for more than a few test scripts plus you have no loops or case switches etc. Create your own and do all the scripting outside of TD, then import the scripts into TD. But if you want to get your current script running you have to go into QTP and open you script and select the "SHARED" repository so that TD can access it.
In QTP, Tools – options – run – here if we select ( Allow other Mercury products to run tests and components) check box does that mean we r making a connection between TestDirector and QTP to run QTP scripts from Test Director.