View source | Discuss this page | Page history | Printable version   

ERP 2.50:Automated Testing/OpenbravoERPTest.properties

Contents

Introduction

OpenbravoERPTest.properties is the file where Openbravo ERP test configuration is centrally maintained.

Edition

OpenbravoERPTest.properties is a plain text file that you can edit manually by duplicating the OpenbravoERPTest.properties.template file.

Contents

The content of this file include:

Selenium properties

Here is defined the information used to connect to selenium.

selenium.port=4444
selenium.browser=firefox
selenium.browserPath=/usr/lib/firefox/firefox-2-bin

Openbravo server properties

Here is defined the information of the openbravo server that will be tested.

openbravo.url=http://localhost:8180/
openbravo.context=openbravo240p

Test properties

Here is defined the information used to run tests.

test.systemAdministratorUser=Openbravo
test.systemAdministratorPassword=openbravo
test.clientAdministratorUser=SampleClientAdmin
test.clientAdministratorPassword=SampleClientAdmin
test.user=userA
test.password=userA
test.format.number.output=#,##0.00
test.format.number.decimal=.
test.format.number.grouping=,

DB properties

This part of the file defines the database the application will connect to. It's required just in the case that some tests need to query the database.

This lines define an Oracle connection:

bbdd.sid=xe
bbdd.systemUser=SYSTEM
bbdd.systemPassword=SYSTEM
bbdd.user=TAD
bbdd.password=TAD
bbdd.driver=oracle.jdbc.driver.OracleDriver
bbdd.url=jdbc:oracle:thin:TAD/TAD@localhost:1521:xe
bbdd.rdbms=ORACLE

And these others for PostgreSQL:

bbdd.sid=openbravo240p
bbdd.user=openbravo240p
bbdd.password=hola123*
bbdd.driver=org.postgresql.Driver
bbdd.url=jdbc:postgresql://localhost:5432
bbdd.rdbms=POSTGRE

Notice that here bbdd.sid is, in fact, the PostgreSQL database name.

Retrieved from "http://wiki.openbravo.com/wiki/ERP_2.50:Automated_Testing/OpenbravoERPTest.properties"

This page has been accessed 6,168 times. This page was last modified on 3 April 2012, at 10:59. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.