If you use Microsoft Team System or Mozilla Foundation Bugzilla to track and manage issues, you can create work items in your system directly from TestExecute.
In TestExecute, you specify templates that store connection parameters you use to connect to your issue-tracking system and mapping settings that specify the data to pass to work item fields. Then, you use the templates to create actual working items and send them to your issue-tracking system.
There are the following types of issue-tracking templates:
Global. Can be used by any project opened in TestExecute. To create, modify or delete them, use the Template Manager dialog.
To use a global template in your test project, reopen your project after you create and configure your global template.
Project-specific. They are available only to the project to which they belong. You can configure them using TestComplete.
There are also the following types of issue-tracking templates:
User issue-tracking templates. They are created, modified and deleted by a user. They can be used only in scripts.
System issue-tracking templates. They are created, used and deleted by plugins or by TestExecute subsystems. The subsystems or plugins may require these templates in order to automatically post bug reports to issue-tracking systems. The system templates are created and deleted automatically by the subsystems or plugins. You cannot delete these templates manually.
|Note:||Despite the fact that system templates are created and deleted automatically, the values of their properties cannot be set automatically, since the subsystems or plugins do not know the parameters needed to connect to your issue-tracking database. So, you should set up these parameters manually in order for the subsystems (or plugins) to be able to use the templates.|
Though system templates are used by the TestExecute subsystem or templates, you can also use them in scripts the same way you would employ user templates.
Using Templates to Send Reports
You can configure your tests to send bug reports to Microsoft Visual Studio Team System or Mozilla Foundation Bugzilla:
Create a connection to the needed issue-tracking system. To do this, click Issue-Tracking | Connection Manager in TestExecute’s main menu and set the connection parameters in the Connection Manager dialog.
Configure the template that TestExecute will use to create issues. To do this, click Issue-Tracking | Template Manager in TestExecute’s main menu and edit the template in the Template Manager dialog.
In TestComplete, add instructions to your tests that will use the template to create and submit issues. For information on how to do this, see TestComplete documentation.
When you run tests, TestExecute will connect to the specified issue-tracking system and submit the created items.