0% found this document useful (0 votes)
105 views

Walchand College of Engineering, Sangli

The document describes a project to develop an automated test execution framework for Eaton's web-based user interface for motor control products. The framework aims to automate manual testing activities to improve efficiency and reduce costs and errors. It will execute test cases written in Java using the Selenium IDE and generate reports with video recordings. The framework uses a hybrid approach integrating several open-source tools like Selenium. It extends the Selenium page object model to define and test each component. The automated tests will help perform regression and progression testing of new versions as the software undergoes continuous development and iterations.

Uploaded by

Aishwarya burad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
105 views

Walchand College of Engineering, Sangli

The document describes a project to develop an automated test execution framework for Eaton's web-based user interface for motor control products. The framework aims to automate manual testing activities to improve efficiency and reduce costs and errors. It will execute test cases written in Java using the Selenium IDE and generate reports with video recordings. The framework uses a hybrid approach integrating several open-source tools like Selenium. It extends the Selenium page object model to define and test each component. The automated tests will help perform regression and progression testing of new versions as the software undergoes continuous development and iterations.

Uploaded by

Aishwarya burad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Walchand College Of Engineering, Sangli.

(An Autonomous Institute)

Department
Of
Computer Science and Engineering

A Project Report
On

Design and Development of Automated Test


Execution Framework for Eaton Web User
Interface for Motor Control Products

Submitted by

Kajal Burad (2017BTECS00207)

Under the Guidance


of

Dr. B. F. Momin Mr. Shrikant Pawar


Guide,H.O.D Co-Guide
Computer Science & Engg. Dept, Engineering Manager,
WCE, Sangli. Eaton India Innovation Centre, Pune [for
SEM 2]

June 2020
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products

Walchand College of Engineering, Sangli


(An Autonomous Institute)

Department
Of
Computer Science and Engineering

CERTIFICATE

This is to certify that the Project Report entitled, ”Design and Development of Au-

tomated Test Execution Framework for Eaton Web User Interface for Motor Control

Products” submitted by Ms.Kajal Jitendra Burad to Walchand College of Engineering, Sangli,

India, is a record of bonafide Project work of course 3CS492 PROJECT-II carried out by him/her

under my/our supervision and guidance and is worthy of consideration for the award of the degree

of Bachelor of Technology in Computer Science & Engineering of the Institute.

Dr. B. F. Momin Mr. Shrikant Pawar Dr.B.F.Momin

Guide,H.O.D Co-Guide Head Of Department

Computer Sci. & Engg. Dept, Eaton India Innovation Center, Computer Sci. & Engg.Dept,

WCE, Sangli. Pune[for SEM 2] . WCE, Sangli.

2
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products

Acknowledgement

We are rather infused by the kind guidance of Mr.Shrikant Pawar and Dr. B. F.Momin

who put in the cradle of our Engineering studies and evaluated us to this end and mean of our

project. We could not have been able to complete the project without the valuable guidance of the

Respected Panel. Without the guidance of all these respected members, we are sure to be orphans

in the vast ocean of application development. In the end, we would like to express a sincere thanks

to all the people who helped us in the project completion directly or indirectly and feel lucky to

have got their help.

3
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products

Declaration

I hereby declare that work presented in this project report titled ”Design and

Development of Automated Test Execution Framework for Eaton Web User Interface

for Motor Control Products” submitted by me in the partial fulfillment of the requirement of

the award of the degree of Bachelor of Technology (B.Tech) Submitted in the Department

of Computer Science & Engineering, Walchand College of Engineering, Sangli, is an

authentic record of my project work carried out under the guidance of Dr. B. F. Momin.

Date : (Signature)

Place : Sangli
Kajal Jitendra Burad

2017BTECS00207

4
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products

Abstract
A software based Web Service and configuration tool is used to configure, monitor and test motor and

controllers which are used in various industrial applications. The software service and configuration

tool keeps undergoing constant development with feedback from customers and product owners for

new features, improvements and bug fixes. This leads to multiple iterations of software development

and testing cycles and to perform the complete testing, the system tester need to go through multiple

testing activities, which includes performing regression and progression testing including several

manual tests which is very much required to test and verify the system stability. Also, having

continuous iterations may introduce new bugs and broken changes and this may lead to quality and

delivery issues.

Accurate testing of service and configuration tool is also crucial as any deviation

from expected result may lead to increased time-to-market which may ultimately affect customer

satisfaction.

5
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products

Table Of Contents
1 Introduction 7

