WHITEPAPER
Fast and Scalable Automation Framework : “Booster”
Testing is a form of software business insurance. More automation coverage means less risk. and that is good news for everyone.
Sonal PallewarEmail : [email protected]
“AutomationFramework” and “Whydo we need a frameworkfor test automation?”
A framework is a software solution that can beused in place of ordinary code that offersgeneric functions.
Some of the challenges of automation are:
● Writing and maintaining test automation frameworks
● Scaling to high number of simultaneous tests in various environments
● Reporting and analytics of large number of test results to assess test coverage and build quality
● Ease of use to extend and maintain the framework
● Rich libraries that can be leveraged for quick delivery of automation
Booster–Linux based
multithreadedautomation framework
1
”Booster” addresses the above challenges and is used to automate and test several web and mobile frontend applications as well as backend components by executing hundreds ofsimultaneous tests.
Booster is a best-fit Linux based multithreaded automation framework that is fast, scalable and easily extensible. Booster also has readily available rich web, mobile, Linux libraries that can be leveraged to quickly build product specific tests without investing much time in interaction with web and mobile UI interfaces.
2
Need of Booster framework
Linux BasedBooster is a Linux based framework
Supports remote execution of web testsSupports remote execution of tests in target environments with the help of paramiko python library.
Supports frontend and backend automationConsists of a rich set of Selenium, mobile and Linuxlibraries
Selenium Grid
Supports serial and parallel execution of tests, Multi-platformsupport i.e. Windows, Linux and Multi-browser support i.e. Chrome, Firefox, Edge, Safari and also supports headless browser
Integration with CI toolsBooster supports integration with Jenkins and Bamboo
3
Web Interface to manage automation suites and report test resultsRich web Interface to centrally define and manage test automation. The user interface helps end users to quickly define test environments, test suites and execute tests quickly.
Containerized DeploymentEasy to deploy Booster
Support for Python 3.xBooster upgraded from Python 2.7 to 3.5 addressing issues like Print statement, HTMLTestRunner had to be made compatible with respect to screenshot attachment in execution reports in case of failure, Unicode/Decode conversions, syntaxes and deprecated support for some dictionary functionalities, handled iterable objects instead of lists, handled NameError for xrange
Future Enhancements
WEB PERFORMANCETESTING
API TEST AUTOMATION
4
Tools & Technology
Platform – Ubuntu Programming Language – Python_3.5
Backend – Apache Tomcat, Selenium Grid
UI – HTML, CSS, JavaScript, Django Template
Multi-threading using Python thread library
Database – MySQL
Test Data – json
5
Booster Architecture
Config
Configurations
Testdata Loader Database
Test Scripts
Test Runner
AppiumSelenium Grid
Reports
Logs
EXECUTE TEST SUITES
TEST EXECUTOR
TESTDATA
Testdata
6
By Design
7
8
About AFour Technologies
Established in 2007, AFour Technologies (a.k.a.
AFour) focuses on Software Product Engineering
Services comprising UI/UX Design, Architecture
Design and Consulting, Software Development,
DevOps (CloudOps, SysOps and DBOps), QA
(Test Strategy and Implementation, Test
Automation, Performance, Security) and
Monitoring. With an excellent track record of
over 10 years and a focus on software product
engineering,
AFour is a true example of self-belief,
consistency, and transparency.
AFour is an ideation
and technology house.
Product companies
associate with AFour
for its product
conceptualization and
technology skills in a wide
range of technologies like
Java, Python, .NET,
JavaScript (MEAN), LAMP
(Perl and PHP), Angular,
React,
C++.
The company is a hub of
every cutting-edge
technology in software
engineering ʒ Hyper-
convergence, SDN,
Virtualization, Next
Generation Data Center
Technologies, Networking,
Enterprise Mobility.
Till date, AFour
Technologies has
been able to bring
together some of
the best and
brightest minds in
software
engineering.