Hello Mauro,

I created today such a Jira issue:
http://jira.codehaus.org/browse/JBEHAVE-966


2013/12/6 Mauro Talevi <[email protected]>

> Hi Hans,
>
> Yes the context view and its local frame impl are indeed generic and could
> be moved to core.
>
> please open a jira issue for this.
>
> In the meantime, you can use the classes in jbehave-selenium.
>
> Use the SeleniumStepMonitor with with the ContextView ctor.
>
> Cheers
>
> On 6 Dec 2013, at 13:12, Hans Schwäbli <[email protected]>
> wrote:
>
> You did not understand what I wrote about Christiano.
>
> It took me now some time to make sense of your postings, which actually
> make no sense for my issue (sorry that I have to say that).
>
> After it took me quite a long time to get that example working I have
> discovered that it has no StepMonitor like SeleniumStepMonitor. No window
> appears when running the game-of-life story. I am a bit surprised how
> someone can misunderstand my original posting so much. Anyway.
>
> The issue is still unresolved. I would be glad if someone can help me.
>
> The window which appears when using the SeleniumStepMonitor is very
> helpful. But it should not be limited for Selenium but be more general in
> my opinion, so that it can be used whenever someone wants to use JBehave
> for UI testing. What do you think (not you Christiano ;-))?
>
>
> 2013/12/5 Hans Schwäbli <[email protected]>
>
>> Strange, since if I don't set any StepMonitor I don't see a StepMonitor
>> like the SeleniumStepMonitor. Do you know how SeleniumStepMonitor appears?
>> Maybe we have a misunderstanding.
>>
>> Anyway, I will check that.
>>
>>
>> 2013/12/4 Cristiano Gavião <[email protected]>
>>
>>> you can't see because the default StepMonitor (as many other configs) is
>>> set automatically for JBehave runner/embedder.
>>>
>>> and this project is for test a Swing application....
>>>
>>>
>>> 2013/12/4 Hans Schwäbli <[email protected]>
>>>
>>>> Could you be more specific please?
>>>>
>>>> If I look into this class, there is no StepMonitor configured:
>>>>
>>>> https://github.com/jbehave/jbehave-core/blob/master/examples/gameoflife/src/main/java/com/lunivore/gameoflife/GridStory.java
>>>>
>>>>
>>>> 2013/12/4 Cristiano Gavião <[email protected]>
>>>>
>>>>> You already have this in core...
>>>>>
>>>>> check this example:
>>>>> https://github.com/jbehave/jbehave-core/tree/master/examples/gameoflife
>>>>>
>>>>>
>>>>> 2013/12/4 Hans Schwäbli <[email protected]>
>>>>>
>>>>>> There is a nice SeleniumStepMonitor in jbehave-web which shows live
>>>>>> the steps which are performed in a small window.
>>>>>>
>>>>>> I tried to have such a step monitor in another use case: testing a
>>>>>> rich client with JBehave and IBM Rational Functional Tester.
>>>>>>
>>>>>> It would be nice if I could use that monitoring window for this use
>>>>>> case too. But SeleniumStepMonitor is only meant for Selenium.
>>>>>>
>>>>>> But I think it could be moved to core so that it can be used when
>>>>>> automating any GUI, with or without Selenium
>>>>>>
>>>>>> I mean a general purpose "GuiStepMonitor" or something like this. So
>>>>>> it could be used even if I don't use Selenium.
>>>>>>
>>>>>> What do you think?
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> "Tudo vale a pena se a alma não é pequena..."
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> "Tudo vale a pena se a alma não é pequena..."
>>>
>>
>>
>

Reply via email to