Link and Report Scenario Results in qTest Manager
This 'Pulse Rule' sample allows you to report and view Scenario test progress in qTest Manager by linking your Scenario requirements to qTest Manager.
Pulse Rules v9.0
-
UpdateqTestAndScenarioWithFormattedResults.js QASymphony/Pulse Rules repository.
-
LinkScenarioRequirements.js QASymphony/Pulse Rules repository
Pulse Rules v9.1
-
UpdateqTestAndScenarioWithFormattedResults.js QASymphony/Pulse Rules v9.1 repository.
-
LinkScenarioRequirements.js QASymphony/Pulse Rules v9.1 repository
UpdateqTestAndScenarioWithFormattedResults.js
Set up 'Rules' for your own 'Trigger' (webhook) and use the sample 'Actions' provided below.
Setup Pulse Rule
-
Review the qTest Pulse Quick Start Guide for your version of Pulse for complete instructions on how to add Pulse Triggers, Actions, and Rules.
-
Enter the sample Program Code in the Pulse Actions. Note: For the most up to date sample program code, view the QASymphony/PulseRules repository linked above.
Constants
Anything that uses constants.X will need your own constants value.
Pulse Rules v9.0
-
constants.qTestAPIToken
-
constants.ManagerURL
Pulse Rules v9.1
-
constants.qTest_TOKEN
-
constants.ManagerURL
Variables
Pulse Rules v9.0
emitEvent=Update the values with a $ and all caps.
Example: In UpdateqTestAndScenarioWithFormattedResults.js, please replace $YOUR_SLACK_EVENT_NAME
Pulse Rules v9.1
Variables do not need to be updated for Pulse 9.1 by the user.
LinkScenarioRequirements.js
Set up 'Rules' for your own 'Trigger' (webhook) and use the sample 'Actions' provided below.
Setup Pulse Rule
-
Review the qTest Pulse Quick Start Guide for your version of Pulse for complete instructions on how to add Pulse Triggers, Actions, and Rules.
-
Enter the sample Program Code in the Pulse Actions. Note: For the most up to date sample program code, view the QASymphony/PulseRules repository linked above.
Constants
Anything that uses constants.X will need your own constants value.
Pulse Rules v9.0
-
constants.qTestAPIToken
-
constants.Scenario_Account_ID
-
constants.Scenario_Project_ID
-
constants.ManagerURL
Pulse Rules v9.1
-
constants.Scenario_URL
-
constants.qTest_TOKEN
-
constants.Scenario_Project_ID
-
constants.ManagerURL
Variables
Pulse Rules v9.0
emitEvent=Update the values with a $ and all caps..
Example: In LinkScenarioRequirements.js, please replace $YOUR_SLACK_EVENT_NAME
Pulse Rules v9.1
Variables do not need to be updated for Pulse 9.1 by the user.