VirtualUserScript GetUniqueID Method C# API
Gets a test-wide unique identifier for a specified Virtual User within a Virtual User group.

Namespace: Facilita.Fc.Runtime
Assembly: fc_clr (in fc_clr.dll) Version: 9.5.7.98
Syntax

public int GetUniqueID(
	string groupName,
	int index
)

Parameters

groupName
Type: System String
The group name.
index
Type: System Int32
The index of the Virtual User within the group.

Return Value

The unique identifier of the Virtual User.
Remarks

The first VU has identifier 1.
Examples

The following example demonstrates getting the unique identifier for the 5th VU in the Supervisors Virtual User group.
int VuNum = GetUniqueID("Supervisors", 5);
See Also