First Off, many many thanks to Laurent Carbonnaux for developing this bridge library! it'a appreciated.
Now my help request - as I just need assistance in getting this to run.
I'm setting up this library under robot-framework maven plugin, so install instructions were adapted somewhat - but something is still missing.
The resource file with EclipseLibrary Keywords is recognized just fine, the test file also gets executed though all FAIL, due to the error message produced from maven:
[ ERROR ] Error in file 'D:\samahomad\INGG_CoreHub\ch_svnroot\ui-portal-test-runner\target\tests\test-suites\Rest-test\A_TestEclipseLibrary_installation.html': Importing test library 'EclipseLibrary' failed: ImportError: No module named EclipseLibrary
Traceback (most recent call last):
None
PYTHONPATH:
D:\samahomad\INGG_CoreHub\ch_svnroot\ui-portal-test-runner\target\tests\libraries
D:\samahomad\INGG_CoreHub\ch_svnroot\ui-portal-test-runner\target\tests\libraries\dblibrary-2.0.jar
D:\samahomad\INGG_CoreHub\ch_svnroot\ui-portal-test-runner\target\tests\libraries\eclipselibrary-0.20-with-dependencies.jar
C:\Users\samahomad\.m2\repository\org\robotframework\robotframework\3.0\Lib
C:\Users\samahomad\.m2\repository\org\robotframework\robotframework\3.0\robotframework-3.0.jar\Lib
__classpath__
__pyclasspath__/
CLASSPATH:
C:\Dev\Tools\apache-maven-3.0.5\boot\plexus-classworlds-2.4.jar
Now, my question:
a) should I have the eclipseLibrary added to the path as below in my test-runner's project POM? or should I rather...
b) add a dependency from robotframework-maven-plugin ?? and if so, how do I go about expressing that dependency ?:
current pom config using the extra path solution
<plugin>
<groupId>org.robotframework</groupId>
<artifactId>robotframework-maven-plugin</artifactId>
<executions>
<execution>
<id>run-firefox</id>
<goals>
<goal>run</goal>
</goals>
<configuration>
<variables>
...
<variable>RESOURCE_FOLDER:${project.build.directory}/tests/resources</variable>
...
</variables>
...
<extraPathDirectories>
<extraPathDirectory>${project.build.directory}/tests/libraries</extraPathDirectory>
<extraPathDirectory>${project.build.directory}/tests/libraries/eclipselibrary-0.20-with-dependencies.jar</extraPathDirectory>
</extraPathDirectories>
</configuration>
</execution>
</executions>
</plugin>
Many thanks in advance for any helping tips