You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 7
Next »
Specific TDO Modules are available to allow interaction from within a Tosca Test Case to the Test Data Orchestrator
TDO Module for Items
This module allows the following operations for TDO Items:
CreateItem, UpdateItem, Find, LockItem, UnlockItem, DeleteItem
Description of the Module attributes
Attribute name | Description | Details |
---|
Configuration → JiraBaseURL | The BaseUrl of the Jira-Server | |
Configuration → JiraProjectKey | The Key of the Jira project | |
Configuration → Username | Jira Username | |
Configuration → Password | Jira Password | |
Item Key | Internal Key of an item | |
Task | Defines what operation the teststep should perform for an Item | CreateItem, UpdateItem, Find, LockItem, UnlockItem, DeleteItem |
Environment | Environment in which the Item Task is performed | |
Type | Type in which the Item Task is performend | |
Data structure → attributes | Expandable list of attributes. Used for Find and UpdateItem Task. | |
Result Buffers → attributes | Expandable list of attributes, used for Find Task. The attribute name represents the name of the buffer which should be filled with the found item value. the attribute value represents the TDO attribute name from which to get the value for the buffer. | |
Operations for Items
Create an Item
CreateItem
The following Teststepvalues need to be filled:
Attribute name | Input Value | Example |
---|
Configuration → JiraBaseURL | The BaseUrl of the Jira-Server | https://yourcompany.atlassian.net |
Configuration → JiraProjectKey | The Key of the Jira project | ABC |
Configuration → Username | Jira Username | user1 |
Configuration → Password | Jira Password | yourpassword |
Item Key | N/A | |
Task | CreateItem | CreateItem |
Environment | Environment in which the Item Task is performed | UAT |
Type | Type in which the Item Task is performend | Addresses |
Data structure → attributes | for each attribute: attribute name = TDO Type attribute attribute value = value of the Item attribute | |
Result Buffers → attributes | N/A | |
Here is an example of a TDO Item Expert Module Teststep:
Updates an Item
UpdateItem
The following Teststepvalues need to be filled:
Attribute name | Input Value | Example |
---|
Configuration → JiraBaseURL | The BaseUrl of the Jira-Server | |
Configuration → JiraProjectKey | The Key of the Jira project | |
Configuration → Username | Jira Username | |
Configuration → Password | Jira Password | |
Item Key | Item Key | |
Task | CreateItem | CreateItem |
Environment | Environment in which the Item Task is performed | |
Type | Type in which the Item Task is performend | |
Data structure → attributes | for each attribute: attribute name = TDO Type attribute attribute value = value of the Item attribute | |
Result Buffers → attributes | N/A | |
Find Items
Lock an Item
Unlock Item
Delete Item
TDO Module for Environments
TDO Module for Types