runner async does not do anything
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
runner async does not do anything
Hi,
we've installed TC12.3 and the call
Runner.CallObjectMethodAsync (<xyz>, "Click");
works fine with JScript, also with TC 11.
But...with JavaScript, the call does not do anything.
<xyz>.Click() works ok on the other hand.
Stopping the Execution of the test after calling CallObjectMethodAsync, the Click is performed suprisingly. Is the Call queued? Do we have to flush a queue?
We were advised to use JavaScript because of the many advantages and the newer Engine. But this is a blocker!
We have to open modal windows with the async-call.
Is there an issue with JavaScript and CallObjectMethodAsync?
sincerely,
P. Vinders
SOPTIM AG
Germany
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Additional infos added.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Unfortunately, I don't know if there any issue with the .CallObjectMethodAsync() method in JavaScript and you may consider contacting Support via the https://support.smartbear.com/message/?prod=TestComplete form.
> We have to open modal windows with the async-call.
Hera I can note that the .CallObjectMethodAsync() method helps to *close* some modal windows. To open any window, the regular <object>.Click() method should work fine.
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes Runner.CallObjectMethodAsync with Javascript doesn't work even on TC 12.5 . Tried different solution no luck finally used the same script save as Jscript and it started working
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try contacting "SmartBear Customer Care" as it mentioned above. They will send you a patch. I've just installed it and after few testing, I can say that problem seems to be fixed.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good to hear issue is fixed with patch , then I will contact the support Thanks
