...
qTest Test Logs have a sub-record, Test Step Log. Add the qTest Test Step Log as a record as well. Start by adding the Record Type Name under Record Types
Code Block language json "Record Types": [ { "Name": "qTest Test Step Log" } ]
Here is the updated Records Management Policy with above code block:
Code Block language json { "Records Management Policy": { "Version": "1.0.0.0", "Record Types": [ { "Name": "qTest Test Run", "Definitions": [ { "Systems": ["qTest"], "Item Types": ["test-run"], "Singular Name": "Test Run", "Plural Name": "Test Runs" } ], "Author": { "Source": "Actual Testers" }, "Fields": [ { "Name": "Status", "Is Data": true }, { "Name": "Test Case ID", "Is Data": true }, { "Name": "Test Case Version", "Is Data": true }, { "Name": "Target Release/Build", "Is Data": true }, { "Name": "Execution Type", "Is Data": true } ] }, { "Name": "qTest Test Log", "Definitions": [ { "Systems": ["qTest"], "Item Types": ["test-log"], "Singular Name": "Test Log", "Plural Name": "Test Logs" } ], "Fields": [ { "Name": "Test Case Name", "Is Data": true }, { "Name": "Test Case ID", "Is Data": true }, { "Name": "Test Case Version", "Is Data": true }, { "Name": "Status", "Is Data": true }, { "Name": "Tester", "Is Data": true }, { "Name": "Target Release/Build", "Is Data": true }, { "Name": "Execution Type", "Is Data": true }, { "Name": "Executed Start", "Is Data": true }, { "Name": "Executed End", "Is Data": true }, { "Name": "Execution Log Notes", "Is Data": true } ] }, { "Name": "qTest Test Step Log" } ] } }
Add the qTest Test Step definition with the System qTest and Item Type test-step-log.
Code Block language json "Definitions": [ { "Systems": ["qTest"], "Item Types": ["test-step-log"], "Singular Name": "Test Step Log", "Plural Name": "Test Step Logs" } ]
Here is the updated Records Management Policy with above code block:
Code Block language json { "Records Management Policy": { "Version": "1.0.0.0", "Record Types": [ { "Name": "qTest Test Run", "Definitions": [ { "Systems": ["qTest"], "Item Types": ["test-run"], "Singular Name": "Test Run", "Plural Name": "Test Runs" } ], "Author": { "Source": "Actual Testers" }, "Fields": [ { "Name": "Status", "Is Data": true }, { "Name": "Test Case ID", "Is Data": true }, { "Name": "Test Case Version", "Is Data": true }, { "Name": "Target Release/Build", "Is Data": true }, { "Name": "Execution Type", "Is Data": true } ] }, { "Name": "qTest Test Log", "Definitions": [ { "Systems": ["qTest"], "Item Types": ["test-log"], "Singular Name": "Test Log", "Plural Name": "Test Logs" } ], "Fields": [ { "Name": "Test Case Name", "Is Data": true }, { "Name": "Test Case ID", "Is Data": true }, { "Name": "Test Case Version", "Is Data": true }, { "Name": "Status", "Is Data": true }, { "Name": "Tester", "Is Data": true }, { "Name": "Target Release/Build", "Is Data": true }, { "Name": "Execution Type", "Is Data": true }, { "Name": "Executed Start", "Is Data": true }, { "Name": "Executed End", "Is Data": true }, { "Name": "Execution Log Notes", "Is Data": true } ] }, { "Name": "qTest Test Step Log", "Definitions": [ { "Systems": ["qTest"], "Item Types": ["test-step-log"], "Singular Name": "Test Step Log", "Plural Name": "Test Step Logs" } ] } ] } }
Add the Record Fields you want to include in Vera by adding Fields to Record Type. Add the Status, Description, Expected Result, Actual Result, Executed and Tester
Code Block language json "Fields": [ { "Name": "Status", "Is Data": true }, { "Name": "Description", "Is Data": true }, { "Name": "Expected Result", "Is Data": true }, { "Name": "Actual Result", "Is Data": true }, { "Name": "Executed", "Is Data": true }, { "Name": "Tester", "Is Data": true } ]
Here is the updated Records Management Policy with above code block:
Code Block language json { "Records Management Policy": { "Version": "1.0.0.0", "Record Types": [ { "Name": "qTest Test Run", "Definitions": [ { "Systems": ["qTest"], "Item Types": ["test-run"], "Singular Name": "Test Run", "Plural Name": "Test Runs" } ], "Author": { "Source": "Actual Testers" }, "Fields": [ { "Name": "Status", "Is Data": true }, { "Name": "Test Case ID", "Is Data": true }, { "Name": "Test Case Version", "Is Data": true }, { "Name": "Target Release/Build", "Is Data": true }, { "Name": "Execution Type", "Is Data": true } ] }, { "Name": "qTest Test Log", "Definitions": [ { "Systems": ["qTest"], "Item Types": ["test-log"], "Singular Name": "Test Log", "Plural Name": "Test Logs" } ], "Fields": [ { "Name": "Test Case Name", "Is Data": true }, { "Name": "Test Case ID", "Is Data": true }, { "Name": "Test Case Version", "Is Data": true }, { "Name": "Status", "Is Data": true }, { "Name": "Tester", "Is Data": true }, { "Name": "Target Release/Build", "Is Data": true }, { "Name": "Execution Type", "Is Data": true }, { "Name": "Executed Start", "Is Data": true }, { "Name": "Executed End", "Is Data": true }, { "Name": "Execution Log Notes", "Is Data": true } ] }, { "Name": "qTest Test Step Log", "Definitions": [ { "Systems": ["qTest"], "Item Types": ["test-step-log"], "Singular Name": "Test Step Log", "Plural Name": "Test Step Logs" } ], "Fields": [ { "Name": "Status", "Is Data": true }, { "Name": "Description", "Is Data": true }, { "Name": "Expected Result", "Is Data": true }, { "Name": "Actual Result", "Is Data": true }, { "Name": "Executed", "Is Data": true }, { "Name": "Tester", "Is Data": true } ] } ] } }
Now we have a Records Management Policy configured for qTest integration. The completed JSON file with qTest Manual Test, qTest Automated Test and qTest Test Runs can be downloaded:
Next we will add Test Runs to the Records Management Policy Add Test Run Records to Records Management Policy