Hi Olmo,

short answer is no, there is no flow control based on data values.

You could though encapsulate different tabular data sets in separate files and 
load them based on some env variable.

Please detail your usecase better and we'll try to help,

Cheers

On 12 Nov 2013, at 17:08, Olmo Rigolo <olmorig...@gmail.com> wrote:

> Hi Mauro,
> 
> I am wondering if it is possible to skip steps depending on parameter values? 
> In other words, I want to programmatically invoke a scenario success within a 
> step, and directly go on with the next example.
> 
> This is my scenario:
> 
> Given I am on the website
> 
> When I enter <value>
> 
> Then check X
> 
> And check Y
> 
>  
> 
> Examples:
> 
> |value
> 
> |1
> 
> |10
> 
> |20
> 
>  
> 
> 
> In the secod step "When I enter <value>" I check the content of the parameter 
> <value>. If the value equals to 1 I don't want to continue the test, because 
> I already know that it's ok. I would like to go on with the next example.
> 
> My question is, how could I do that?
> 
> You might ask yourself, why do I want to have examples in the examples table, 
> that are not relevant for the test (no checks executed). Well, I need the 
> business to change the example data table. Once they modified it, I have a 
> full documented list of examples, even though I do not need all the data for 
> the test. I want the test to filter the lines on runtime.
> 
> 
> Thanks in advance for your help,
> Olmo
> 

Reply via email to