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 6024043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:05:50+00:00 2026-05-23T04:05:50+00:00

I am trying to run a series of HTML selenium tests using the selenese

  • 0

I am trying to run a series of HTML selenium tests using the selenese command through Selenium Maven plugin (version 1.1) in the hopes of coming up with a solution to able to run these tests across different browsers (Chrome, Firefox, Internet Explorer, Safari). Through Maven I would be able to create different profiles by entering different browser values as properties. I am also planning on running this on a continuous integration server like Hudson down the road.

However, right now, I am faced with a dilemma. I am able to get FireFox 4 to display the TestRunner thanks to some help from this forum by getting the plugin to use Selenium Server 2.0. However, when the browser is activated, TestRunner just sits there and it doesn’t run the tests in the suite automatically.

If I run the test suite in Selenium IDE, it runs perfectly fine, so I know there is no issue with the test suite. I have also run the test suite using the IE browser option and it ran fine without any issues. I have also confirmed that by downgrading to Firefox 3.6 it will run, so I am fairly certain that this has to do with Firefox 4 and the Maven Selenium plugin.

Please see a snippet of my POM file below.

....
<properties>
    <selenium.server.version>2.0a7</selenium.server.version>
</properties>
<build>
    <plugins>
        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>selenium-maven-plugin</artifactId>
            <version>1.1</version>
            <configuration>
                <browser>*firefox</browser>
                <suite>src/test/selenium/html/suite.html</suite>
                <startURL>http://localhost:5555/</startURL>
                <port>5555</port>
            </configuration>
            <dependencies>
                <dependency>
                    <groupId>org.seleniumhq.selenium</groupId>
                    <artifactId>selenium-server</artifactId>
                    <version>${selenium.server.version}</version>
                    <exclusions>
                        <!-- prevent ant:ant versus org.apache.ant:ant collision -->
                        <exclusion>
                            <groupId>ant</groupId>
                            <artifactId>ant</artifactId>
                        </exclusion>
                    </exclusions>
                </dependency>
            </dependencies>
            <executions>
                <execution>
                    <id>Run-Selenese-Scripts</id>
                    <phase>integration-test</phase>
                    <goals>
                        <goal>selenese</goal>
                    </goals>
                    <configuration>
                        <port>5555</port>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>
....

I run the script using the Maven command mvn integration-test, and as I mentioned earlier it brings up the TestRunner page, but the tests do not run automatically. The URL that it uses is as follows.

chrome://src/content/TestRunner.html?auto=true&multiWindow=false&defaultLogLevel=info&baseUrl=http%3A%2F%2Flocalhost%3A5555%2F&resultsUrl=http://localhost:5555/selenium-server/postResults&test=http%3A%2F%2Flocalhost%3A5555%2Fselenium-server%2Ftests%2Fsuite.html

What I find strange is that when I change the above URL to the following URL, it runs the tests automatically, which is exactly what I want.

http://localhost:5555/selenium-server/core/TestRunner.html?test=..%2Ftests%2Fsuite.html&resultsUrl=http%3A%2F%2Flocalhost:5555%2Fselenium-server%2FpostResults

My question is there a way to get the Maven-Selenium plugin to run automatically for Firefox 4 by using the URL that works? Is there some setup that I would need to configure?

If the answer is no, then what would be the most convenient way to run Selenium HTML scripts so that they are running independently of the browser. Also, would I be able to run those tests on a continuous integration server, like Hudson, after our builds are complete and code is deployed?

Thank you very much in advance,

Juan

  • 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-05-23T04:05:50+00:00Added an answer on May 23, 2026 at 4:05 am

    I figured out the issue. I simply upgraded to the Selenium Server 2.0b3 artifact and it worked smoothly. Apparently, 2.0a7 was released in October 2010 whereas 2.0b3 was released in March 2011 which coincides with the Firefox 4 release.

    The tests are now running automatically on firefox as they should. I hope this helps anyone else who is experiencing the same issue.

    Cheers,

    Juan

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

Sidebar

Related Questions

I'm trying to run a series of selenium tests using maven and I get
Trying to run Jison unit tests, but the command fails. How do I fix
I am trying to run through a series of checks/inserts into a MySQL 5.5
I am trying to take a two-dimensional array and run it through a series
Trying to run the following command in php to run powershell command... the following
When trying to run an Eclipse Dynamic Web Project under a Tomcat setup using
I'm having an issue trying to load a series of sql files through our
I'm trying to run a series of commands for two input files, but I
I'm trying to execute a series of commands using Pythons subprocess module, however I
I'm trying to run a script which is just a series of drop tables

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.