# getverdict

The keyword getverdict belongs to the family of verdict operations. It is used to retrieve the local verdict of the test component it is executed in.

- The operation returns one of four different values: pass, fail, inconc, none.
- Verdict operations shall only be used in test cases, altsteps and functions.

Related keywords:

- error
- fail
- inconc
- none
- pass
- setverdict
- verdicttype

### getverdict

Example 1:

var verdicttype v_cour := none;
v_cour := getverdict;

The local verdict of the test component is stored in the variable v_cour.

BNF definition of getverdict