Where to locate the Asserts class?

Hi, I am working with POM and right now I have two pages: HomePage and LoginPage. I have to check if the login succeeds or to validate the username etc. Anyways, I have to assert on HomePage and LoginPage stuff. My question is where to locate the class of the assertions, how to arrange it in my project? Also, should I create an instance of the assertions (where?) or it should be a  static class? I also have a static class that creates the driver.

Thanks .

Default Asked on June 22, 2017 in Selenium WebDriver.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.