how to use xpaths in fitnesse for appian scripts

Hi,

I am trying to use an xpath as shwon below in fitnesse for appian script and it doesnt work, any help is greatly appreciated

|click on button|xpath=//button[text()='Modeling']|
|toggle box |xpath=//*[div[text()='SomeState']

  Discussion posts and replies are publicly visible