The Pragmatic Programmer

Appian, Pega, Java, DevSecOps, Quality Engineering

Automated Testing With Cucumber For Appian

Automated Testing With Cucumber For Appian

Cucumber For Appian

https://github.com/azmiratania/CucumberForAppian-20.1

https://cucumber.io/docs/gherkin/

Prerequisites for running the test:

  1. Run the appropriate setupCustomPropertiesFor… script
  2. Replace BROWSER with either FIREFOX or CHROME
  3. Replace APPIAN_URL with Appian URL, beginning with https:// and including /suite at the end (e.g. https://forum.appian.com/suite)
  4. Replace APPIAN_VERSION with (17.3, 17.4, 18.1, 18.2, 18.3, 18.4, 19.1 or 19.2)
  5. Replace APPIAN_LOCALE with either “en_US” or “en_GB”
  6. Replace APPIAN_USERNAME with a valid username for Appian URL above
  7. Open src/main/resources/configs/users.properties and add a line for the above username that is of the form username=password (e.g. test.user=password)
/src/test/resources/TempoNavigationExample.feature
/src/main/resources/configs/users.properties
[ERROR] Please refer to /Users/azmiratania/CucumberForAppian/target/surefire-reports for the individual test results.
cd CucumberForAppian/
$ ./setupCustomPropertiesForMac.sh
$ mvn clean test