Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly contextType

contextType: string = "account"

Optional jobID

jobID?: string

name

name: string

options

options: SuiteOptions = ...

Static Readonly childTypes

childTypes: readonly string[] = ...

Static Readonly resourceType

resourceType: string = "suite"

Static Readonly resourceTypeRun

resourceTypeRun: string = "Suite"

Methods

delete

  • delete(): Promise<void>

deleteTest

  • deleteTest(index: number): Promise<void>

getContextID

  • getContextID(): undefined | number

getContextType

  • getContextType(): string

getResourceID

  • getResourceID(): undefined | number

getTests

  • getTests(): Promise<readonly Test[]>

insertTest

  • insertTest(test: Test, index?: number): Promise<void>

progress

run

  • run(emailUsers?: number[], variables?: Record<string, string>): Promise<string>
  • Run the resource in DataTrue

    Parameters

    • emailUsers: number[] = []
    • variables: Record<string, string> = {}

    Returns Promise<string>

    Promise of the jobID

save

  • save(): Promise<void>

setContextID

  • setContextID(id: undefined | number): void

setOptions

setResourceID

  • setResourceID(id: undefined | number): void

setVariable

  • setVariable(name: string, type: VariableTypes, value: string): void

toJSON

  • toJSON(): Promise<Record<string, any>>

toString

  • toString(): Promise<string>

Static fromID

  • fromID(id: number): Promise<Suite>

Static fromJSON

  • fromJSON(obj: Record<string, any>, copy?: boolean): Suite

Generated using TypeDoc