What choice is better to run automations in multiple threads

Discussions and Tech Support related to using the iMacros Component for .NET in your applications.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
dsapo
Posts: 3
Joined: Mon Aug 06, 2018 2:35 pm

What choice is better to run automations in multiple threads

Post by dsapo » Mon Aug 06, 2018 2:51 pm

Hi Support:

I need to create a .NET application to navigate the same web site in 20 threads at a time in silent or hidden mode.

Our dilemma is what alternative would be the best in terms of performance and stability:

Alternative one: A Windows Forms application using the iMacros Browser

Alternative two: A Windows Form application using the iMacros .NET Component

Thanks in advanced

David
Tom, Tech Support
Posts: 3490
Joined: Mon May 31, 2010 4:59 pm

Re: What choice is better to run automations in multiple thr

Post by Tom, Tech Support » Mon Sep 03, 2018 9:11 am

Hi David,

Good question!

One thing you need to be aware of is that both the iMacros browser and the iMacros WebBrowser Component for .NET are based on the same underlying Microsoft WebBrowser Control, which itself is based on IE, so there isn't going to be hardly any difference in terms of functionality, performance, and stability at a core level.

Another thing to consider is that it's not possible to have a single multi-threaded application that uses the iMacros WebBrowser Component for .NET, as per this FAQ.

It is possible to launch multiple concurrent instances of the iMacros browser (or any other supported browser) using threads and the iMacros scripting interface included withe the Enterprise Edition. You've probably already found the sample projects included with the Enterprise trial that demonstrate how to do this.

So, the question really comes down to whether you are fine with launching an external browser from your .NET application for performing the automation, or whether you want to invest more development resources upfront to build the browser automation engine directly into your app using the .NET Component.
Regards,

Tom, iMacros Support
Post Reply