This code uses ObservePoint's open API and shows how you can implement LiveConnect for UI Automation
src/test/java/UiTests.java
contains example of implementation for Selenium:
- creates folder with name: "LiveConnectAutomation" in your ObservePoint account (if doesn't exist)
- creates LiveConnect's device and journey with default values
- attaches rules with provided names to created journey
- starts journey recording
- Stops recording of LiveConnect Journey
- creates step inside journey
- creates instance of Selenium WebDriver with proxy settings of LiveConnect
- change step's name to test's name
- close Selenium WebDriver
- Download project to your machine
- Install Chrome browser
- Install JDK 1.8 in your system and configure global JAVA_HOME variable
- Install Maven 3 in your system and configure global MAVEN_HOME variable
- Navigate to src/test/java/UiTests.java
- Fill field apiKey you can found it on https://app.observepoint.com/account/user
- Fill field rules with rule names from https://app.observepoint.com/rules, which you want to attach to journey
- Open terminal, navigate to project's directory, execute command:
mvn clean install test -DsuiteFile=uiTests.xml