I wanted to know how to create Object Repository in Selenium Web Driver?
I tried in two ways:
- Create page class; keep all objects in that class & access using object of that class (POM)
- Create Properties File
Is above technique is a right way to create or is there any other solution for this?