Andrii Dzynia
2012-10-17 17:05:41 UTC
I have an example:
Feature: Someting
Scenario Outline: If something
Given I opening main panel as administrator
When I choose <filterName> with <filterValue>
Then I should have table filtered with <filterValue>
Examples: data example
| filterName | filterValue |
| Country | Ukraine |
| Product | IceCream |
In Java I would like to get List<Entity> in both step definitions, but
cannot because it takes just String parameters. I'm afraid the cases with
many String arguments, more than 10. What is better to do in that way?
Regards,
Andrii
Feature: Someting
Scenario Outline: If something
Given I opening main panel as administrator
When I choose <filterName> with <filterValue>
Then I should have table filtered with <filterValue>
Examples: data example
| filterName | filterValue |
| Country | Ukraine |
| Product | IceCream |
In Java I would like to get List<Entity> in both step definitions, but
cannot because it takes just String parameters. I'm afraid the cases with
many String arguments, more than 10. What is better to do in that way?
Regards,
Andrii
--
-- Rules --
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cukes-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org To unsubscribe from this group, send email to cukes+***@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en
-- Rules --
1) Please prefix the subject with [Ruby], [JVM] or [JS].
2) Please use interleaved answers http://en.wikipedia.org/wiki/Posting_style#Interleaved_style
3) If you have a question, don't reply to an existing message. Start a new topic instead.
You received this message because you are subscribed to the Google Groups Cukes group. To post to this group, send email to cukes-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org To unsubscribe from this group, send email to cukes+***@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/cukes?hl=en