View source | Discuss page | Page history | Printable version   
ADVERTISEMENT
Accounting eLearning Courses
Partnerships
SourceForge.net Logo
Openbravo ERP at SourceForge

SourceForge.net Logo
Openbravo POS at SourceForge

Open Solution Alliance Logo
Openbravo at Open Solutions Alliance

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=500
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.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 A_01_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/Automated_Testing/OpenbravoERPTest.properties"

This page has been accessed 462 times. This page was last modified 15:54, 23 June 2009. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.


Category: Automated Testing ERP