Skip to content

setLabelsWithoutCreationEnabled (Creation & Assignment of Labels)

Compatible with:
  • Purpose
  • This command is used to only "assign" one or more label(s), that "already exist" at the root (or any other level) to a specific "Test Run/Scenario/Test Script" that is in the scope of the automated test in execution. You may also override/append the existing labels for the entities. This command will NOT create labels that do not exist in the system.  

    Below are the representations:
    "01" indicated "Test Scenario" and "02" indicates "Test Scripts"
    "O" indicates "Override" and "A" indicates "Append"
    If no such representations are mentioned, then it would consider the Test Run as default.

    If you want your project leads or managers (or specific individuals) within a project to 'define' the master list of the root cause for failures and the automated scripts have to assign (at their run time) only from that list, then this is the command you want to use.
  • Syntax
  • setLabelsWithoutCreationEnabled(parentLabelName||01/02||O/A,labelName)
  • Target
  • parentLabelName||01/02||O/A
  • Value
  • labelName (comma separated values in case of multiple labels)
  • Return Value
  • N/A
 

Feedback and Knowledge Base