Forum Discussion

s1apped's avatar
s1apped
Visitor
4 years ago

Multiple DataTable formatters for one class

Hi,

 

Is it possible to have multiple DataTable formatters for one class in multiple step definitions?

For example in 1 step definition is responsible for creating and Author and the other is responsible for updating.

In the end they create the same object but logic is different?

I tried with @DataTable but it seems to be working globally  one created.

 

Thanks! 

1 Reply

  • Would it be possible for you to share a concrete, detailed example of what you are trying to achieve?

     

    When you talk about formatter, what kind of formatter do you have in mind?