> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionTestGetCurrentCycle

# testGetCurrentCycle

**Valid for**: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

## Function Syntax

```
long testGetCurrentCycle ();
```

## Description

Returns the current cycle of the test.

## Parameters

—

## Return Values

* **> 0**: current cycle of the test
* **-1**: General error

## Example

—

• Technical References are only available in English
