Example: Running Selenium tests

The following component process deploys an application and then runs an associated Selenium test on the deployment, and then updates the status of the asset in the library server based on the test results.
This process assumes that the application binary files are in the component. It also assumes that the environment contains an installation of Rational® Asset Manager. The process runs the following steps in order:
  1. The Download Artifacts retrieves the binary files.
  2. The Execute Test Case step runs specified tests using Selenium and Rational Asset Manager. To learn more about running test cases with Rational Asset Manager, see Rational Quality Manager plug-in.
  3. Based on the outcome of the Execute Test Case step, the Categorize an Asset step is used to mark the status of the component asset as Test Passed or Test Failed.
  4. The Upload Asset step publishes the Selenium test results to the Rational Asset Manager server.
  5. The Create Relationship to an Asset sets up a relationship between the Selenium test results and the application component, using the environment properties that were stored when the application was deployed to access the correct application component and version.
A component process that deploys an application and then runs Selenium tests and stores the results in Rational Asset Manager

Feedback