FitNesse for Appian: Fixture issues with Scenario and Variables settings

Certified Associate Developer

Hi! I'm having problems with fixtures during testing FitNesse for Appian. 

I'm trying to elaborate some custom and complex Scenarios for my test case, using scenario variables. To do that, I'm setting up some variables in SuiteSetUp page using methods described in FitNesse For Appian guide (under UsingVariables). Here's the code I'm using, if there's something wrong, please let me know: 

MAIN TEST PAGE:

!define TEST_SYSTEM {slim}
!define COMMAND_PATTERN {java -Dlog4j.configuration=file:///${automated.testing.home}/log4j.properties -cp %p %m}
!path ${automated.testing.home}/**.jar


!*** Testing - Message

!| script |com.appiancorp.ps.automatedtest.fixture.SitesFixture|
|messageToManager|text |$manager |text |$message |

*!

!*** Log out and tear down

!| script |
|logout |
|tear down|

*!

 

SET UP INCLUDED PAGE:

!*** CONFIGURATION

!| script |com.appiancorp.ps.automatedtest.fixture.SitesFixture |
|configuration 1 |CHROME |locale |en_US|version |20.1|url |https:/suite/sites/appian-site |
|login with username |user@gmail.com |

*!

!*** TEST VARIABLES

|script  |
|set test variable|useCaseMessage  |with |{"manager": user@gmail.com, "message": default message} |
|$manager |get test variable  |tv!useCaseMessage.manager |
|$message |get test variable  |tv!useCaseMessage.message |

*!

SCENARIO LIBRARY:

!***  CONFIG SCENARIO

!|scenario |configuration1|browserType|locale|location|version|versionNum|url|appianUrl|
|setup with |@browserType |browser |
|set appian locale to |@location |
|set appian version to|@versionNum |
|set appian url to |@appianUrl |


*!

!*** Message to Manager

!|scenario |messageToManager |text |managerVar|text|messageVar|
|verify box |Contact Your Manager|is present |
|toggle box |Contact Your Manager|visibility |
|verify field |To |is present |
|verify field |Message |is present |
|populate field|To |with value|@managerVar |
|populate field|Message |with value|@messageVar |
|verify link |Go |is present |
|click on link |Go |

*!

These are the result errors:


I tried to use other Appian fixtures too (Tempo and Base fixtures), but I got the same errors. Is there some documentation I can read about fixture methods? I guess, indeed, that Cheat Sheet is not sufficient. Thanks for helping!

  Discussion posts and replies are publicly visible