title: Selenium Webdriver - Can test data be stored in Page Objects?
body: <p>We have some test framework created for Selenium in Java and think about test data management for our tests.</p>
  
  <p>We've implemented Page Objects classes, Tasks classes which group Page Object actions in higher level methods, Tests classes(jUnit) extend some BaseTest class.</p>
  
  <p>For now, we don't have test data stored in some separate properties files. I was trying to find any advice if we can/should place test data in the Page Objects but couldn't find the answer.
  Currently we have test data stored in variables in our tests.
  We use variables e.g.</p>
  
  <p><code>private final static String SOME_DATA ="value";</code></p>
  
  <p>which we can reuse across tests from given TestClass but if we need it in another Test Class we have to repeat it there.</p>
  
  <p>We don't want to place test data in the BaseTest class as it will grow significantly in time.</p>