09-17-2008, 03:01 PM
Hi Melody,
As Siri said, you first need to associate the shared object repository to Test2. It can be done using the "Resourses" tool on the menu bar of qtp.
Click on "Resourses" -> select "Associate Repositories" . A popup window will appear. Click on the "+" button on the popup and select the path of the OR what you want to associate with this test. from the bottom section of the popup, select the actions u want to use this OR (Shared).
Once u do this, you can very well run the script copied from test 1 on test 2 (provided, you do that have any environment variable or datatable dependencies.
Regards,
Vivek
As Siri said, you first need to associate the shared object repository to Test2. It can be done using the "Resourses" tool on the menu bar of qtp.
Click on "Resourses" -> select "Associate Repositories" . A popup window will appear. Click on the "+" button on the popup and select the path of the OR what you want to associate with this test. from the bottom section of the popup, select the actions u want to use this OR (Shared).
Once u do this, you can very well run the script copied from test 1 on test 2 (provided, you do that have any environment variable or datatable dependencies.
Regards,
Vivek