I'm not able to use inline parameter for a scenario that is also using using external data source (xlsx file in my case with the help of Specflow External Data Plugin)
@DataSource:typeBasedFields.xlsx @DataField:item_type=type
Scenario: Load Item Fields based on the Item Type selected
Given: the "User A" has logged in
When: the user selects an <item type>
Then: the relevant <fields> should be displayed
In the above scenario, for the Given step, I'm passing "User A" as the parameter value. For the When and Then steps I'm reading the values from the external data source.
But when I execute this scenario, item type value is passed to the Given step instead of "User A".
-
I think more detail is required here:
What is this written in? Java, Python, C#, etc
What do the code functions behind this look like?
How are you passing the parameter to the function?With more info maybe someone can point to a reason.
0
Please sign in to leave a comment.
Comments
1 comment