I have 2 pages a Suite page Suite1 and a SuiteSetUp page. Inside the suiteSetUp page I am calling a java constructor with the suite name as parameter.
now When I run my fitnesse suite I am getting the string 'SuiteSetUp' in java. I should get Suite1.. is it doable in FitNesse using java?
!|library |
|suite set up|${USERNAME}|${suiteName}|
suiteName is defined in a template which is included to this page
suiteName is defined as follows.
!define suiteName {${RUNNING_PAGE_NAME}}
this is how I included the template to the page the !define command is written inside the template page
!include -c .FrontPage._TEMPLATE