1.1 Overview and Problem Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

1.2 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

1.3 Contributions of this work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

2 Background and Related Work 9

3 Proposed Method/Algorithm 10

3.1 Problem Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

3.2 Proposed Idea/System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

3.3 System Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

3.4 System Analysis and Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

3.4.1 Design and Test Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

4 Performance Study 13

4.1 Implementation/Simulation Environment . . . . . . . . . . . . . . . . . . . . . . . . 13

4.2 Results and Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

4.3 Summary of performance study . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

5 Conclusions and Future Work 14

6 References 15

List Of Figures

• figure 1 example

• figure 1 example

Acronyms

• QA Quality Analyst

• AN1 Another name

6
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products

1 Introduction

Testing is crucial to the success of any software product. If your software doesn’t work

properly, chances are that most people won’t even buy or use your software product, if they did

at least not for long. But testing to find defects or bugs manually is time-consuming, expensive,

often repetitive, and subject to human error. This is where automation comes into the picture.

Automation is essential for software development teams to keep pace with the rising demands for

higher-quality software at lightning speed. Automation testing is the process of using the assistance

of tools, scripts, and software to perform test cases by repeating pre-defined actions. Test automa-

tion focuses on replacing manual human activity with systems or devices that enhance efficiency.

Automation framework is designed using several open-source tools and libraries (listed at end) to

provide hybrid support for Web Service Automation. The advantage of having such a hybrid frame-

work is we can easily overcome bottleneck issues by exploring any of these libraries, they easily

integrate and complement each other’s implementation. The automation framework will perform

most of the manual activities which does not requires any human intervention and generate reports

with recorded video for analysis purpose. The automated test cases are written using java language

utilizing the IDE of Selenium which is a free tool with great community support. The Selenium

IDE provides great support for Test case management, integration between different CI/CD tools,

and great reporting architecture. Selenium Supports Keyword-based design of test cases, and the

complete test design strategy for product in discussion is based on the same approach. We have

extended the Page Object Model facility of Selenium, where we can define/create the Model of each

component and test it.With such a collection of pages, automated test cases become easy to read

and manage and new test cases can be easily created in a step-to-step manner. Since lots of different

motor controller components follow same process of functional approach, the models written for

one of the component can be easily utilized or extended for other component, without the need of

re-writing the complete framework.

1.1 Overview and Problem Statement

To explore, evaluate and implement automation frameworks to accurately execute the

manual tests, extended testing support to different modules of Web Service Tool and to reduce the

time required to test the parameters.

7
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products

1.2 Motivation

Eaton’s motor controller are designed and manufactured for applications requiring ultra-

compact solution clean power or future configurability in mind.This motors are widely used across

the electronics domain and require the automation of around 600 parameters,so the automation

becomes accurately and quickly. Thus to overcome manual human tedious work into and automated

system that saves the time and hard work.

1.3 Contributions of this work

Motor Controller are highly configured with many parameters as input to judge the proper

working flow of the devices. Thus to manually test each and every parameter value is a tedious

work.Thus to automate around 600 parameters we preferred the Selenium Web driver with Page

Object Modeling support. Selenium is a open source web testing framework which provides the

great support for Web Service Automation.

8
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products

2 Background and Related Work

Thomas Ostreicher , Reinhard Hametner stated that increasing complexity of software

components in automation systems require systematic and frequent testing approaches. Test-First

(TFD) an established approach in business IT software development - promises to support test au-

tomation in automation systems development. Nevertheless, linking test case generation, execution,

and reporting requires a sound framework to support testing processes more efficiently. Applying the

framework in prototype applications in industry environment identified the framework as promising

candidate to improve automation systems development and productquality.Promising approach was

developed to test graphical user interfaces (GUI) in a platform independent manner.

Shin-Jie Lee ,ShangPin Ma stated that test case recording and playback technology, nor-

mally implemented as a test case recorder, has been widely applied in the industry.The experiment

result showed that the waiting time can be determined dynamically and automatically, so that testers

did not have to manually add waiting commands thereby reducing the time and error of artificial

discrimination. The proposed mechanisms were implemented as parts of the SideeX open source web

testing software and have been further adopted by the new selenium IDE. Currently, over 60,000

web testers around the world run the mechanisms.

9
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products

3 Proposed Method/Algorithm

The proposed solution includes the development of web framework which has more than

600 motor parameters such as frequency,power supply etc.Thus this parameters are automated using

