Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8770337
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T17:32:29+00:00 2026-06-13T17:32:29+00:00

I have got three selenium test classes and have created three ant targets for

  • 0

I have got three selenium test classes and have created three ant targets for the same.
When executed those targets in PARALLEL mode, starts three test windows.

<target>
  <some task is done here>
  <parallel>
    <target test1>
    <target test2>
    <target test3>
  </parallel>
</target>

Everything goes fine until one test class finishes running all its methods and somehow shutsdown the selenium server causing other test cases to fail.

My base class tearDown() method has selenium.stop() as I need to close the browser windows once my test execution is done.
I tried using selenium.close() but that gives me a pop up, and I have got three windows including selenium log window for a single test case.

Is there any way I can achive parallel test run.

I need to execute these test cases from ANT..

I am using selenium 2.21.0.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T17:32:30+00:00Added an answer on June 13, 2026 at 5:32 pm

    You better go with selenium grid rather than using ant.Selenium grid is the best way to execute test cases in parallel.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Google Test Framework to set some unit tests. I have got three
I got three elements defined in a dtd which have the same child element
I've got three computers which should have the same settings for all their applications.
I have got three stores installed on the same installation of Magento Enterprise edition.
have dumb question. Here I've got three events calling the same function, connected to
In Unix, I have got three main files. One of them is a library
I have got as follows: use constant ABC => ('one', 'two', 'three'); and I
I've got an app with three spinners, they have unique IDs and I'm trying
I've got main folder: c:\test And there I have 2 folders: Movies and Photos.
I have a form where I've got three checkboxes like this: <td>Wireless <input type=checkbox

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.