Skip to content

webmate-io/webmate-sdk-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webmate Java SDK webmate logo Build Status Maven Central

The webmate SaaS test automation platform provides testing services for testers and developers of web applications. This SDK contains wrapper code used to call the webmate API from Java applications.

The webmate Java SDK is still under development and maintained regularly. This release provides wrappers for the following tasks:

  • Perform state extraction in an existing browser session, e.g. one that has been created via Selenium.
  • Execute a new JobRun in the webmate Job service, e.g. to start a Job comparing the layout of web pages in multiple browsers.
  • There is a convenience builder for a BrowserSessionCrossbrowserAnalysis job that may be used to compare the layout of states / web pages from multiple Selenium sessions.
  • There is a convenience builder for a BrowserSessionRegressionAnalysis job that may be used to compare the layout of states / web pages from multiple Selenium sessions.

For a complete list of recent changes, please refer to the changelog.

Using the SDK in your Project

This release is also distributed via Maven Central. Just include the following dependency to your Maven pom.xml (or another Maven based build tool):

<dependency>
    <groupId>com.testfabrik.webmate.sdk</groupId>
    <artifactId>java-sdk</artifactId>
    <version>0.56</version>
</dependency>

To build the SDK from its sources, simply clone this repository and install the compiled artifacts to your local Maven repository with

$ mvn install

After that, you can include the SDK as a Maven dependency to your project, i.e. either using

<dependency>
    <groupId>com.testfabrik.webmate.sdk</groupId>
    <artifactId>java-sdk</artifactId>
    <version>0.57-SNAPSHOT</version>
</dependency>

or using the equivalent statement in a build tool of your choice.

Sample Code

See the following sample projects:

In order to use these samples, you need to have an account at webmate SaaS or a commercial on-premise installation. Please contact Testfabrik ([email protected]) if you are interested in evaluating webmate.

webmate API

Although, the SDK provides a number of features and convenience wrappers it doesn't exhaust the full potential of the webmate API. See the REST API Swagger documentation for a comprehensive summary of the webmate functionalities.