Function

class Function
Clone()

Call this method if you want to use API-objects in multiple contexts, e.g. if you want to insert a specific test step in multiple blocks.

Returns:

A copy of this object

Return type:

Function

GetFile()

Returns the function access file.

Returns:

Function access file

Return type:

str

GetName()

Returns the name of the function access.

Returns:

Name of the function

Return type:

str

GetPort()

Returns the function access port.

Returns:

Function access port

Return type:

str

Rename(newFunctionKey)

Renames the function access.

Parameters:
newFunctionKey : str

New name of the function

SetFile(functionFile)

Sets the function access file.

Parameters:
functionFile : str

Function access file to be set

SetPort(functionPort)

Sets the function access port.

Parameters:
functionPort : str

Function access port to be set