Is it possible to call .NET Invoke method from SilkTest test case?
I can call it using DynamicInvoke
method, but I don't know what to pass as parameters that would be equal to method delegate.
It's not possible to call methods with DynamicInvoke
that require arguments that can't be represented by Silk Test's types or offer a simple constructor which can be auto-detected (default constructor, or constructor taking a String
argument).
That being said, there might be solutions to your issue:
Invoke
call, and call that wrapper method insteadDynamicInvoke
arbitrary static methods in you application, which again can be used as a wrapper around Invoke
.