Walchand College of Engineering, Sangli
Walchand College of Engineering, Sangli
Department
Of
Computer Science and Engineering
A Project Report
On
Submitted by
June 2020
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products
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
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
Computer Sci. & Engg. Dept, Eaton India Innovation Center, Computer Sci. & Engg.Dept,
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
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
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.2 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3 Proposed Method/Algorithm 10
4 Performance Study 13
6 References 15
List Of Figures
• figure 1 example
• figure 1 example
Acronyms
• QA Quality Analyst
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
manual tests, extended testing support to different modules of Web Service Tool and to reduce the
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
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
8
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products
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
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
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
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
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
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
10
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products
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
11
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products
12
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products
4 Performance Study
The following simulation environment was used while developing this system.
3. Selenium WebDriver(To run the system on any web browser such as Google Chrome,Internet
Explorer).
5. BitBucket (Repository).
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
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
13
Design and Development of Automated Test Execution Framework for Eaton Web User Interface
for Motor Control Products
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
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.
[2] . P aul Givens, Aleksandar Chakarov,Sriram Sankaranarayanan ,Tom :Exploring the internal
state of user interfaces by combining computer vision techniques with grammatical inference.
https://www.selenium.dev/selenium/docs/api/java/index.html
https://testng.org/doc/documentation-main.html
15