Upload
others
View
60
Download
3
Embed Size (px)
Citation preview
Automation Selenium SolutionDelivering a licensed tool experience at an open source cost
We get you past the bottlenecks!TM
QA CENTER OFEXCELLENCE SOA SERVICESFDA VALIDATIONFUNCTIONAL
PERFORMANCE AGILEBIG DATASECURITY
AUTOMATION LEGACYCLOUDMOBILE
FUNCTIONAL
QA CENTER OFEXCELLENCE SOA SERVICESFDA VALIDATIONFUNCTIONAL
PERFORMANCE AGILEBIG DATASECURITY
AUTOMATION LEGACYCLOUDMOBILE
FUNCTIONAL
solutions.pyramidci.com 2
Pyramid’s Automation Selenium Solution
Selenium Overview
Selenium is an open-source functional
automation testing tool for web-based
applications. It was developed by
ThoughtWorks in 2004 and is regarded
as easy to use, strong, and very flexible.
Interest in test automation utilizing the
Selenium tool suite has grown substantially
over the past several years for a number of
reasons, including:
• For web automation, it is a low-price,
easy-to-use solution that facilitates web
UI tests.
• It is highly flexible, offering many ways
to add functionality to both test scripts
and the framework to customize test
automation.
• It offers continuous integration with
Selenium Remote Control and Selenium
Grid for parallel test execution.
• Web Driver APIs for Python, Ruby, Java,
PHP, HTML and C#.
• It works on multiple browsers and
operating systems.
• It offered support for AJAX components
long before licensed tools.
Multiple Browser Support
Tests developed on Firefox via Selenium IDE
can be executed on any other supported
browser via Selenium RC.
The following browsers are supported:
Firefox: Up to version 16
IE: Versions 6, 7, 8, 9, and 10 (32/64-bit)
Safari: Up to version 5
Google Chrome: Up to version 21
Opera: Versions 8, 9, and 10
Multiple Operating System Support
Selenium supports many operating systems,
including but not limited to:
• Windows
• Linux/Unix
• Mac
Key Components of Selenium
Selenium IDE: Installs as an add-on in
Mozilla. Only runs in Mozilla. Strong feature
of record and run. IDE functionality can be
extended with the help of user extensions.
Supports regular extensions, loops, if
statements, and many other features. Test
cases can be parameterized using IDE.
Selenium RC: The older version of
selenium. Works on multiple browsers.
Can be implemented in any one of the
programming languages mentioned above.
Web Driver: The new version of Selenium.
Also works on multiple browsers. Reduces
many drawbacks and issues in Selenium RC.
Also supports Android and iPhone testing.
Grid: Used to run test cases concurrently on
multiple machines and browsers.
QA CENTER OFEXCELLENCE SOA SERVICESFDA VALIDATIONFUNCTIONAL
PERFORMANCE AGILEBIG DATASECURITY
AUTOMATION LEGACYCLOUDMOBILE
FUNCTIONAL
QA CENTER OFEXCELLENCE SOA SERVICESFDA VALIDATIONFUNCTIONAL
PERFORMANCE AGILEBIG DATASECURITY
AUTOMATION LEGACYCLOUDMOBILE
FUNCTIONAL
AUTOMATION SELENIUM SOLUTION
SELENIUM
IDE
Record Mode Execute Multiple Tests In Multiple Servers
Driven Mode: Test Scripts in Multiple Languages
Bot Mode: HTML Tables
GRID
CORE RC
Se
KEY COMPONENTS OF SELENIUM
solutions.pyramidci.com 3
Pyramid’s Automation
Selenium Solution
To overcome and address many of the issues
listed above, Pyramid’s testing team developed
the Automation Selenium Solution as a unique
framework that includes all of the features and
functionality required to provide a high-quality,
low-cost solution for automation. Pyramid has
made significant investment to fill the Selenium
out-of-the-box gaps as outlined below.
• Frameworks in C# and Java
• Integrations with several open source and
licensed ALM tools
• Versatility to create test scripts using
keyword, data-driven, or hybrid
automation approach
• Custom summary report
Integrations
• HP Quality Center/ALM
• Open-source test management tools
• Build/deployment/continuous
integration tools
• Open-source code management/version
control tools
Components of Pyramid’s
Automation Selenium Solution
Pyramid Data Accelerator: Creates a
mechanism for managing test data, allowing
tests to be data-driven. Functions that
validate back-end data are also included.
Pyramid Object Manager: Creates and
manages objects using a simple GUI in a
centralized repository
Pyramid Report Accelerator: Provides a set
of standard reports in HTML/Excel format.
Pyramid Scripting Framework: Can be
implemented with a keyword or functional
decomposition style scripting solution.
Input Data Library Object
Pyramid Object Manager
Manager Reporting Engine
Functional Decomposition Framework
Keyword Driven Framework
X No Easy Way Of Managing Data Input
X No Easy Way Of Managing Test Objects
X No Common Reporting Capabilities
X Requires Complex Scripting
SELENIUM OUT OF BOX SHORTFALL
OUT OF THE BOX SELENIUM VS. PYRAMID SELENIUM
PYRAMID'S SELENIUM SOLUTION
• Test data management solution
• Object repository/management solution
• Custom reporting engine
• Functional decomposition framework
Pyramid’s Automation
Selenium Solution Features
• Built to meet the need for a cost-efficient
automation solution
• Easy scripting (similar to QTP and other
licensed web testing tools)
• Reduced complexity enabling
increased productivity
• Test suite execution functions allow for
multiple tests to be executed together
• Component based architecture reduces
maintenance costs
• Customized exception handling
• Code DOM capability
• Support for Windows APIs and controls
• Reduced complexity enables
increased productivity
• Code management system to maintain
multiple iterations of test script
• Highly flexible and extensible framework
that uses procedures/functions that
provide effective reusability of code
and lowers the cost of maintenance
Challenges and Limitations Using
Out-of-the-Box Selenium
Open-source solutions require significant
investment to make them useful. In spite
of its many advantages, Selenium presents
significant shortcomings that must be
addressed to make it an efficient enterprise
solution. Pyramid’s Automation Selenium
Solution addresses all of these shortcomings
with a unique automation framework that
allows an organization to take advantage of
the cost savings of an open-source tool while
providing the experience of a licensed tool.
The following are some of challenges faced
using out-of-the-box Selenium:
• No easy way to manage data input
• No easy way to manage test objects
• No common reporting capabilities
• Requires complex scripting
• Pop-up windows and Flash
• Testing dynamic text or content
• Capturing screen shots
• Handling alerts popups
• Switching between windows
• File Upload/Download
• Working with frames
• Field validation
• Identifying dynamic objects
• File Upload/Download
Pyramid’s Automation Selenium Solution
QA CENTER OFEXCELLENCE SOA SERVICESFDA VALIDATIONFUNCTIONAL
PERFORMANCE AGILEBIG DATASECURITY
AUTOMATION LEGACYCLOUDMOBILE
FUNCTIONAL
QA CENTER OFEXCELLENCE SOA SERVICESFDA VALIDATIONFUNCTIONAL
PERFORMANCE AGILEBIG DATASECURITY
AUTOMATION LEGACYCLOUDMOBILE
FUNCTIONAL
solutions.pyramidci.com 4
Pyramid Consulting Inc. - World Headquarters
11100 Atlantis Place, Alpharetta, GA 30022
Phone: 678.514.3500, Toll Free: 877.248.0024
Pyramid’s Automation Selenium Solution
QA CENTER OFEXCELLENCE SOA SERVICESFDA VALIDATIONFUNCTIONAL
PERFORMANCE AGILEBIG DATASECURITY
AUTOMATION LEGACYCLOUDMOBILE
FUNCTIONAL
QA CENTER OFEXCELLENCE SOA SERVICESFDA VALIDATIONFUNCTIONAL
PERFORMANCE AGILEBIG DATASECURITY
AUTOMATION LEGACYCLOUDMOBILE
FUNCTIONAL
PYRAMID’S TESTING TEAM DEVELOPED THE AUTOMATION SELENIUM SOLUTION AS A UNIQUE FRAMEWORK THAT INCLUDES ALL OF THE FEATURES AND FUNCTIONALITY REQUIRED TO PROVIDE A HIGH-QUALITY, LOW COST SOLUTION FOR AUTOMATION.