Submitted by harrydev on Fri, 02/19/2016 - 12:28
Selenium Page Factory Pattern is like an extension to Page Object Model , but Page Factory is much enhanced model. To start with, we just need to import package ‘org.openqa.selenium.support.PageFactory’
"Factory class can be used to make using Page Objects simpler and easier".
Submitted by harrydev on Wed, 12/31/2014 - 04:22
In this example we will see a very simple Page Object Model example. To explain we have taken Google application and created BasePage, Sign In page and Create Account page.
To know what is page object model framework, Please refer Page Object Model Introduction
Steps to Create a Simple Page Object Model. The structure of the sample project should look like in the screen shot below
Submitted by harrydev on Sat, 12/20/2014 - 22:32
Page Object Model Framework has now a days become very popular test automation framework in the industry and many companies are using it because of its easy test maintenance and reduces the duplication of code.
The main advantage of Page Object Model is that if the UI changes for any page, it don’t require us to change any tests, we just need to change only the code within the page objects (Only at one place). Many other tools which are using selenium, are following the page object model.
Submitted by harrydev on Sat, 09/20/2014 - 05:58
In this framework, keywords are developed which are equal to a unit level functionality. It is an independent framework which perform automation based on the keywords specified in the excel sheet. Based on the type of application, the number of keywords will be increased to handle different functionalities.
The below are the few keywords which are used commonly in the web applications.
Submitted by harrydev on Sun, 05/11/2014 - 10:04
Introduction to Automation testing:
Testing is an essential part of a software development process. While testing intermediate versions of products/projects being developed, testing team needs to execute a number of test cases. In addition, prior to release every new version, it is mandatory that the version is passed through a set of “regression” and “smoke” tests. Most of all such tests are standard for every new version of product/project, and therefore can be automated in order to save human resources and time for executing them.
Submitted by harrydev on Sat, 03/01/2014 - 00:14
A test automation framework is a collection of re-usable methods which helps in automating test process.
Automation of test process include automation of following modules:
Test Execution: This is the place where a tool is used to execute the scripts.