TestObjects forward method calls to the respective proxy using the InvokeProxy method, as shown in the following example. The method is actually implemented in the proxy.
public virtual void PerformClick() {
InvokeProxy("performClick");
}
public void Click(Rational.Test.Ft.Script.Index subitem) {
InvokeProxyWithGuiDelay("click", "(L.script.Index;)", new System.Object[]{subitem});
}
In this example, the "PerformClick()" method of TestObject calls the performClick() method of the proxy. The proxy carries out the actual playback operation of performClick().