Posts: 3
Threads: 1
Joined: May 2008
Reputation:
0
06-11-2008, 02:33 PM
I have recorded one TC in two differnt script. Now I have pasted script 2 to script 1, script 1 is running fine but from the line where script 2 starts, it is not able to recognize parent property (Browser).
I feel this is a repository issue.
So guide me how to transfer the repository from script 2 to script 1.
Thanks you.
Regards,
Vinay Kumar.
Posts: 190
Threads: 2
Joined: Mar 2008
Reputation:
0
06-11-2008, 06:44 PM
Just pasting your script will not work. QTP must be able to identify your application objects. In order to make QTP identify objects, you must associate the script with its Object repository.
Whats the version of QTP you are using?
If it is 9X then you can merge the Object Repositories.
Posts: 3
Threads: 1
Joined: May 2008
Reputation:
0
06-12-2008, 11:31 AM
I totaly understand that the script will not work if only pasted the script, but i do not know how to import an Repository form on script to another script. I very well know to export as there is a button to export on "Object Reporitory" window.
The current version i am using is 8.2.
Posts: 190
Threads: 2
Joined: Mar 2008
Reputation:
0
06-13-2008, 06:48 PM
(This post was last modified: 06-13-2008, 06:49 PM by niranjan.)
I am not sure what you are looking for will work with 8.2.
Instead of pasting your script, you can use Actions.
You can call your second script if it is under a separate action. Think about it.