Sorry but I dont have short running example. I am giving brief description
of the issue below:

[1] * Content of a.story*:
    Scenario: Default setup

    GivenStories: com/scenarios/setup/init_default_config

    Given empty step


[2] *Content of  init_default_config*:

           Scenario: one test request is resend

           GivenStories : com/scenarios/setup/get_counters

        When the counters are refreshed
        Then there is 1 more pending request(s) for machine


[3] *Content of get_counters:*

Scenario: Get the counters for the my screen

When I go to the main screen


*Brief explanation of issue:*

When I run my *a.story*, it calls *'init_default_config'*..
Now *'init_default_config'* calls *'get_counters'* but as test flow does
not reach *'get_counters'*.
So step 'When the counters are refreshed' in  *'init_default_config'* failed


Please suggest how to resolve this.



On Fri, Apr 27, 2012 at 4:45 PM, Mauro Talevi <[email protected]>wrote:

>  We can't help you if don't provide more information.
>
> Can you please provide the simplest possible working example that
> reproduces your problem?
>
> Cheers, M
>
>
> On 27/04/2012 16:35, Jitendra Singh Bhati wrote:
>
> NO it does not display any error message.
> // was just a typo
>
> On Fri, Apr 27, 2012 at 2:06 PM, Jitendra Singh Bhati <
> [email protected]> wrote:
>
>> HI all,
>>
>> I am using JBehave 3.6.2.I have one query which is mentioned below:
>>
>> [1]  *Content of a.story:*
>> Scenario: Default setup
>>
>> GivenStories: *com*/scenarios/setup/init_default_config
>>
>> *[2] Content of  init_default_config:*
>>
>>        Scenario: one test request is *resend*
>>
>>        GivenStories : *com*//scenarios/setup/get_counters
>>  *[3] Content of get_counters:*
>>
>> Scenario: Get the counters for the load/unload screen
>>
>> When I go to the main screen
>>
>>
>>
>> *Issue:* Execution folow does not reach into get_counters file so does
>> not execute anything from it.
>>
>>
>> Please suggest how to resolve this.
>>
>> --
>> Regards,
>> Jitendra
>>
>
>
>
> --
> Regards,
> Jitendra
>
>
>


-- 
Regards,
Jitendra

Reply via email to