abstractExecuteScriptWithArguments
Hierarchy
- Interaction
- ExecuteScriptWithArguments
Index
Methods
Constructors
Methods
instantiationLocation
Returns the location where this Activity was instantiated.
Returns FileSystemLocation
toString
Generates a human-friendly description to be used when reporting this Activity.
Note: When this activity is reported, token
#actor
in the description will be replaced with the name of the actor performing this Activity.For example,
#actor clicks on a button
becomesWendy clicks on a button
.Returns string
publicabstractwithArguments
Instantiates this Interaction
Parameters
rest...args: any[]
Arguments to parametrise the script with
Returns Interaction
performAs
Parameters
actor: UsesAbilities & CollectsArtifacts & AnswersQuestions
Returns Promise<void>
Constructors
constructor
Parameters
description: string
script: string | Function
args: any[] = []
Returns ExecuteScriptWithArguments
Allows for a script to be executed to be parametrised.
Learn more