Tools: Axosoft (OnTime)

This topic explains how to integrate TestRail with Axosoft (OnTime). There are currently three ways to integrate TestRail with Axosoft (OnTime), namely:

  • Using defect URLs to link test results to Axosoft (OnTime)
  • Using the defect plugin for Axosoft (OnTime) to push and look up defects
  • Using reference URLs to link test cases to Axosoft (OnTime)

You don't have to use all listed integration options and you can mix and match the integration with other tools. Configuring the integration usually only takes a few minutes and this guide explains how to configure the integration and how it works.

Defect URLs

The defect URLs are used to let TestRail know how to access your Axosoft (OnTime) instance. Once the URLs have been configured, a new Add link appears next to the Defects field in the Add Test Result dialog. This link allows you to jump to Axosoft's New Case form to report a new bug. Additionally, entered case IDs are linked to your OnTime instance to make it easier to track the status of your cases.

To configure Axosoft's URLs in TestRail, select Administration > Integration. You can alternatively enter separate bug tracker URLs for each project under Administration > Projects. Use the following example URLs to configure the addresses:

Axosoft  / OnTime Now (Hosted)
Defect View Url: https://name.ontimenow.com/viewitem.aspx?id=%id%&type=defects
Defect Add Url:  https://name.ontimenow.com/edititem.aspx?type=defects

OnTime 2011 or later
Defect View Url: http://your-server/viewitem.aspx?id=%id%&type=defects
Defect Add Url:  http://your-server/edititem.aspx?type=defects

OnTime 2009 or earlier
Defect View Url: http://your-server/defects/viewdefect.aspx?defectid=%id%
Defect Add Url:  http://your-server/defects/addeditdefect.aspx

Desktop client*
Defect View Url: https://store.axosoft.com/keyserver/viewitem.aspx?t=0&i=%id%

Desktop client alternative
Defect View Url: ontime://0_%id%

*) Desktop client: OnTime's desktop client uses a special protocol handler (ontime:) to allow links from web applications to bugs. Axosoft provides a special redirect link for this (via https://store.axosoft.com/).

Defect plugins

Defect plugins can be used to implement a deeper bug tracker integration and TestRail comes with ready-to-use OnTime defect plugins. TestRail comes with two different defect plugins for OnTime, depending on the OnTime version and API you use:

  • OnTime v13 or later
    Use this defect plugin (called OnTime_REST in TestRail) if you are using OnTime v13 or later (including OnTime Now). This defect plugin uses OnTime's new REST API for the integration.
  • OnTime v12 or earlier
    Use this defect plugin (called OnTime in TestRail) if you are using OnTime v12 or earlier. This defect plugin uses OnTime's SOAP API for the integration.

Reference URLs

The reference URLs are used to link test cases to cases stored in Axosoft (OnTime) via the References field. Once the URLs have been configured, case IDs entered in the References field are linked to your OnTime instance to make it easier to jump to related issues, feature specifications or requirements.

To configure Axosoft's URLs for the References field, select Administration > Integration. You can alternatively enter separate reference URLs for each project under Administration > Projects. Use the following example URLs to integrate TestRail with Axosoft:

Axosoft / OnTime Now (Hosted)
Reference View Url: https://name.ontimenow.com/viewitem.aspx?id=%id%&type=defects
Reference Add Url:  https://name.ontimenow.com/edititem.aspx?type=defects

OnTime 2011 or later
Reference View Url: http://your-server/viewitem.aspx?id=%id%&type=defects
Reference Add Url:  http://your-server/edititem.aspx?type=defects

OnTime 2009 or earlier
Reference View Url: http://your-server/defects/viewdefect.aspx?defectid=%id%
Reference Add Url:  http://your-server/defects/addeditdefect.aspx