Step 1:
Create an interface and declare some common unimplemented methods
Step 2:
Create UIAction class which implements this interface
Step 3: Create Base Page
Step 4:
Create Pages which extends this Base page
Step5:
Create Login Test and test this implementation
Note : Here
I have used Junit Testing framework for testing along with Selenium Java
Binding used few oops features like inheritance , abstraction etc.
What is DriverManager
, DriverFactory I will discuss in next
post.
Soon I will be adding this code to github repo.
@Author
Azharuddin Khan
https://www.linkedin.com/in/azharuddin-k-27aa7a18b/
Comments
Post a Comment