Selenium Configuration

Selenium IDE Installation

Please download and install the Selenium IDE for “fireFox” – http://seleniumhq.org/download/

Note: Sometimes with Firefox 3.6 is not working properly.

Eclipse – Selenium Configuration

  1. Create a new Eclipse environment, to configure the eclipse,  please refer the below link as specified. http://wiki.openbravo.com/wiki/Installation_and_setup_of_Eclipse_IDE
  2. We have to clone the following repository were you created the workspace, to clone the repository:
  3. Open up the eclipse and follow the step
    1. File >> New >> Project and then select Java >> Java Project
    2. Specify the Project Name as  “automation”
    3. Check “Create project from existing source” and select /home/openbravo/workspaces/pi/automation
    4. Press Next and Finish.
  4. Refresh and Build the automation project.
  5. Create a copy of “automation/config/OpenbravoERPTest.properties.template” and rename as “OpenbravoERPTest.properties”
  6. Configure the “OpenbravoERPTest.properties” files with the help of following link
    http://wiki.openbravo.com/wiki/Automated_Testing/OpenbravoERPTest.properties
  7. Create a “logs” folder in /home/openbravo/workspaces/pi/automation/
    mkdir logs
  8. Navigate to /home/openbravo/workspaces/pi/automation and then run the following ant commmand.
    ant compile
    ant init
  9. Finally Run a sample test suite of logging and logout:
    ant test.integration -Dtestclass=”com.openbravo.test.integration.erp.testsuites.smoke.masterdata.ADM0000_Logging”