< Previous | Next >

Lesson 1.3: Install sample data

After you set up your sample team and users, you are ready to install the sample data. The sample data is essential to the tutorial because the tutorial begins with a partially completed test plan.
Using the sample data decreases the time that it takes for you to complete the tutorial because completed forms of test requirements, test cases and test scripts are available. You can also choose to create these test artifacts from the beginning; however, at minimum, you need the sample test plan.
Note: If another user completed this tutorial and altered the sample data, you can follow these steps to reinstall a clean set of sample data.

To install the sample data:

  1. If the server is not running, start the server:
    1. In Windows®, click Start > All Programs > IBM Rational Quality Manager > Start IBM Rational Quality Manager Server.
    2. In Linux®, click Applications > IBM Rational Quality Manager > Start IBM Rational Quality Manager Server.
    Note: You know that the server is running when the message, INFO: Server startup, is displayed in the server log window.
  2. When the server is running, open Rational® Quality Manager in a browser:
    1. In Windows, click Start > All Programs > IBM Rational Quality Manager > IBM Rational Quality Manager.
    2. In Linux, click Applications > IBM Rational Quality Manager > IBM Rational Quality Manager.
  3. Log in as the administrator (Userid: RQMADMIN, Password: RQMPW) when prompted with the login dialog box.
    Note: If you restarted the server after creating a project area, select the project area, RQM Sample, from the list, and click OK.
  4. Open a command prompt, and change to the directory that contains the sample script:
    1. In Windows, go to C:\Program Files\IBM\RQM201\samples\classics.
    2. In Linux, go to /opt/IBM/RQM201\samples\classics.
  5. Run the installation script:
    1. In Windows, type install_samples.bat /a project /s https://localhost:9443/ /u RQMADMIN /p RQMPW

      where project is the name of your project area, localhost is the host name of your server, and 9443 is the port number.

      Tip: If the name of your project area contains spaces, replace each space with a plus sign (+). For instance, RQM Sample is RQM+Sample. Here are some examples of the installation script:
      • An installation script using the default project area: install_samples.bat /s https://localhost:9443/ /u RQMADMIN /p RQMPW
      • An installation script with no spaces in the project area name: install_samples.bat /a RQMSample /s https://localhost:9443/ /u RQMADMIN /p RQMPW
      • An installation script with spaces in the project area name: install_samples.bat /a RQM+Sample /s https://localhost:9443/ /u RQMADMIN /p RQMPW
    2. In Linux, type install_samples.sh -a project -s https://localhost:9443/ -u RQMADMIN -p RQMPW

      where project is the name of your project area, localhost is the host name of your server, and 9443 is the port number.

      Tip: If the name of your project area contains spaces, replace each space with a plus sign (+). For instance, RQM Sample is RQM+Sample.
      • An installation script using the default project area: install_samples.sh -s https://localhost:9443/ -u RQMADMIN -p RQMPW
      • An installation script with no spaces in the project area name: install_samples.sh -a RQMSample -s https://localhost:9443/ -u RQMADMIN -p RQMPW
      • An installation script with spaces in the project area name: install_samples.sh -a RQM+Sample -s https://localhost:9443/ -u RQMADMIN -p RQMPW
    Note: Installing the sample data might take a few minutes.
  6. The artifacts are created in the repository. To view the artifacts do the following steps.
    Tip: If you are in the Admin page from the previous lesson, click Back to Rational Quality Manager in the upper, left corner to return to the dashboard. Ensure that RQM Sample displays in the project area list in the upper, right corner of the dashboard.
    1. To see the test plans, point to the Planning icon (Planning), and click View Test Plans.
    2. To see the requirements, point to the Requirements icon (Requirements), and click View Requirements.
    3. To see the test cases, point to the Construction icon (Construction), and click View Test Cases.
    4. To see the test scripts, point to the Construction icon (Construction), and click View Test Scripts.
    5. To see the test execution records, point to the Execution icon (Execution), and click View Test Scripts.
      Note: If you do not see the sample data, click the Refresh icon (Refresh).
  7. Log out as administrator.
< Previous | Next >

Feedback