In this paper, the Datapool is briefly introduced, combined with the actual functional testing and performance testing of the world to use Datapool. Hope that the vast number of software testers to help. As a result of writing
Datapool is a test dataset that is supplied to the script when the test script is replayed. Datapool can be created by the rational product robot or testmanager, and the table below enumerates the actions that can be performed on Testmanager in Robot and Datapool:
|
robot |
testmanager |
|
|
|
|
|
|
|
|
|
|
|
|
Create and modify data types |
|
|
management datapool such as renaming or copying |
|
|
|
|
|
pour data |
|
|
Note: There are two kinds of files in rational Datapool: TXT and CSV files, which are saved after the creation of Datapool
Letter: \ Engineering Files Directory \testdatastore\defaulttestscriptdatastore\tms_datapools folder
The test data is saved in a text file with a CSV extension, and all field information is stored in a file with the suffix named SPC, which is managed by Testmanager.
Datapool There are two ways to create, one is in the Testmanager, a robot recording vu script automatically create the same name Datapool, only in robot tools->session record options, set Generator page General's use Datapool option before it can take effect. The following two methods of creating and using are described below:
A
Establish Datapool:
1. Start Rational Testmanager;
2. Tools>manage>datapool, click New ..., enter the data pool name point "OK";
3. Add a field definition to the Open Data Type specification (after the field definition description is shown)
4. Generate Generate data (produces a large amount of data, where 100 data is generated by default)
5. Modify the data in it Edit Datapool