Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Add a Record Type Name. We are going to start by defining a qTest Test Run. We will create a unique test runs run record type for qTest and Tosca tests:

    Code Block
    languagejson
    {
      "Revision": "2",
      "Records Management Policy": {
        "Version": "Vera Tutorial 2",
        "Schema": {
          "ID": "http://tx3services.com/schemas/0/0/records-management-policy.json",
          "Major": "0",
          "Minor": "0"
        },
        "Record Types": [
          {
            "Name": "qTest Test Run"
          }
        ]
      }
    }
  2. Define the Record Type by System and Item Type. qTest is the System and the Item Type is test-run:

    Code Block
    languagejson
            "Definitions": [
              {
                "Systems": ["qTest"],
                "Item Types": ["test-run"],
                "Singular Name": "Test Run",
                "Plural Name": "Test Runs"
              }
            ]

    Here is the updated Records Management Policy with above code block:

    Code Block
    languagejson
    {
      "Revision": "2",
      "Records Management Policy": {
        "Version": "Vera Tutorial 2",
        "Schema": {
          "ID": "http://tx3services.com/schemas/0/0/records-management-policy.json",
          "Major": "0",
          "Minor": "0"
        },
        "Record Types": [
          {
            "Name": "qTest Test Run",
            "Definitions": [
              {
                "Systems": ["qTest"],
                "Item Types": ["test-run"],
                "Singular Name": "Test Run",
                "Plural Name": "Test Runs"
              }
            ]
          }
        ]
      }
    }
  3. Define the record Author. The record Author can be the Route Owner (the person who routed the record for approval) by a record field value or by the Actual Testers. Actual Testers are the people who created qTest Execution Logs and executed Execution Log Steps:

    Code Block
                "Author":
                  {
                    "Source": "Actual Testers"
                  }

    Here is the updated Records Management Policy with above code block:

    Code Block
    languagejson
    {
      "Revision": "2",
      "Records Management Policy": {
        "Version": "Vera Tutorial 2",
        "Schema": {
          "ID": "http://tx3services.com/schemas/0/0/records-management-policy.json",
          "Major": "0",
          "Minor": "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"
              }
          }
        ]
      }
    }
  4. We are not adding any Constraints to the qTest Test Run record because all qTest Test Runs will be defined as qTest Test Runs in Vera. Add the Record fieldsyou want to include in Vera by adding the Fields section to the Record Type. Add the Status, Test Case ID, Test Case Version, Target Release/Build, and Execution Type:

    Code Block
    languagejson
            "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
              }

    Here is the updated Records Management Policy with above code block:

    Code Block
    languagejson
    {
      "Revision": "2",
      "Records Management Policy": {
        "Version": "Vera Tutorial 2",
        "Schema": {
          "ID": "http://tx3services.com/schemas/0/0/records-management-policy.json",
          "Major": "0",
          "Minor": "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
              }
            ]
          }
        ]
      }
    }

...