Gets the current VU instance, as the most specialised subclass of
VirtualUser.
Namespace: Facilita.Fc.RuntimeAssembly: fc_clr (in fc_clr.dll) Version: 9.5.7.98
public VirtualUser VU { get; protected internal set; }
Field Value
The current VU instance.
If you have added methods to a custom Virtual User subclass, you can call them
on the object returned from this method.
The following example demonstrates calling a custom method on a customised subclass of
VirtualUser from within the
Script method.
MyCustomUser thisVU = this.VU;
thisVU.MyCustomOperation();
MyCustomUser thisVU = this.VU;
thisVU.MyCustomOperation();