Download the Reporting SDK
This section explains how to download the Reporting SDK client for your programming language and framework.
When the download is complete, your next step is to implement the reporting framework.
Click a section to view detailed steps.
- Download Java (licensed under the Apache License, Version 2.0):
- Go to the direct download page.
- Click the latest version and download the
reportium-java-<version>.jar
file.
- Add the file to your classpath.
To determine the features of the SDK version, read the release notes.
-
Download Maven.
- Create a Maven project in your IDE.
-
Update your pom.xml file.
Sample pom.xml file including reporting property and dependencies is available here.
-
Add the version number of the Reporting SDK that you downloaded (as described above) into the <properties> section as the <reportium-sdk.version> property.
- Add the identification of the SDK repository, as defined below, into the <repositories> section.
-
Add the Reporting SDK dependency into the <dependencies> section.
-
Use the following skeleton if your installation uses the latest Selenium version:
<properties> ...
<!-- Add the following line into the "properties" section and supply the correct version number -->
<reportium-sdk.version>RELEASE</reportium-sdk.version> ...
</properties>
<!-- Perfecto Repository -->
<repository>
<id>perfectomobile</id>
<name>Perfecto mobile</name>
<url>https://repo1.perfectomobile.com/public/repositories/maven</url>
</repository>
<!-- Reporting SDK -->
<dependency>
<groupId>com.perfecto.reporting-sdk</groupId>
<artifactId>reportium-java</artifactId>
<version>${reportium-sdk.version}</version>
</dependency>
If your installation is using a previous Selenium version, use the following skeleton (that excludes the Selenium dependency of the Smart Reporting SDK).
<properties>
...
<!-- Add the following line into the "properties" section and supply the correct version number -->
<reportium-sdk.version>RELEASE</reportium-sdk.version>
...
</properties>
<!-- Perfecto Repository -->
<repository>
<id>perfectomobile</id>
<name>Perfecto mobile</name>
<url>https://repo1.perfectomobile.com/public/repositories/maven</url>
</repository>
<!-- Reporting SDK -->
<dependency>
<groupId>com.perfecto.reporting-sdk</groupId>
<artifactId>reportium-java</artifactId>
<version>${reportium-sdk.version}</version>
<exclusion>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-api</artifactId>
</exclusion>
</dependency>
Add Perfecto’s repository to your ivysettings.xml:
<ivysettings>
<settings defaultResolver="perfecto"/>
<property name="perfecto-public"
value="https://repo1.perfectomobile.com/public/repositories/maven"/>
<resolvers>
<ibiblio name="perfecto" m2compatible="true" root="${perfecto-public}"/>
</resolvers>
</ivysettings>
Add Perfecto jars to ivy.xml:
<!-- Reportium SDK -->
<dependency org="com.perfecto.reporting-sdk" name="reportium-java" rev="${reportium-sdk.version}"/>
Update your build.gradle
file with:
- Perfecto’s SDK download repository URL
- Define the SDK version in the reportium-sdk.version (supply the version number of the SDK that you have available).
- Add the dependencies on creating the Reporting SDK jar.
// Perfecto's artifact repository
repositories {
maven {
url 'https://repo1.perfectomobile.com/public/repositories/maven'
}
}
// definition of the Reporting-SDK version
def reportium-sdk.version = 2.3.3 // supply correct version number
dependencies {
// Reportium SDK
compile "com.perfecto.reporting-sdk:reportium-java:$reportium-sdk.version"
}
For NodeJS installation use:
npm install --save-dev perfecto-reporting
Download the Reporting C# client, available as a NuGet package from here.
Run the following command in the Package Manager Console:
Install-Package Perfecto-Reporting