I'm assuming you've gone through Configuring Bromine for selenium RC
Creating and uploading the test correctly
- Install the PHPRCFormat.js IDE format from the Bromine/IDE-Formats
- Record a test
- Save your test in the custom format. Call it something.php. Don't edit anything in it! Not even the class name.
- Open Bromine and navigate to 'Test Lab' --> 'Testcases'
- Click 'Add new'
- Call the testcase something_else and give it a description
- Either fill in the steps of the tests or just some jibberish.
- Navigate to 'Test Lab' --> 'Edit node tests'
- Choose rc-php as the type
- Choose something_else from the dropdown
- Choose the file something.php and click 'Upload File'
You should get a 'The file something.php has been uploaded as RC/rc-php/<projectname>/something_else.php'
Notice how the file was renamed to fit the testcase name; this is how testcases are paired to tests.
Running the test
- Click 'Test Lab'
- Click 'Testrunner node'
- Click 'Run tests' ('Test requirements' is explained in Automatic requirement analysis)
- Click which testscase(s) to run
- Choose the OS/browser combination you'd like
- Choose which site to test
- Choose a name for your testrun
- Click 'Run test'
A new tab should open and you should get a page refreshing it's content every second, showing the commands beings executed. Bromine will continue a test untill it's done or it recieves an ERROR response from the RC server. Unlike the unit frameworks Bromine will continue a test if a command fails an assertion.
Now go take a look at your test results in 'Test Result Manager' --> 'Raw data'