How to get PAGE_NAME value in FitNesse test?

1k Views Asked by At

I see that there are *PAGE_NAME* and *PAGE_PATH* global variables but I can't find a way to get their value in neither Fit pages nor Fit SetUp / SuiteSetUp pages - I tried obvious ways, all came back as "undefined variable".

Is there any other way to get a current page's/test's name?

any help would be greatly appreciated

thanks! Oleg

1

There are 1 best solutions below

1
On BEST ANSWER

It's not completely clear from your question what you've tried, but based on the FitNesse user guide, variable names need to be escaped like so: ${name}.

Including ${PAGE_NAME} or ${PAGE_PATH} in a test or suite works OK in my local FitNesse.