RE: Storing objects in a property file


Which is a more convenient  way of storing objects in Selenium Web driver ? Either using property file or using Page Object Model ( declaring objects in class file and accessing them using PageFactory.initElements)

MayurVats Default Asked on November 4, 2014 in Selenium WebDriver.
Add Comment
4 Answers

Depends on your requirement and approach. If your assignment have large number of locators then you must go with page objects, if you have less locators you may go for properties file.

Train Answered on November 17, 2014.
Add Comment

Your Answer

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