2 selenium-aakar gupte
TRANSCRIPT
Selenium Framework
Presented By:Aakar
AgendaWhat is Automation Testing?Myth vs. Reality of Automation TestingIs complete Test Automation always good?What do we Automate?Why do we AutomateTypes of Automation ToolsWhat is FrameworkHow to choose FrameworkFramework KitTypes of Automations Testing FrameworksKey Features of Framework
What is Automation Testing?
Myth vs. Reality of Automation Testing
MythsAutomated 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
RealitiesAutomated 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 complete Test Automation 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 AutomateItems 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 Automation ToolsLimited 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
ExcelDatabaseMS Access
HtmlGraphsTestNG
3rd partyLog4j
EclipseNet BeansVisual Studio
JavaPythonPerlC#Ruby
JenkinsAntScheduling
Types of Automations Testing Frameworks Independent
scripts
Using data sources like excel
Reusability of functions
Maintenance, all frameworks covered
Key Features of FrameworkAutomation on diverse set of applications
HTML reports and emailing
Flexible and extensible
Consolidated summary reports
Selective test scripts
Project StructureProject Name
SRC
Packages
drivers
jars
Project Structure
Main Method
Read Data
Read Prop. File
Xlsx Report
Project StructureGeneric
Application specific
Only Methods
Project Structure
Only Logs
Project Structure
Only Logs
Project Structure
Constants
Demo
Q & A
Thank You