Tuesday, July 11, 2017

POM Transactions log application

This blog about POM web application used for record transactions in POM files

About Page Object Model (POM)

Page Object Model is a design pattern to create Object Repository for web UI elements. Under this model, for each web page in the application, there should be corresponding page class. This Page class will find the Web elements of that web page and also contains Page methods which perform operations on those Web elements.



About Application

POM Transactions log is a small application that manage transaction in Page object model files in test automation framework that test a specific application.


Why application?

A group of quality control engineers used test automation to test a distributed application. They work on multinational company as outsource and the Framework source code of test automation shared with them and always make a transactions in page object model files that contain elements and functions of pages of an application under test.

The team consist of 11 resource, 1 quality control leader, 1 test automation engineer and 9 quality control engineers. The responsibility of test automation engineer to develop test automation framework and responsibility of quality control engineer to execute test scripts and update any changes in scripts and page object models. These changes after updates moves to test automation engineer to collect it in centralized solution.

The company need one person only of team responsible for push framework to the server, so they need a simple solution to record all updates in page object models then a test automation engineer update centralized solution by save all transactions in files by team and these transactions are register in POM application, So make easy way to collect all transactions.

How to use?

Application under test contain projects, each project have versions and pages, each project have test automation framework to test it. The test automation framework contain page object models, each class in page object model represent page in specific project.

So we want to insert Projects, its versions, its pages (page object model represent) and logged all transactions in every page object models.

Transactions in page object model classes occur in elements and functions and the transaction may be new (element or function) or update existing (element or function) or delete (element or function)

-First add Projects names in specific product
-Add versions of each project
-Add Pages of each project


-Add transaction occur in each page
-Choose User, Project, Version and Page
-Choose Transaction type (new-update-delete) and transaction date
-Choose the place of transaction (element or function)
-And write the part of code modified


Tools used to develop Application:

Languages/Framework/Back-end: C#.net, .NET Framework 4.5.2, MVC Web application

Front-end: HTML5, CSS3, JQuery, Bootstrap

Database: MS SQL Server, Entity framework EF6

GitHub

https://github.com/mwahab25/PomMVC