Appian Selenium API

We’ve changed the name of JUnit for Appian to the Appian Selenium API to more accurately reflect the function of this testing library. Both FitNesse for Appian and Cucumber for Appian leverage the Appian Selenium API. If you are familiar with Appian’s FitNesse or Cucumber tools then you are already familiar with the methods provided by the Appian Selenium API.

For Example, the table below shows the corresponding FitNesse and Cucumber methods for the same underlying Appian Selenium API method. Each FitNesse and Cucumber method leverages the same underlying Appian Selenium API method.

Appian Selenium API

loginWithUsernameAndPassword(jString userName, String password)

FitNesse for Appian

| login with username | USERNAME | and password | PASSWORD |

Cucumber for Appian

Given I login with username "USERNAME" and password "PASSWORD"

 

Applications:

  • Have you ever wanted to run Appian UI tests directly from a JUnit Test Case? 
  • Have you ever wanted your own Gherkin steps with Cucumber and the corresponding step definitions? 
  • Have you ever wanted to run tests from any java based test tool of your choice?

The Appian Selenium API allows you to do this without you having to create the necessary xpath for selenium to interact with Appian. Additionally, with each release of Appian, you’ll receive the same updated Appian Selenium API that FitNesse for Appian and Cucumber for Appian receive with each release.

The Appian Selenium API Includes

  • The javadocs for the Appian Selenium API
  • A simple maven project to help get started in using the Appian Selenium API in JUnit tests that includes the pom.xml and example tests.
Anonymous