Skip to content

class AAction

Package: swiss.avm.up.core.generic.testing.javamodel.AAction

Direct Known Subclasses: ASetAction, TimeAction, ATestAction, AStorageAction


abstract class AAction extends Resource, AnnotableComment

An action within a test case is a specific step or operation that is performed to test a specific functionality of the software. Examples of actions in a TestCase are:

  • Entering data
  • Triggering an event
  • Executing a method
  • Changing the system state

These actions are crucial for checking the conditions and behaviour of the application under different scenarios. By precisely defining and executing actions within a test case, testers can ensure that the application reacts and functions as expected.

Properties

comment

Describes the intent of this Resource.

TextLiteral[0..1]

A Literal that accepts multiple lines of text.

execute

Specify in which case the current action should be executed:

- allways: Action is executed in any case
- passed: Action is executed when all previous actions have been successful.
- failed: Action is executed if any of the previous actions failed.

Execute[0..1]

Method Summary

displayName

@TestingFunctionSpace

getAction

Parameters:

TestCaseInstance
SuiteInstance
PlatformType

getAction

Parameters:

TestCaseInstance
TestTargetConfig

getActionIndex

@TestingFunctionSpace

Return:

IntegerLiteral

getActionName

Parameters:

TestCaseInstance

getAllTestControllerInterfaces

@TestingFunctionSpace

Return:

List<ATestController>

getExecuteOption

@FJUnitTesting

Parameters:

TestCaseInstance

getId

@FTesting

Parameters:

TestCaseInstance
SuiteInstance

getParameter

@TestingFunctionSpace

Return:

AParameter

getTestTarget

@FJUnitTesting

Return:

TestTarget

indexOf

@FTesting

Parameters:

TestCaseInstance

Return:

IntegerLiteral

internal_getActionName

name of action for JUnit Report

Parameters:

TestCaseInstance

modelTypeInAction

Return true, if a model type is used in this action.

Return:

BooleanLiteral