View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

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.speed=50
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
openbravo.application=/opt/openbravo240p/AppsOpenbravo/

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=,

Note: some tests require to login as System Administrator, for example ADM0070_InitialClientSetup. These tests will assume that the System Administrator username is Openbravo and its password is openbravo, instead of taking the values from the configuration file.

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/2.50/Automated_Testing/OpenbravoERPTest.properties"

This page has been accessed 3,090 times. This page was last modified on 19 August 2011, at 21:42. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.