[ 
https://jira.codehaus.org/browse/JBEHAVE-780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=298509#comment-298509
 ] 

Mauro Talevi commented on JBEHAVE-780:
--------------------------------------

You can parametrise a scenario using the table data loaded from a separate file:

http://jbehave.org/reference/stable/parametrised-scenarios.html

When contributing new ideas, please start from asking on the mailing lists if 
it's already possible with the current functionality:

http://jbehave.org/reference/stable/how-to-contribute.html

An issue can be opened once the idea has been discussed. 

                
> Isolate parameter data from .story files
> ----------------------------------------
>
>                 Key: JBEHAVE-780
>                 URL: https://jira.codehaus.org/browse/JBEHAVE-780
>             Project: JBehave
>          Issue Type: Story
>          Components: Core
>            Reporter: prem
>
> Would like to segregate data from story file so that maintenance between 
> stories and datas can be easy. 
> For example,
> Given I log into mail account as user $username with password $password
> example 
> username xxx
> password xxx.
> Would like to keep the example part in one file(.xml or text file) and .story 
> file may not have example part. I want to create a mapping between $username 
> from .story file and the data 'xxx' from .xml/.txt file. When Jbehave 
> executes the scenario in step file, it should able to read the data('xxx') 
> from data file and map to appropriate filed($username). Is this possible in 
> present Jbehave framework? Could help us to do this

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

    http://xircles.codehaus.org/manage_email


Reply via email to