Selenium Framework
Presented By:
Aakar
Agenda
What is Automation Testing?
Myth vs. Reality of Automation Testing
Is complete Test Automation always good?
What do we Automate?
Why do we Automate
Types of Automation Tools
What is Framework
How to choose Framework
Framework Kit
Types of Automations Testing Frameworks
Key Features of Framework
What is AutomationTesting?
Myth vs. Reality of AutomationTesting
Myths
Automated testing always results
in improved software quality
Every application development
project or testing team can use
automated testing tools
Automated testing is an all or
nothing
Realities
Automated testing requires a
higher initial investment but can
yield a higher ROI
Skills and training are required to
be successful with any automated
testing tool
Every company doing automated
testing still does some amount of
manual testing
Is completeTestAutomation always good?
What do we Automate?
Repetitive tests that run for multiple builds
Frequently-used functionality that introduces high risk conditions
Tests that run on several different hardware or software platforms and
configurations
Tests that take a lot of effort and time when doing manual testing
Why do we Automate
Items Cost Time
Builds and Executing Testing Manual Days
Develop Manual Tests 2 tester @ 50$/-day 4 days(400)
Execute Manual tests 2 testers @ 50$/-day 1 day(100)
Maintain Manual tests 1 tester @ 50$/- day Alternate day(50)
Total 550
Automation
Execute automated tests 1 tester @ 50$/- day 2-3 hours (6.25$/- hr)
Maintain automated test 1 tester @ 50$/- day 1 day(50)
Develop automated tests 1 tester @ 50$/-day 5 days(250)
Total 310
Cost of 1st Build
Cycle
Cost of 1st Build
Cycle
Types of AutomationTools
Limited to Firefox
No Database testing
No Error handling
What is Framework?
Set of common software building blocks
No need to start from scratch every time
Reusability
How to choose Framework?
Framework Kit
Selenium
Framework
Data Sources
Continuous
Integration
Technologies
Logging
Reporting
Development
Excel
Database
MS Access
Html
Graphs
TestNG
3rd party
Log4j
Eclipse
Net Beans
Visual Studio
Java
Python
Perl
C#
Ruby
Jenkins
Ant
Scheduling
Types of AutomationsTesting Frameworks
Independent
scripts
Using data sources like
excel
Reusability of functions
Maintenance, all frameworks
covered
Key Features of Framework
Automation on
diverse set of
applications
HTML reports and
emailing
Flexible and
extensible
Consolidated
summary reports
Selective test
scripts
Project Structure
Project Name
SRC
Packages
drivers
jars
Project Structure
Main Method
Read Data
Read Prop. File
Xlsx Report
Project Structure
Generic
Application specific
Only Methods
Project Structure
Only Logs
Project Structure
Only Logs
Project Structure
Constants
Demo
Q & A
ThankYou

2 selenium-aakar gupte