Date post: | 15-Apr-2017 |
Category: |
Technology |
Upload: | savvycom-savvycom |
View: | 430 times |
Download: | 1 times |
SERENITY –BDDTRANINING SESSION
01.AUTOMATED
TESTING
REVIEW
WHAT IS AUTOMATED TESTING?
It is about using a software, a pieces of codes, or a test tool
Types of testing can be automated
F U N C T I O N A L
T E S T I N GR E G R E S S T I O N S T R E S S
P E R F O R M A N C E L O A D T E S T
AUTOMATED TESTING OBJECTIVES
SAVE
TIMESAVE
EFFORTS
INCREASE
CONSISTEN-
CY
INCREASE
EFFICIENCY
AUTOMATED TESTING ADVANTAGE & DISADVANTAGE
ADVANTAGES
RELIABLE: eliminating human error
REUSEABLE
BETTER QUALITY SOFTWARE
FAST
COST REDUCTION
DISADVANTAGES
High Investment In Tools And Training
High Man Power Requirement For Test
Preparations
A Lot Of Testing Areas Left Uncovered
02.SERENITY-
BDD TOOL
Seren i t y i s an
open source
l ib ra ry tha t he lps
you wr i te h igher
qua l i t y au tomated
acceptance tes t
fas ts .
OVERVIEW
STEPS TO AUTOMATED TEST BY SERENITY
+
Define requirements and acceptance criteria1
2 Automate your acceptance criteria
3 Implement the test
4 View test reports
STEPS TO AUTOMATED TEST BY SERENITY
+
1
STEP
DEFINE YOUR REQUIREMENTS
CASE STUDY:
In order to Login to iHeartLocal with various data
As an user
I would like you to login many times with different data
STEPS TO AUTOMATED TEST BY SERENITY
+
1
STEP
AUTOMIZE
YOUR
ACCEPTANCE
CRITERIA
STEP
2
STEPS TO AUTOMATED TEST BY SERENITY
+
1
STEP STEP
2
STEP
3
Test Implementation
(ILLUSTRATED THROUGH
REAL PRACTICE)
STEPS TO AUTOMATED TEST BY SERENITY
+
1
STEP STEP
2
STEP
3
Report on test results
STEP
4
STEPS TO AUTOMATED TEST BY SERENITY
+
1
STEP STEP
2
STEP
3
STEP
4
Report on functional test
coverage
WHY CHOOSE SERENITY
+
Free Of Charge. It’s An Open Source
Clear Structure
Create Good Test Report.
SETUP ENVIRONMENT
+
Integrate Cucumber plugin into EclipseSet Up Environment Variables
SCRIPT STRUCTURE
03.WEB-TEAM
STUDY
RESULT
WEBTEAM STUDY RESULT
List Element
1. Textbox
2. Button
3. Check Box
4. Radio buttons
5. Drop Down
6. Multiple Selects
7. Switch Commands
8. Drag & Drop Actions
9. RightClick & Menu context
10. Upload a file
11. Tree view
12. Date Time Picker
13. Data Driven Testings:
Reading Data table from *.feature file
Reading Data from Excel file
Write down data in Excel file
14. Verify commands
THE ENDTHANK YOU FOR LISTENING