29.8 Using the Test Repository

A test repository is a centralized location where you can maintain all the test scripts. To use the Test Repository, you should have pre-configured the OMS Software Library location. For more information, see Configuring Software Library Storage Location.

The advantages of using a Test Repository include:

  • Previously, a test could be created only in the context of a service. However, now, you have the flexibility of creating any number of test scripts outside the context of a service, and storing them in this centralized location called Test Repository. Uploading Test Scripts and Creating Services are now independent events. Once the test scripts are available in the repository, you can use them while creating your service.

  • Previously, only the owner of the test script had the copy of the script. Now, with introduction of Test Repository, the scripts are maintained in a centralized location which allows all the users to access the scripts. At the time of creating a service, you can just import your scripts from the repository with the click of a button, thereby making the whole experience very user-friendly and quick.

Note:

Currently, ATS test scripts can be stored in the central repository.


stored tests

29.8.1 Viewing the Test Repository

To view the test scripts uploaded to the test repository, follow these steps:

  1. From the Targets menu, select Services.
  2. From the Services Features menu, select Test Repository.
  3. The Test Repository page appears where you can see a list of all the tests that have been created.
  4. From the Test Repository page, you can do the following:
    • Create Tests: You can create the following types of tests.

      • ATS Tests: Click Create. In the Test Information section, select ATS Transaction in the Type drop down list and enter a unique test name and description. In the ATS Information section, click Browse to upload a test script from your local machine. Once you select a relevant file, the file name along with the step and module details are displayed. Click Save to save the script.

    • Editing Tests: Select the test, and click Edit. You can edit the following types of tests:

      • The ATS script cannot be modified within the Enterprise Manager Console. But you can download a previously uploaded script and import the zip file to ATS OpenScript. For more information on how to download and edit an ATS script, see Editing an ATS Script.

    • Removing Tests: Select the test, and click Delete to delete the test script.

    • Viewing Tests: Click the test name to view the details of the test in the Test Details table.

29.8.2 Editing an ATS Script

To download the script bundle and edit them, follow these steps:

  • Click Download and save the zip file at the prompt.

  • Launch OpenScript and from select File menu select Import Script to import the zip file to ATS OpenScript.

  • After you have edited the script in ATS OpenScript, select File, then select Export Script to export the new script and save the zip file.

  • Log into to Cloud Control, and navigate to the ATS Service Test page. Click Upload to upload the updated script file to Enterprise Manager.