RE: Storing objects in a property file

Answered

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

Hi Mayur
I am not Sure What do You Mean By Objects , But i Guess you are Talking About Variables
Generally we Store Frequently Changing Values in Property File (Say browsername,username, password,somedropdown values)

But in PageObjects We Store Page Elements say Login Button ,Fields  etc

Regards
Ankit

Vice Professor Answered on November 5, 2014.

Thanks ankit for your suggestions .

on November 5, 2014.
Add Comment

Your Answer

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