cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple DataTable formatters for one class

s1apped
Occasional Visitor

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 1

Re: Multiple DataTable formatters for one class

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?

 

New Here?
Join us and watch the welcome video:
Announcements