Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When 'DataDriven' and 'For Loops' building blocks are nested inside other building blocks containers, they are not executed #226

Closed
liorgins opened this issue Dec 4, 2014 · 1 comment

Comments

@liorgins
Copy link

liorgins commented Dec 4, 2014

In case data driven or for loop are direct children of each other (not in sub scenario), Exception thrown when starting execution of the nested element and execution is stops completely.

Scenario
loop_in_ddt

BUILD FAILED
scenarios\ddt_in_ddt.xml:17: The following error occurred while executing this line:
scenarios\ddt_in_ddt.xml:26: java.lang.NullPointerException

ddt_in_ddt.xml:
loop_in_ddt_xml

@liorgins
Copy link
Author

liorgins commented Dec 4, 2014

Line 17 refers to in ddt_in_ddt.xml
Line 26 refers to in ddt_in_ddt.xml

itaiag added a commit that referenced this issue Dec 24, 2014
can now create plugins that provide the data from different sources such
as databases, excel file, etc.. (issue #222)
This commit should also fix bug that cause nested data driven and for
loops container to not be executed (issue #226)
@itaiag itaiag added this to the 6.1.01 milestone Dec 24, 2014
@itaiag itaiag self-assigned this Dec 24, 2014
@itaiag itaiag closed this as completed Dec 24, 2014
@itaiag itaiag changed the title Nested DataDriven and For Loops are not executing. When 'DataDriven' and 'For Loops' building blocks are nested inside other building blocks containers, they are not executed Feb 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants