Object Repository
- 1:34 AM - 0 comments
Per Action/Shared Object Repository
Setting the Shared /per action Object Repository option
To set only one test to use the Shared Object Repository option:
1. Click the "New" button or go to File -> New to open a new test.
2. Go to Test -> Settings.
3. Select the Resources tab.
4. In the Object repository type box, select one of the options:
5. If you selected Shared in step 4, specify the Shared Object Repository file you want to use as the test's Object Repository file. To specify a file, enter the Object Repository file name or click the "Browse" button and select a resource file (*.tsr) from the Open dialog box. To create a new Shared Object Repository file, enter a new file name in the Shared box.
Note: These steps need to be done in a new script. Once you have modified the script, you will not be able to change the option.
To set all new scripts to use a Shared Object Repository:
For Quick Test Professional 6.5 and above
To set only one test to use the Shared Object Repository option:
1. Click the "New" button or go to File -> New to open a new test.
2. Go to Test -> Settings.
3. Select the Resources tab.
4. In the Object repository type box, select one of the options:
- Select "Per-action" to set the Object Repository mode for your test to the Object Repository per action mode.
Below are some of the factors based on which Per Action option is selected
- Whenever there are no common objects across transactions
- Ease of building object repository.
- Loading of per Action object repository takes less time as the size is less
- Select "Shared" to set the Object Repository mode for your test to the Shared Object Repository mode.
Below are some of the factors based on which Shared Action option is selected
- Whenever there are common objects across transactions
- Maintenance of object repository is very easy
- Whenever size of object repository is 1MB
5. If you selected Shared in step 4, specify the Shared Object Repository file you want to use as the test's Object Repository file. To specify a file, enter the Object Repository file name or click the "Browse" button and select a resource file (*.tsr) from the Open dialog box. To create a new Shared Object Repository file, enter a new file name in the Shared box.
Note: These steps need to be done in a new script. Once you have modified the script, you will not be able to change the option.
To set all new scripts to use a Shared Object Repository:
For Quick Test Professional 6.5 and above
- Click the New button or go to File -> New to open a new test.
- Go to Test -> Settings.
- Select the Resources tab.
- Select the Shared option for the "Object-repository type".
- Specify the Shared Object Repository file you want to use as the test's Object Repository file. To specify a file, enter the Object Repository file name or click the ellipse button <...> and select a resource file (*.tsr) from the Open dialog box. To create a new Shared Object Repository file, enter a new file name and path in the Shared box.
- Click the "Set as Default" button.
- Click and .



0 Responses to "Per Action/Shared Object Repository"
Post a Comment