Hello,
I have a problem when using the response of a FitNesse table inside
the check of a FitNium table. First I want to provide you with an
example for my problem:
#####################################
!define test_message (Advertising Programs)
!|EchoFixture|
|operation|echoListToString|
|key|echo|
|set|list[0]|Advertising Programs|
|invoke||
|check|response||
|check|response!=null|true|
!define test_message2 (${ echo.response })
|The server is located at | localhost |
|The server is on port | 4444 |
|Using the browser | *firefox | start at |
http://www.google.com |
|check | is selenium initialised | true |
|set speed to |50| milliseconds |
|set timeout to |50000| milliseconds |
|starting at URL| /ncr |
|wait For Page To Load For | 5 | seconds |
|check|is text present|${test_message}|true|
|check|is text present|${test_message2}|true|
#####################################
When I execute this code, the check for the variable test_message is
successful because it is checked for the words 'Advertising Programs'.
However the second check fails because it is checked for the words '$
{ echo.response }'.
So how can I access FitNesse variables inside a FitNium table that are
dynamically filled?