Test Wizards - campsych/concerto-platform GitHub Wiki

Test Wizards are a layer that can be put on top of any test with input parameters defined. They allow the user to define more complex input methods for each parameter value but are otherwise cosmetic in nature, allowing you to simplify and save time in complex applications that reuse many of the same functions.

Base properties

  • Accessibility – Describes who can view and edit an object in the administration panel. This can be one of the following:
    • private – Can only be accessed by owner of the object, or super admins.
    • group – Can be accessed by owner, users belonging to the same group as the object, or super admins.
    • public – Can be accessed by anyone logged in to the administration panel.
  • Archived – Archived objects will not be selectable from test wizard parameters.
  • Description – Text describing the purpose of the object. This is visible as contextual information when using this object.
  • Groups – Groups that this object belongs to. Used in conjunction with Accessibility.
  • Name – Unique, human readable identifier, that will be used to reference the test in your test logic.
  • Test – Specifies the source test for which you are making a wizard.
  • Owner – Object owner. Used in conjunction with Accessibility.

Test Wizard Steps

Used to group test wizard parameters into thematic sections. Each step is described by the following properties:

  • Title – Step title, that will be visible as a tab name for that step or group of steps in the wizard.
  • Description – Description or instructions that will be visible to users while on a given step in the wizard.
  • Order – Order index of the wizard step. These values are used to sort the steps in the test wizard.

Test Wizard Parameters

These allow the user to define more complex methods, or extensions, for editing the input parameter values of the source test. Each test wizard parameter is described by the following properties:

  • Step – The test wizard step that this parameter relates to. Each test wizard parameter needs to be attached to a single step.
  • Test variable – The input parameter in the source test of which this test wizard parameter is an extension.
  • Label – Text label of wizard parameter that will be visible in the test wizard.
  • Type – The type of editing method that this wizard parameter will perform on the source test variable. This can be one of the following:
    • Checkbox
    • Data table
    • Data table column
    • Data table column map
    • Drop-down list
    • Group
    • HTML
    • List
    • Multi-line text
    • R code
    • Single-line text
    • Test
    • Test wizard
    • View template
  • Hide condition – Used to hide parameter editor depending on values of other parameters. E.g.:
    values.showOptions == 0

    for hiding parameter when showOptions parameter (checkbox) is unchecked.
  • Definition – More detailed definition of a wizard parameter. The value of this property depends on the Type of parameter you are working with e.g. default value, group fields, drop-down list options, etc.
  • Passable through URL – Override for URL flag of input parameter.
  • Order – Parameters will be sorted by this value inside their parent step.

Test Wizard Preview

Preview of how the test wizard will look. Here you can see all steps (as tabs), and their parameters. It is a good place to to set the default values for your test wizard.

⚠️ **GitHub.com Fallback** ⚠️