FitNesse for Appian

Overview

FitNesse for Appian is a client-side tool that makes it easy to create automated tests on the Appian platform. Create test scripts that will run Appian as if a user was clicking through the application and filling out data. FitNesse for Appian includes easy instructions to get you started.

Note: Java 11 required for plugin version 23.4

Key Features & Functionality

With FitNesse for Appian, you can:

  • Write easy-to-read wiki language tests for Appian applications
  • Speed up testing times
  • Set up reusable regression tests

Reusable scripts can be written to:

  • Create new packages
  • Move them to different stages in the workflow
  • Check that forms are being populated correctly
Anonymous
  • Hello - I am trying to run a basic test script in FitNesse for Appian, however i am experiencing few errors in the result.

    Could you please guide me if i am wrong in the below script.

    Scenario : Logging into in house Appian application

    Below is the script used for testing..

    ----
    !*** Initialization and Login to Tempo

    !| script |com.appiancorp.ps.automatedtest.fixture.TempoFixture|
    |setup with |Chrome |browser |
    |set appian url to |mxy-dev.apps.xyz:8443/suite |
    |set appian version to|22.3 |
    |set appian locale to |en_US |
    |login with username |appianuser |
    ***!

  • v22.4 Release Notes
    • Update Chromedriver to v107
    • Add support for Appian 22.4

  • The latest FitNesse release supports 22.2. You should be able to set the Appian version in FitNesse by doing something like: !define AppianVersion {22.2}

  • Is it possible to have a link to the version for Appian 22.2 ?

  • I have just tried the application import on a vanilla site and did not run into these issues. Can you try on another environment? 

  • Can anyone advise on how to correctly import the Automated Testing app?

    Our Appian Cloud environment has Appian Version 22.3.

    I simply tried "Import" with "Automated Testing - 22.3.zip" with no customization file (I don't see any provided).

    The inspection produced no results but there were Import Errors. I published the Data Store, changing the Data Source to jdbc/Appian (Tomcat), I tried importing again and this is the result:

    Problems (4):
    processModel 0002dc5a-2a82-8000-ba62-014d98014d98 "AUT Data Input Test": An error occurred while creating processModel [uuid=0002dc5a-2a82-8000-ba62-014d98014d98]: com.appiancorp.process.validation.ValidationException: Process Model is not valid. (APNX-1-4071-007)
    processModel 0004e173-5f76-8000-8911-014d98014d98 "Box Layout Model": An error occurred while creating processModel [uuid=0004e173-5f76-8000-8911-014d98014d98]: com.appiancorp.process.validation.ValidationException: Process Model is not valid. (APNX-1-4071-007)
    processModel 0004dd31-90ab-8000-2375-010000010000 "Create User": An error occurred while creating processModel [uuid=0004dd31-90ab-8000-2375-010000010000]: com.appiancorp.process.validation.ValidationException: Process Model is not valid. (APNX-1-4071-007)
    processModel 0002dfe6-d7e6-8000-f92f-7f0000014e7a "Test with Accept Button": An error occurred while creating processModel [uuid=0002dfe6-d7e6-8000-f92f-7f0000014e7a]: com.appiancorp.process.validation.ValidationException: Process Model is not valid. (APNX-1-4071-007)

    Cascading Problems (11):
    recordType b7910269-a1f1-4db7-b773-d4d98c8dcb37 "Automated Test": The recordType [id= uuid=b7910269-a1f1-4db7-b773-d4d98c8dcb37] was not imported because a required precedent is missing: processModel [uuid=0002dc5a-2a82-8000-ba62-014d98014d98 location=Record Actions > Related Actions ["autDataInput"] > Related Action Process Model] cannot be found. (APNX-1-4070-001) (APNX-1-4071-006)
    content _a-0000dc59-a427-8000-ba62-01ef9001ef90_2453 "AUT_RECORD": The content [id= uuid=_a-0000dc59-a427-8000-ba62-01ef9001ef90_2453] was not imported because a required precedent is missing: recordType [uuid=b7910269-a1f1-4db7-b773-d4d98c8dcb37 location=Constant Value] cannot be found. (APNX-1-4070-001) (APNX-1-4071-006)
    recordType e4471773-673d-4dd1-9cf1-f7bf09fc80fe "Automated Test Dialog Box": The recordType [id= uuid=e4471773-673d-4dd1-9cf1-f7bf09fc80fe] was not imported because a required precedent is missing: processModel [uuid=0004e173-5f76-8000-8911-014d98014d98 location=Record Actions > Related Actions ["openDialogBox"] > Related Action Process Model] cannot be found. (APNX-1-4070-001) (APNX-1-4071-006)
    content _a-0000e578-64ee-8000-4c0f-01ef9001ef90_31399 "AUT_RecordActionFieldSection": The content [id= uuid=_a-0000e578-64ee-8000-4c0f-01ef9001ef90_31399] was not imported because a required precedent is missing: recordType [uuid=e4471773-673d-4dd1-9cf1-f7bf09fc80fe location=Interface Definition] cannot be found. (APNX-1-4070-001) (APNX-1-4071-006)
    content _a-0000dd31-5f84-8000-2374-010000010000_2251 "AUT_AllFields": The content [id= uuid=_a-0000dd31-5f84-8000-2374-010000010000_2251] was not imported because a required precedent is missing: content [uuid=_a-0000e578-64ee-8000-4c0f-01ef9001ef90_31399 location=Interface Definition] cannot be found. (APNX-1-4070-001) (APNX-1-4071-006)
    processModel 0002dd31-8ef6-8000-2375-010000010000 "Initialize": The processModel [id= uuid=0002dd31-8ef6-8000-2375-010000010000] was not imported because a required precedent is missing: processModel [uuid=0004dd31-90ab-8000-2375-010000010000 location=Node > "Create fitnesse users" > Node Input > "pmID"] cannot be found. (APNX-1-4070-001) (APNX-1-4071-006)
    processModel 0002dc59-cccd-8000-ba62-014d98014d98 "All Fields Model": The processModel [id= uuid=0002dc59-cccd-8000-ba62-014d98014d98] was not imported because a required precedent is missing: content [uuid=_a-0000dd31-5f84-8000-2374-010000010000_2251 location=Process Model Expressions (Rules)] cannot be found. (APNX-1-4070-001) (APNX-1-4071-006)
    processModel 0002dd1e-a82f-8000-f92f-7f0000014e7a "All Fields Sites Test": The processModel [id= uuid=0002dd1e-a82f-8000-f92f-7f0000014e7a] was not imported because a required precedent is missing: content [uuid=_a-0000dd31-5f84-8000-2374-010000010000_2251 location=Process Model Expressions (Rules)] cannot be found. (APNX-1-4070-001) (APNX-1-4071-006)
    application _a-0000dbe2-3890-8000-9ba2-011c48011c48_49593 "Automated Testing": The application [id= uuid=_a-0000dbe2-3890-8000-9ba2-011c48011c48_49593] was not imported because a required precedent is missing: processModel [uuid=0004e173-5f76-8000-8911-014d98014d98 location=Application Action] cannot be found. (APNX-1-4070-001) (APNX-1-4071-006)
    recordType 9e125eec-8f0d-4051-abde-2bf6b5aef04d "Automated Test Grid": The recordType [id= uuid=9e125eec-8f0d-4051-abde-2bf6b5aef04d] was not imported because a required precedent is missing: processModel [uuid=0002dc5a-2a82-8000-ba62-014d98014d98 location=Record Actions > Related Actions ["autDataInput"] > Related Action Process Model] cannot be found. (APNX-1-4070-001) (APNX-1-4071-006)
    site 8588bace-d5bf-4aff-853e-d15b1b157c56 "Automated Test Site": The site [id= uuid=8588bace-d5bf-4aff-853e-d15b1b157c56] was not imported because a required precedent is missing: recordType [uuid=9e125eec-8f0d-4051-abde-2bf6b5aef04d location=Pages > Page ["automated-test-grid"] > Page Content] cannot be found. (APNX-1-4070-001) (APNX-1-4071-006)

    Warnings (1):
    dataStore _a-0000dc59-a427-8000-ba62-01ef9001ef90_2437 8807 "AUT DS": The data store "AUT DS" [id=8752] was saved but cannot be published: The data source [jdbc/AppianAnywhere] cannot be reached or its configuration is invalid. Details: Could not find DataSource for requested name [jdbc/AppianAnywhere] (DataSourceException) (APNX-1-4178-000)

  • If I had to guess it sounds like your version of Java might be 11? Try with Java 8.

  • Hello, I trying using the TestExample and this is the result:

    Test system terminated with exception [fitnesse.testsystems.TestExecutionException: java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release]

    Can you advise on how to go on with testing? Thank you

  • v22.3.1 Release Notes
    • Update Chromedriver to v104
    • Bug fixes: Fix TempoRecordTypeUserFilter's clear method to work for newer versions of Chrome