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:
- The Download Artifacts retrieves the binary
files.
- 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.
- 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.
- The Upload Asset step publishes the Selenium test results
to the Rational Asset Manager server.
- 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.