g_kucharski
11 years agoOccasional Contributor
InvokeOnClick freezes whole TC
Hi,
I am writting tests in VBS for .net app based on Janus controls.
I am trying to invoke a CommandButton from their Ribbon.
I try sth like that:
Method seems to run ok, button is invoked, however... invoked command opens a new window. Test execution freezes until the window is closed. Changing settings of
Method Time Out
Aplication hanging timeout
does not help - the whole test is freezed. Any ideas howto go around that one?
I am writting tests in VBS for .net app based on Janus controls.
I am trying to invoke a CommandButton from their Ribbon.
I try sth like that:
objRibb.GetAllCommands.get_item_2(key).InvokeOnClick
Method seems to run ok, button is invoked, however... invoked command opens a new window. Test execution freezes until the window is closed. Changing settings of
Method Time Out
Aplication hanging timeout
does not help - the whole test is freezed. Any ideas howto go around that one?
- Hi Grzegorz,
See the description of the CallObjectMethodAsync method in TestComplete's help. It should do what you need.