You can use HCL Quality Server to
display the results of tests that you run in both HCL OneTest™ API
and HCL Quality Server.
Procedure
- Make sure that HCL Quality Server is
configured to use the database driver that corresponds to the results
database whose contents you want to display. To use a database driver,
copy the .jar file to the following folder:
Quality_Server_installation_directory\usr\servers\defaultServer\apps\RTCP.war\WEB-INF\lib
- On the Results page of the user
interface for HCL Quality Server,
locate the Database field. In the Database field,
select the database to be displayed.
To add a database
to the list, two methods are available:
- In HCL OneTest API, complete the following steps:
- From the top menu, click .
- Click the Server Settings tab.
- In the HCL Quality Server section, click Publish results database connection.
- Refresh the Results page in your browser.
- In HCL Quality Server,
complete the following steps:
- In the top menu, click Administration.
- Click the Results databases tab.
- Click New.
- Optional: In the Enter new database details window,
enter a name for the database. This field has no label. If you leave
the field blank, a descriptive name is created for you.
- In the Type field, select the type of the
database:.
- A template for the JDBC URL, which is based on database type,
is displayed in the Database URL field. Edit
this field to match the value for your database. For more information
on the specification of database URLs when using IP literal addresses,
see IP literal address.
- If credentials are required to access the database, complete the Username and Password fields.
- Click Test Connection to verify the information
that you entered. If an error message is displayed, review the contents
of the Database URL field.
- When the information is correct, click Save.
- Return to the Results page. The new database
entry is now listed in the Database field.
- Use the Type field to filter results
by the following types of results:
- Tests
- Results that are generated by single tests.
- Suites
- Results that are generated by test suites.
- Stubs
- Results that are generated by stubs.
- Test cycles
- Results that are generated by full test cycles.
- Use the Name field to filter results
according to the name of the test, suite, stub, or cycle. Partial
names are recognized, and a percent sign (%) can be used as a wildcard
to match any number of characters. Contents of the field are not case
sensitive. If you have a test suite named "DataTestSuite", then "data",
"Test", or "Data%Suite" finds the results for the suite. Leave this
field empty to retrieve all results.
- Use the From and To fields
to provide a date range for the displayed results.
- Click Search to display the requested
results.
Note: The Domain field
is not relevant to the Results page.
- To view more detailed results, click the link in the Start
time column for any displayed result. A
new page is displayed that contains execution records for the selected
test, suite, stub, or cycle.
What to do next
To return to a particular set of results, you can bookmark
or share the URL in the address line of your browser at any of the
following points:
- After you complete a search
- After you select a test, suite, stub, or cycle
- After you open the execution records page
- After you select an execution record