Developers

From Autodrive
Revision as of 06:45, 2 March 2013 by Hjortskov (Talk | contribs) (Source code)

Jump to: navigation, search

This chapter describes useful information for developers or people wanting to know about compiling and eventual extending the autodriver.

Java version

Java version used is 1.7 or later. Much of the driver should be able to compile with lower versions though.

Javadoc

JavaDoc documentation can be found here

Source code

Source code is hosted on a project page @ sourceforge. The source code can be fecthed from subversion svn://svn.code.sf.net/p/autodrive/code/trunk .

This results in two folders:

  1. AutomationDriver
  2. Scripts

Compile

mvn clean & mvn install

Dependency information

Not all dependencies are found in maven repositories. To remedy missing dependencies either provide the jar files or remove the plugin using them.

To accomendate exchanging plugins, plugins are handled as submodules in maven. This way plugins can be shared even though they depend on some licensed product.

In the main parent pom.xml file the submodules look like this:

<modules>
    <module>driver</module>
    <module>plugins/WLST</module>
    <module>plugins/Selenium</module>
    <module>plugins/Connectivity</module>
    <module>plugins/SQL</module>
    <module>plugins/Webservice</module>
    <module>plugins/LDAP</module>
    <module>plugins/MIS</module>    
  </modules>

Extending functionality