Dashboard > Bromine > Home > Running a selenium RC test
Running a selenium RC test
Added by Rasmus, last edited by Rasmus on May 18, 2008  (view change)
Labels: 
(None)


I'm assuming you've gone through Configuring Bromine for selenium RC

Creating and uploading the test correctly

  1. Install the PHPRCFormat.js IDE format from the Bromine/IDE-Formats
  2. Record a test
  3. Save your test in the custom format. Call it something.php. Don't edit anything in it! Not even the class name.
  4. Open Bromine and navigate to 'Test Lab' --> 'Testcases'
  5. Click 'Add new'
  6. Call the testcase something_else and give it a description
  7. Either fill in the steps of the tests or just some jibberish.
  8. Navigate to 'Test Lab' --> 'Edit node tests'
  9. Choose rc-php as the type
  10. Choose something_else from the dropdown
  11. 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

  1. Click 'Test Lab'
  2. Click 'Testrunner node'
  3. Click 'Run tests' ('Test requirements' is explained in Automatic requirement analysis)
  4. Click which testscase(s) to run
  5. Choose the OS/browser combination you'd like
  6. Choose which site to test
  7. Choose a name for your testrun
  8. 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'

Site running on a free Atlassian Confluence Community License granted to OpenQA. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.6 Build:#812 Aug 06, 2007) - Bug/feature request - Contact Administrators