Cristiano Gavião wrote:
Hi Mauro,

Im thinking here...

Would be possible to combine Table Parameters and Table Examples?

Given your example:
|Given| |the traders:  |
||||name|rank| |
||||Larry|Stooge 3| |
||||Moe|Stooge 1| |
||||Curly|Stooge 2| |
|||When| |a wildcard search ".*y" is executed |
|||Then| |the traders returned are: |
||||name|rank| |
||||Larry|Stooge 3| |
||||Curly|Stooge 2||
My wish is to execute this kind of cenario more than one time, ie. changing the values of Table Parameters for each Table Examples row....


There's nothing I can think of that would stop you from doing this.

The Table Examples are "triggered" by the keyword "Examples" (or I18-equivalent) and it then expects a table to get the examples data from.

The Table Parameters are simply taking the table data and passing it to
the method as a parameter (via the use of the ExamplesTable type and associated parameter converter).

Give it a whirl and let us know if you encounter any problems.

Cheers


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to