Monday, May 20, 2013

Design Patterns for automation frameworks


Object Page and Factory Page


“Page Factory” is a patter that represents the UI as a Class. Also, the GUI will include some features. This pattern will provide a bridge between the page and the tests.

Here are the main advantages of Page Object Pattern using:

1) Simple tests and ordered
2) Good support to tests saved in one place.
3) Easy way to create new test cases. Test can be created by people without programming skills.

Implementing these patterns in a project: 


Object Page:


Page Factory


No comments:

Post a Comment