Add tabs

To add tabs to the Defect form and show fields on these tabs:

  1. In “QC - Project Customization”, click Workflow > Script Editor.

  2. Select Defects module script.

  3. Add the following code to the GetNewBugPageName event procedure (which is triggered before QC opens the Add Defect dialog box).

    select case PageNum
      case "2"
        GetNewBugPageName = "SM Integration (New)"
    end select

    Note The parameter 2 specifies tab 2 (the second tab). For a new bug, the tab name is SM Integration (New).

  4. Add the following code to the GetDetailsPagename event procedure (which is triggered before QC displays the Defect Details dialog box).

    select case PageNum
      case "2"
        GetDetailsPageName = "SM Integration (Details)"
    end select

    Note The parameter 2 specifies tab 2 (the second tab). For an existing defect, the tab name is SM Integration (Details).