Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97826

How to Run Parallel Tests with Selenium Standalone?

$
0
0

I am developing a Java-based test automation project and using Selenium Standalone to run my tests. Currently, I can run tests on a single browser instance, but I want to execute parallel tests.

I tried using Selenium Grid, but I couldn't configure it properly. As an alternative, I attempted to run two separate Selenium Standalone instances on different ports (e.g., 4444 and 4445). However, I am not sure how to distribute tests between these instances in my code.

I know that Selenium Grid handles this automatically, but how can I manage parallel test execution using Selenium Standalone?

Any guidance on how to structure my code for this would be greatly appreciated!

Thanks!

I tried running two Selenium Standalone instances on ports 4444 and 4445. I expected my tests to distribute between them automatically, but instead, all tests ran on a single instance. I need a way to manage parallel execution across multiple standalone instances.


Viewing all articles
Browse latest Browse all 97826

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>