Versions Compared

Key

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

...

Code Block
titleSome mappings we can export from Test Runs Parameters
// Iterating each test run
#{for testruns}
	// Iterating over parameters for each test run
    Parameters Total: ${TestRuns[n].ParametersCount}
	#{for m=TestRuns[n].ParametersCount}
        Key: ${TestRuns[n].Parameters[m].Key}
        Value: ${TestRuns[n].Parameters[m].Value}
    #{end}
#{end}


Exporting Test Runs Preconditions from a Test Execution

Below you can find an example of how to iterate over the list of Test Run Preconditions associated with a Test Execution.

Code Block
titleSome mappings we can export from Test Run Iterations
// Iterating each test run
#{for testruns}
    // Iterating over Preconditions for each test run
    #{for l=TestRuns[n].PreConditionsCount}
        Definition: ${TestRuns[n].PreConditions[l].PreCondition.Definition}
        Type: ${TestRuns[n].PreConditions[l].PreCondition.Type}
    #{end}
#{end}


Exporting Test Runs Iterations from a Test Execution

...