Question
QBE
PH
Last activity: 6 Sep 2022 9:38 EDT
Method Invocation for method Error
Hello Good Day!
We noticed a recurring Method invocation error whenever we run an automation file without any breakpoint on it.
To give context, we are calling a Focus then a SendKeys method of a <div> in order to open a Browse Dialog window in a Web Adapter, reason for these is that the Perform Click method of the button does not trigger open the Browse Dialog window.
The error occurs when the Control is passed on the WaitForCreate method and trying to do the Focus method.
But when we ran this certain code with a breakpoint in it, it does work.
Attached is the sample snippet of the code and the invocation error returned.