Reputation: 791
I have a following structure in my project:
pages - for describing web-elements on the page with getter and setters.
tests - for tests using pages
resource - config file with url, username, password
I want to make a class User and use object of this class in the test. Where should I put it? In which directory?
Upvotes: 0
Views: 697
Reputation: 26
It should be stored in the separate directory, e.g. entities directory. But not in the pages folder.
Upvotes: 1
Reputation: 280
It should be kept in pages. Test files and Page Objects must be in different locations.
Upvotes: 0