-
Notifications
You must be signed in to change notification settings - Fork 2
Getting started
Juho Saarinen edited this page Jun 16, 2016
·
1 revision
Including library to Robot framework run made with Maven/Gradle just need adding of the dependency to pom/build.gradle: Maven
<dependency>
<groupId>com.github.hi-fi</groupId>
<artifactId>remotesikulilibrary</artifactId>
<version>0.0.1</version>
</dependency>
Gradle
compile group: 'com.github.hi-fi', name: 'remotesikulilibrary', version: '0.0.1'
With those depencies library can be taken to use in tests with:
Library RemoteSikuliLibrary
Release also allows running of library as Robot framework's remote server. Please note that at client end same library should be used also because of base64 image de- and encoding.
Server can be started with Mavens exec-plugin
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.5.0</version>
<executions>
<execution>
<id>startRemoteServer</id>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>java</executable>
<arguments>
<argument>-classpath</argument>
<classpath />
<argument>org.robotframework.remoteserver.RemoteServer</argument>
<argument>--library</argument>
<argument>com.github.hi_fi.remotesikulilibrary.RemoteSikuliLibrary:/</argument>
</arguments>
</configuration>
</plugin>
Also other ways from jrobotremoteserver are available: https://github.com/ombre42/jrobotremoteserver/wiki/Getting-Started