Jump to content
Sign in to follow this  
alanchinese

Run multiple instances of AutoIt GUI script in background thread

Recommended Posts

alanchinese

Hello, I am trying to generate some loads of my AutoIt script, wondering if I can fire off my script in the background thread. I know some C# and think that running it in windows service could serve the purpose. Is there a better way?

Share this post


Link to post
Share on other sites
water

GUI and background (service) don't work well together.

Can you elaborate more on what you try to achieve?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
alanchinese

I have a thick app that does data entry, calculation, and interact with database. I want to create a load (100+ concurrent users) and avoid using HP LoadRunner.

Share this post


Link to post
Share on other sites
water

It depends. Did you write the application or is it a third party application which you automate with your script?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
alanchinese

i wrote this application, though i want to know how to handle the third party applications too. are there different approaches?

Share this post


Link to post
Share on other sites
water

Running multiple instances of your own application should be easy. Often when you automate a third party application you use Send etc. which will lead to troubles when you run multiple instances of your script.

On how many PCs do you want to run the 100+ users.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
alanchinese

I am planning to use one PC though I can add another one or two. The whole purpose is to simulate the load. Not quite sure how mouse clicks and keyboard actions are accomplished while the application is running in the background. Also, I am trying to find out how the load testing tools (HP LoadRunner) is architecting this solution.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×