TestNg framework and selenium webdriver ,where the automation script gets executed.

This approach improves the time required for manual testing and saves the lots of time

and manual human work.

3.1 Problem Definition

Motor Controller are highly configured with many parameters as input to judge the proper

working flow of the devices. Thus to manually test each and every parameter value is a tedious

work.Thus to automate around 600 parameters we preferred the Selenium Web driver with Page

Object Modeling support.Selenium is a open source web testing framework which provides the great

support for Web Service Automation.

3.2 Proposed Idea/System

The testing framework is a set of guidelines or rules used for creating and designing test

cases. These guidelines could include coding standards, test-data handling methods, object repos-

itories, processes for storing test results, or information on how to access external resources. The

benefits of such framework includes reusability of code, improved efficiency, scalability and reduces

failure cost.Using a Data-driven framework separates the test data from script logic, meaning testers

can store data externally.

Setting up a data-driven test framework will allow the tester to store and pass the input/

output parameters to test scripts from an external data source, such as Excel, Spreadsheets, Text

Files, CSV files, SQL Tables, or ODBC repositories.

10
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products

3.3 System Architecture

Figure 1: Data Driven Testing Framework.

3.4 System Analysis and Design

The System is designed using the SDLC Methodlogy. Agile methodology focuses on build-

ing a high quality product,reducing the risk associated with development. Since, agile methodology

involves frequent changes,it is important to have a test automation process for the same. More-

over,one can consider using continuous integration as well to avoid and repetitive task. Automation

testing life cycle executes in parallel with the software development life cycle process.The structured

automation testing life cycle comprises of a multi-stage process that supports the activities required

to utilize and introduce an automated test tool,develop and run test cases,develop test design,build

and handle test data and environment.In automation testing life cycle methodology,test design is

constructed to portray test efforts,to give project and test team a framework on the scope of the

test program.Determining the scope of test automation.

11
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products

3.4.1 Design and Test Steps

The Design and Test Steps followed the following strategy:

1. Selecting the right tool for automation.

2. Test plan + Test design + Test strategy.

3. Setting up the test environment.

4. Automation test script development + Execution

5. Analysis + Generation of test reports.

Figure 2: Test Steps .

12
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products

4 Performance Study

4.1 Implementation/Simulation Environment

The following simulation environment was used while developing this system.

1. Eclipse IDE (For developing and testing TESTNG test cases).

2. Java - JDK 8 or above.

3. Selenium WebDriver(To run the system on any web browser such as Google Chrome,Internet

Explorer).

4. TestNG library(Framework to design the test cases).

5. BitBucket (Repository).

4.2 Results and Analysis

Current Implementation will result in good test coverage at final phase of project and allow

us to build a rigid framework for future products. Injecting test automation at start of products

lifecycle will allow us to reduce the manual testing efforts and provide reliable results. More than

600 parameters got automated through this project and test exceution time was saved.Later on the

Reporting Features makes the greater flexibility to the test results and the instant comparison is

made on the results through API. Page Object Modeling supports the good architecture of code and

thus was easy to inspect the code.

4.3 Summary of performance study

The bottleneck issues by exploring any of these libraries, they easily integrate and com-

plement each other’s implementation. The automation framework will perform most of the manual

activities which does not requires any human intervention and generate reports with recorded video

for analysis purpose.

13
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products

5 Conclusions and Future Work

Verification and validation of motor controllers are of critical importance as they directly

impact large complex systems and eventually businesses.With continuous production releases of these

service tools, manual testing of scenarios to verify the service tool’s quality is a tedious process.This

implementation will help us to reduce the execution time drastically, along with providing greater

assistance to development as well as quality teams in terms of quick validation of their software

builds.The framework is easy to learn and implement, allowing QA testers with little coding knowl-

edge to adapt for other similar projects.Current implementation can be easily extended to support

the Web Services that are build to automate.

14
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products

6 References

References

[1] Dietmar Winkler, Reinhard Hametner,Thomas Ostreicher :A framework for automated testing

of automation systems.

The LATEX Companion. Addison-Wesley, Reading, Massachusetts, 1993.

[2] . P aul Givens, Aleksandar Chakarov,Sriram Sankaranarayanan ,Tom :Exploring the internal

state of user interfaces by combining computer vision techniques with grammatical inference.

[3] Selenium With Java Documentation,

https://www.selenium.dev/selenium/docs/api/java/index.html

[4] TestNg Documentation,

https://testng.org/doc/documentation-main.html

15

You might also like