Install Bromine v3


Selenium requires Java, so this means that even dough you want to run tests in some other programming language (Python, Ruby, PHP), you still gonna need Java.

Selenium Setup

  • Install Java version 1.5 or older (if not already installed on your machine)
  • Download Selenium RC from
  • Unzip it to a known location (we’ll use c:\selenium) and you are ready to run it.

Web Server & DB setup

  • Install XAMPP. This will automatically install both Apache and MySQL.
  • Start XAMPP to make sure both apache and mysql start correctly.
Apache runs on port 80, so make sure it is free on your computer, or change the settings for Apache, and in that case make sure to use the newly set port for the next steps

  • Once the web server and the database is installed, edit the php.ini (in xampp php.ini is located at xampp\php). Selenium tests can run for a long time, so we need to make PHP allow long running times.
    Find the following settings and change them to match these:
max_execution_time = 60001
max_input_time = 60001
magic_quotes_gpc = Off
  • If you are already running an Apache server, and don’t want to mess up the global configuration for php, you could do this in its configuration:
<IfModule mod_php5.c>
    php_value max_execution_time 60001
    php_value max_input_time 60001
    php_admin_flag magic_quotes_gpc off
<IfModule mod_php4.c>
    php_value max_execution_time 60001
    php_value max_input_time 60001
    php_admin_flag magic_quotes_gpc off
  • Enable mod_rewrite in your apache configuration file (in xampp this is xampp\apache\conf\httpd.conf)
LoadModule rewrite_module modules/
If you want to run PHP tests you’ll need to have the php executable (on Windows, php.exe) in your path environment variable.
If you want to run Java tests you’ll need to have the Java executable in your path environment variable.

Install Bromine

Unpack and copy all files to your webroot. Bromine must be served directly from the webroot!
If you are using XAMPP this is the C:\xampp\htdocs directory. Make sure all of the previous content of this folder is deleted.

Host: localhost
Username: root
Password: (empty)
Database: bromine
  • And click Install

You should get a message saying ‘Install complete’ and a login form. Login with username: ‘admin’ and password: ‘admin’ and verify that all of the features are checked. (We won’t use PHP for our test cases, so we can ignore this warning for now.)

Now Bromine v3 is set up and ready to be configured for running test cases.

Tagged with: , ,
Posted in Bromine, Selenium, WeDoQA
9 comments on “Install Bromine v3
  1. rizo says:


    Is this line for the db supposed to be “bromine”? When I used the listed line the page just refreshed.

  2. Bromine will create a new database with the name specified in the Database field, so the only limitation here is that you must not have an existing database with that name.

    As for the reloading of the same page, it is most likely that something went wrong. Bromine is still not in stable release yet, so the validation message is still missing. I had the same problem when I was trying to enter a wrong password for accessing the database. So double check if the database is running on localhost, can be accessed with the provided username and password, and that the database name entered in the last field is a unique one.

  3. Nuthan says:

    I have installed bromine.But i am getting “Warning: Could not contact the news server. Check your internet connection” this error.

    I try to update the server configuration by using my comp ip address or localhost and port is 80 but it is giving error.i am unable to resolve this.I did not find any server related details.

    Please help me out to resolve this.

  4. Please post a more detailed description of the problem. Where and when is this warning shown? The only place that I can think of is the Bromine News page that is displayed when the control panel is entered. If that is the case, feel free to ignore this warning. It is a known issue, and it will be hopefully fixed in the stable release.

  5. hunkyhari says:

    Hi there!

    I am finding a separate problem with bromine. When i un zipped the downloaded package i received all files with an extension of .vsm and my apache server served me the directory listing instead of installation file.

    I couldn’t find the index.php file even.

    What do i need to do in order to get it working now?

  6. when i try running Bromie3RC2 VMWare Player returns:

    Error while opening the virtual machine: “C:\xampp\htdocs\Bromine3RC2.vmx” is not a valid virtual machine configuration file.

    I copied the contents of the Bromie folder into xampp/htdocs and am dbl clicking “Bromine3RC2 from there and getting the error in VMWare player

  7. SA says:

    I am facing issue in uploading jar scripts.

    1. When I click on “Upload new testscript” link, a new browser window is opened.
    2. I select the script (jar), and click on “Submit” button.
    3. The window says “The Testscript has been uploaded”.
    4. The pop up window remains open.
    5. In the original window, the uploaded script is not displayed. It still says – “No testscript uploaded”
    6. If now, I click on “Submit” button under the above message, test case is saved with no script.
    7. If I navigate to some other page instead of performing Step 6, and come back to test case, It still says – “No testscript uploaded”

    One interesting thing I have noticed that under default BromineFoundation requirement, it is showing test scripts for all the php projects but not for java projects. However under C:\xampp-portable\htdocs\app\webroot\testscripts\SampleProject\jar it is storing all the corresponding jar of the test cases.

    Even when I try to upload a jar test script it saves the jar under the above directory. Still the test case says – “No Script is found”.

    Please help me resolve the issue.


  8. Thank you for some other informative web site.
    Where else could I am getting that kind of info written
    in such a perfect approach? I’ve a project that I’m simply now
    operating on, and I have been on the look out for such information.

  9. adira says:


    currently i’m using bromine for my testing project. and i’ve this problem :
    Bromine tried to contact and failed

    -i’ve try to set my server and port, try to reinstall it several times and it return me the same error.. if i not fixed this error, i cannot start my scheduler and job checker

2 Pings/Trackbacks for "Install Bromine v3"
  1. [...] A duplicate of this post can be seen on the author’s personal blog: [...]

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>