VirtualUserScript SetProgressPoint Method (String, Boolean)C# API
Sets a progress point in the VU event log, specifying whether the progress point passed.

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

public void SetProgressPoint(
	string progressPoint,
	bool pass
)

Parameters

progressPoint
Type: System String
The progress point identifier, which will appear in the Progress Point column in Test Controller.
pass
Type: System Boolean
true if the progress point should be interpreted as a pass; otherwise, false.
Remarks

A progress point can be used to indicate that the execution of a script has reached a certain point, or that the application under test is in a certain state. The progressPoint text, and whether it passed or failed will be written to the VU event log, and will appear in Test Controller summary views during the test.
Examples

The following example demonstrates setting a progress point to indicate that a logon attempt has taken place, and whether it succeeded or failed.
SetProgressPoint("AtLogon");

string response = ....   // the response from the server 
if (response.Contains("Invalid User or Password"))
{
    SetProgressPoint("logon", false);   // logon failed
}
else
{
    SetProgressPoint("logon", true);   // logon OK
}
See Also