Hi Vicki,

can you please be more precise about what you think you can't do?

MostUsefulConfiguration is simply a concretisation of Configuration,
providing some defaults.  SeleniumConfiguration extends Configuration
with Selenium-specific elements.  What you can do with
MostUsefulConfiguration you'll be able to do with SeleniumConfiguration. 

Cheers

On 26/05/2011 00:34, VSS wrote:
> I am trying to use the new code introduced in JBehave-413 to name our 
> screenshot files more meaningfully.
> I did try following the example laid out in Paul's tutorial site 
> https://github.com/paul-hammant/jbehave-webdriver-example/blob/master/etsy-stories/src/main/java/org/jbehave/tutorials/etsy/EtsyDotComStories.java#L42
>
> However, our framework is extending InjectableEmbedder and uses 
> runStoriesAsPaths(storyPaths()).  In following the code around, I see that 
> the Embedder class uses MostUsefulConfiguration, and there doesn't seem to 
> be a way to make that a SeleniumConfiguration, which, as I see it, is the 
> configuration I need to get the scenario name.
>
>  Following Paul's example would require me to completely rewrite the 
> framework, I think.  Any suggestions?
>
> (PS...Hi Paul, this is Vicki from Hoover's.  The framework is Kozak's, so 
> you've seen it, albeit many months ago) .
>
> Thanks In Advance.
> Vicki 
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


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

    http://xircles.codehaus.org/manage_email


Reply via email to