Introduction

Documentation is very sparse.

Preparing selenium IDE

  1. Install selenium IDE.
  2. Goto <webroot>/IDE-formats and open BR3-java.txt or BR3-php.txt in a text-editor. Copy everything (ctrl-a, ctrl-c).
  3. Open selenium IDE.
  4. Select options → options
  5. Select Formats → Add
  6. Type in a name, eg. BR3 java or BR3 php
  7. Overwrite everything (ctrl-a, ctrl-v)
  8. Click OK

Record and export

  1. Record a test, just as you would normally
  2. Select file \→ export test case as \→ BR3 java or BR3 php
  3. Save the file somewhere

If Java: Compile

If you've just exported as java you need to compile the test into an executable .jar file before uploading.

Basically you need to

  1. Add the 4 jars found under <webroot>/app/webroot/testscripts/Google sample/jar/lib as libraries
  2. Create a class with your code and set it as the main class
  3. Compile

Check Compiling a java script for Bromine in netbeans for more details if above wasn't sufficient.

Upload in Bromine

  1. Login to Bromine
  2. Go to planning
  3. Click a testcase
  4. Click edit
  5. Click upload testscript
  6. Select the file
  7. Click submit
creating_a_testscript.txt · Last modified: 2011/02/03 11:57 by 173.160.196.241
Back to top
CC Attribution-Noncommercial-Share Alike 3.0 Unported
Template by chimeric Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0