Overview
The library contains methods which allow you to interact with Appian components in a browser. It can be used in a Java application or integrated directly into any Selenium or Java-based testing tool.
Appian Selenium API contains the methods that are at the core of both Cucumber for Appian and FitNesse for Appian. If you are familiar with either 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.
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"
Note: Java 11 required for plugin version 23.4
Key Features & Functionality
The Appian Selenium API plug-in package includes:
The Appian Selenium API plug-in supports both Chrome and Firefox browsers. See the Appian Playbook for more information: Automated Testing with Appian Selenium API
Note on Appian Versions:
With each Appian release, a new version of the plug-in is also released to support the latest Appian components. This plug-in is backwards compatible, ensuring that you do not need to update your test cases when upgrading to new Appian versions.
It'll be something along the lines of populateGridColumnRowWith("<Grid name or [grid index]>", "<column name or [column index]", "[row index]", new String[]{ "<Dropdown value>"};
Hi, I am having issue to automate a scenario in which integerFields, dropDownFields are used in gridRowLayout under gridLayout. Please let me know how to automate this scenario. Thanks
Sample Code Snippet Below:
a!sectionLayout( label: index(local!languageData,<<>>,{}), contents:{ a!gridLayout( label: "", labelPosition: "ABOVE", emptyGridMessage:index(local!languageData,<<>>,{}), headerCells: { a!gridLayoutHeaderCell(label: index(local!languageData,"item",{})), . . . }, columnConfigs: { a!gridLayoutColumnConfig(width: "NARROW"), . . . }, rows: { a!forEach( items: <<<<>>>>>, expression: a!gridRowLayout( contents: { a!integerField(value: fv!index, readOnly: true()), a!dropdownField( . . . ), a!integerField( . . . a!floatingPointField(
Hi, how can select and click in a Icon button that doesn't have name?
Try to first log in at forum.appian.com and then return here and download.
Getting similar error.
{"resource":"\/suite\/rest\/a\/content\/latest\/isBCLGOdlMUpdGVqW3KDvpP30x5S4jiD6pBerd13XBnTTdO_jGRNoXlWuor\/o","error":"APNX-1-4187-000","message":"Authentication failed. Please check your credentials and try again.","title":"An Error Has Occurred"}If anyone able to successfully download, please let us know.
Getting error clicking that link:
{"resource":"\/suite\/rest\/a\/content\/latest\/isBCLGOdlMUpdGVqW3KDvpP30x5S4jiD6pBerd13XBnTTdO_jGRNoXlWuor\/o","error":"APNX-1-4187-000","message":"Authentication failed. Please check your credentials and try again.","title":"An Error Has Occurred"}
There is a download link on the top right of this page if you are logged in.
Hi, how to download the plugin?
Regards,
Kiran