18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Multiple (parallel) tests
I really need some help in running multiple test scripts AT THE SAME TIME, if this is possible. I do NOT mean run a suite of test scripts (although this will ultimately be done, and I am already running a suite), because a suite runs ONE script and then another sequentially. I need the same instance of a script or suite of scripts to be ran at the same time.
My scenario:
We have an application which works on a SITE basis. We have three sites, but only ONE site can be accessed at a time (within one browser window). I have made all of my scripts generic so that they perform the same regardless of the site, but I presently have to run the suite three times. I need a way to have the script running across all three sites, at the same time. Can Sahi do this? Can someone show me an example.
Thank you.
My scenario:
We have an application which works on a SITE basis. We have three sites, but only ONE site can be accessed at a time (within one browser window). I have made all of my scripts generic so that they perform the same regardless of the site, but I presently have to run the suite three times. I need a way to have the script running across all three sites, at the same time. Can Sahi do this? Can someone show me an example.
Thank you.
Best Answers
-
Hi TSheelay,
What if you put the same script in suite file say 3 scripts of same name, and give the threads as 3 . So that simultaneously 3 same scripts will be running on whatever URL u have given.
Is this what you are looking for?
Regards,
Bhavitha -
Hi CKBhavitha, ashok,
This COULD be a solution. Except, I'm not sure about running a suite that has 3 scripts of same name. I think there is a strong chance that it will run the same script three times on the same environment.
In my scenario, there is only ONE url, but within the page there is a dropdown from which the user can choose the site. So I think I will need three separate scripts which do the same thing, once they have chosen the correct site. But I need them to run at the same time. I really need to see a working example of someone doing this sort of thing.
Thanks,
T
This discussion has been closed.
Answers
I'm using this tool last 2 years and based on my experience, sahi supports test execution in mulitiple browsers with multiple threads. Here is my suggestion. If the same scripts need to be run in 3 different url's and it possible to do this by using _datadrive() and using framework. Please let me know if you need any help.
Thnaks,
ashokan78@gmail.com
Ashokan.P