---
title: "AddTest (Opus Funktion)"
---
[TOC]

#### Beschreibung

Creates a new test record with the given name and returns its ID.

#### Argumente

<table style="table-layout: fixed; width: 100%;"><colgroup><col style="width: 12.8%"><col style="width: 9.4%"><col style="width: 77.8%"></colgroup><tr><th><p><strong>Name</strong></p></th><th><p><strong>Typ</strong></p></th><th><p><strong>Beschreibung</strong></p></th></tr><tr><td><p> Name</p></td><td><p><a href="/smt-school-professional/technische-dokumentation/opus-dokumentation/standard-datentypen/string/">string</a></p></td><td><p>name of the new test</p></td></tr></table>

#### Rückgabewert [<u>integer</u>](../../standard-datentypen/integer.md)

ID of the newly created test record

#### Beispiel

| `xxx` |
| --- |

#### Siehe auch

---
