0% found this document useful (0 votes)
38 views34 pages

Lecture0 PPT CSE376

Uploaded by

abhinav8022
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views34 pages

Lecture0 PPT CSE376

Uploaded by

abhinav8022
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

CSE 3 7 6

A u t o ma t e d Te s t i n g

LTP – 2 0 2 Credits:3
Lecture #0
The kick start session
Course Outcomes
• CO1 :: Understand various kinds of software testing tools for
software quality control.
• CO2 :: Compare manual and automated software testing
techniques.
• CO3 :: Use bug tracking tool to report bugs.
• CO4 :: Use testing tools for unit testing, code coverage and
website testing.
• CO5 :: Describe the basics of Jenkins, TestNg, JUnit 5, and Gherkin.
• CO6 :: Use Maven to create reports, checks and testing
automation setups.

© LPU :: CSE376 Gurbakash Phonsa


Program Outcomes
Outcome Heading Description
PO1 Engineering knowledge Apply the knowledge of mathematics, science, engineering fundamentals, and an engineering
specialization to the solution of complex engineering problems.
PO2 Problem analysis Identify, formulate, review research literature, and analyze complex engineering problems reaching
substantiated conclusions using first principles of mathematics, natural sciences, and engineering
sciences.
PO3 Design/development of Design solutions for complex engineering problems and design system components or processes
solutions that meet the specified needs with appropriate consideration for the public health and safety, and
the cultural, societal, and environmental considerations.
PO4 Conduct investigations of Use research-based knowledge and research methods including design of experiments, analysis and
complex problems interpretation of data, and synthesis of the information to provide valid conclusions.
PO5 Modern tool usage Create, select, and apply appropriate techniques, resources, and modern engineering and IT tools
including prediction and modeling to complex engineering activities with an understanding of the
limitations
PO6 The engineer and society Apply reasoning informed by the contextual knowledge to assess societal, health, safety, legal and
cultural issues and the consequent responsibilities relevant to the professional engineering practice.
PO7 Environment and sustainability Understand the impact of the professional engineering solutions in societal and environmental
contexts, and demonstrate the knowledge of, and need for sustainable development.
PO8 Ethics Apply ethical principles and commit to professional ethics and responsibilities and norms of the
engineering practice.
PO9 Individual and team work Function effectively as an individual, and as a member or leader in diverse teams, and in
multidisciplinary settings.
PO10 Communication Communicate effectively on complex engineering activities with the engineering community and
with society at large, such as, being able to comprehend and write effective reports and design
documentation, make effective presentations, and give and receive clear instructions.
PO11 Project management and Demonstrate knowledge and understanding of the engineering, management principles and apply
finance the same to one’s own work, as a member or a leader in a team, manage projects efficiently in
respective disciplines and multidisciplinary environments after consideration of economic and
financial factors.
PO12© LPU :: Life-long
CSE376learning
GurbakashRecognize
Phonsa the need for, and have the preparation and ability to engage in independent and life-long
learning in the broadest context of technological change.
Program Specific Outcomes

• PSO1: Apply acquired skills in software engineering,


networking, security, databases, intelligent systems, cloud
computing and operating systems to adapt and deploy
innovative software solutions for diverse applications.

• PSO2: Apply diverse IT skills to design, develop, and


evaluate innovative solutions for business environments,
considering risks, and utilizing interdisciplinary knowledge
for efficient real-time projects benefiting society.

© LPU :: CSE376 Gurbakash Phonsa


Course Contents
Before
MTE
Unit 1 : Automated Testing and Test Tools
• The Benefits of Automation and Tools • Test Tools • Software Test Automation
• Random Testing • Realities of Using Test Tools and Automation

Unit 2 : Bug Reporting


• Getting Your Bugs Fixed• Isolating and Reproducing Bugs • Not All Bugs Are
Created Equal
• A Bug’s Life Cycle • Bug-Tracking Systems • Manual Bug Reporting and Tracking
• Automated Bug Reporting and Tracking • Introduction to Bugzilla

Unit 3 : Test Administration


• Goal of Test Planning • Test Planning Topics • Goals of Test Case Planning
• Test Case Planning Overview • Test Case Organization and Tracking • Test case
Design
• Building Manual test cases • Building Automated test cases using Java Framework
tools
© LPU :: CSE376 Gurbakash Phonsa
Course Contents After
MTE
Unit 4 : Various Testing Frameworks Available in Java
Testing Tools Selection Criteria • Fundamentals of Jenkins, TestNg, Maven, JUnit 5, and Gherkin
• Introduction to JUnit framework • Define a test in JUnit • JUnit naming conventions • JUnit
test suites • Example JUnit test • Junit code constructs • Eclipse support for Junit • Installation
of Junit
Unit 5 : Structural testing using automated tool
• Structural testing • Data and Code Coverage • Statement Coverage • Branch Coverage • Path
Coverage • Other Coverages and Understanding Their Differences • Cyclomatic Complexity •
Introduction to Code Coverage Tool Eclemma • Interpreting results of Eclemma
Unit 6 : Test Automation and Management / Reporting Frameworks
• Introduction to Maven • Benefits and features of Maven • Activities managed by Maven •
Architecture of Maven • Installing/Configuring Maven • Creating Maven project •
Understanding POM.xml file •Adding Dependencies to POM.xml • Introduction to TestNG •
TestNG Vs JUnit • Downloading and Installing TestNG• Creating Test Cases using TestNG
Annotations • Creating Reports using TestNG • Understanding Annotation of TestNG • Need
of TestNG in Selenium • Running the Test • Checking reports created by TestNG • Generating
HTML Reports • Annotations used in TestNG • Validating Tests with Assertions • Creating
multiple Tests • Prioritizing Test
© LPU :: CSE376 Gurbakash Phonsa
Course Assessment Model

• Marks break up*


• Attendance 5
• CAP 45
• ETP 50

• Total 100

© LPU :: CSE376 Gurbakash Phonsa


Detail of Academic Tasks
• AT1: Practical 1
• AT2: Practical 2
• AT3: MCQ Test

• CA Category: C010102
**Test is compulsory and 1 best out of AT1 and AT2 will be
considered
• No MTE/MTP
• There will be ETP after the term will be over.
© LPU :: CSE376 Gurbakash Phonsa
Assessment and Evaluation Model
Type of Assessment (Add Type of Assessment e.g. Details of academic task Parameters/Rubri
rows in case some other
Test/Term c of Evaluation
assessments are
applicable) Paper/project etc.

CA1 Practical Assignment Scenario based problem 50% marks based


solving using testing tools on tool usage and
50% marks based
on conceptual
knowledge
CA2 Practical Assignment Scenario based problem 50% marks based
solving using testing tools on tool usage and
50% marks based
on conceptual
knowledge
CA3 MCQ-Based Test MCQ based test of 30 Each question
Questions will be designed carries 1 mark
inline with industry
certification of software
testing
© LPU :: CSE376 Gurbakash Phonsa
Assessment and Evaluation Model
Type of Assessment Type of Assessment Allotment Submission Maximum
(Add rows in case some e.g. Test/Term Week Week Marks
other assessments are Paper/project etc.
applicable)

CA1 Practical Assignment 5 6 30

CA2 Practical Assignment 9 10 30

CA3 MCQ-Based Test 10 12 30

© LPU :: CSE376 Gurbakash Phonsa


Star Course
This is star course as it is part of EM of “Automated Testing” which includes study of
software testing tools along with hands-on experience and practical approach. Through
this course, students will become skillful with capability of testing the software using
Selenium. Activities to be done are:
Topic: Activities Details of the Activities Planned Is this Activity a Tentative week of
part of Evaluation conduct of activity
(Yes/No): Which
CA/MTE/ETE

Workshop 2 hours Workshop in which No 4rd week and 9th week


students will be given sample
websites to perform the testing
assigned system.

Test Sprint A test sprint would be conducted No 5th week and 10th week
where students will be assigned
scenario-based question to design
test script

MOOC Students can complete the MOOC No Anytime during the term
from approved list and get the
academic exemptions
Pedagogical Initiatives
Lecture Pedagogical Initiative Expected Outcomes References Quantification
Numbe
r

2-27 Live Demonstration Students will learn how Self-Prepared 1


using Testing tools to use testing tools

2-27 Hands-on Practice using Students will use Self-Prepared 1


Testing tools specified testing tools for
testing the software

© LPU :: CSE376 Gurbakash Phonsa


Evaluation strategy
Type of Assessment Type of Details of academic task Parameters/Rubric of
(Add rows in case Assessment Evaluation
some other e.g. Test/Term
assessments are Paper/project
applicable) etc.

CA1 Practical Scenario based problem solving 50% marks based on tool
Assignment using testing tools usage and 50% marks based
on conceptual knowledge

CA2 Practical Scenario based problem solving 50% marks based on tool
Assignment using testing tools usage and 50% marks based
on conceptual knowledge

CA3 MCQ-Based MCQ based test of 30 Questions Each question carries 1 mark
Test will be designed inline with
industry certification of software
testing

© LPU :: CSE376 Gurbakash Phonsa


Books to be Used
Text Books:

1. SOFTWARE TESTING by RON PATTON, Pearson Education


India

References:

1. Software Testing: Principle and Practices by Srinivasan


Desikan, Gopalaswamy Ramesh, Pearson

2. FOUNDATIONS OF SOFTWARE TESTING by ADITYA P


MATHUR, Pearson Education India
© LPU :: CSE376 Gurbakash Phonsa
Mapped MOOCs
MOOC name WEBSITE Hours Paid/Unpaid Exemption

https://www.courser
a.org/learn/web-
Web And Mobile
mobile-
Testing With 20 hours free 1 AT
testing?specialization
Selenium
=software-testing-
automation

© LPU :: CSE376 Gurbakash Phonsa


Online Education Resources
Unit mapped Broad topic Sub Topic Source Title *%age Source URL
mapping
(approx)

Unit 1 Automated Testing Automation testing andTools, The Ultimate 90% https://testguild.com/wp-
and Test Tools Automation Testing Design Guide to content/uploads/2018/07/Ultimat
Patterns,Test Automation Automation eGuildToAutomation.pdf
Process,Test Automation Testing
Metrics

Unit 2 Bug Reporting Software Testing, Software Learn Software 80% https://www.guru99.com/pdf/soft
Testing Principles,Defect/Bug Testing in 1 ware_testing_preview.pdf
Life Cycle in Software Testing, Day
Defect Management Process in
Software Testing (BugReport
Template)

Unit 3 Test Administration Goal of Test Planning, Test Test 70% https://www.softwaretestinghelp.c
Planning Topics,TEST STRATEGY, Administration om/wp-
. Scope and Levels of Testing, content/qa/uploads/2014/02/Live
TEST MANAGEMENT PROCESS _Project_Test_Plan_SoftwareTesti
ngHelp.pdf

© LPU :: CSE376 Gurbakash Phonsa


Online Education Resources
Unit 4 Various Testing Test automation framework, PDF Choosing the 60% https://www.infosys.com/it-
Frameworks Executing proof of concept right services/validation-
Available in Java for the selected tool, automation solutions/white-
Implementing hybrid tool and papers/documents/choosing-
framework with QTP/UFT. framework is right-automation-tool.pdf
critical to
project
success

Unit 5 Structural testing Structural Testing, Procedure PDF Structural 60% https://www.cs.toronto.edu/~c
using automated Call Testing, Comparing Testing hechik/courses18/csc410/Ch12
tool Structural Testing Criteria. -13-
StructuralAndDataflowTesting.p
df

Unit 6 Test Automation Introducing Apache Maven, PDF Maven by 60% https://books.sonatype.com/m
and Installing Maven, Maven Example vnex-book/pdf/mvnex-pdf.pdf
Management/Rep Project
orting Frameworks

© LPU :: CSE376 Gurbakash Phonsa


What are Cohorts

• A group of students of a common programme who intend to


attain similar characteristics by means of learning similar skills
in order to target a particular career opportunity.

• Purpose of Cohorts: Student shall be able to have a goal


oriented approach for his/her career. Student identifies the
goal in the very first year and shall be able to follow the stage
wise career progression.

• Early identification of skill set required for selected goal.

© LPU :: CSE376 Gurbakash Phonsa


Cohorts

Outline
Cohort’s:

© LPU :: CSE376 Gurbakash Phonsa


CSE376 Mapping with Cohort

It maps with Cohort:

“Software Methodologies and Testing”

© LPU :: CSE376 Gurbakash Phonsa


Library E-Resources

LINK:
http://172.19.2.5/cgi-bin/koha/opac-search.pl?idx=&q=software+testing&weight_search=1

© LPU :: CSE376 Gurbakash Phonsa


Software Used

• Software used for testing is:

“Selinium”

**** Students should bring their LAPTOPS regularly in all classes

© LPU :: CSE376 Gurbakash Phonsa


The hitch…
The three BURNING questions in mind…

• Why are we learning Automated testing?

• What would we do with it?

• What will be the course outcome?

© LPU :: CSE376 Gurbakash Phonsa


Software Testing Fundamentals

© LPU :: CSE376 Gurbakash Phonsa


Testing Life Cycle

© LPU :: CSE376 Gurbakash Phonsa


Testing Actors

© LPU :: CSE376 Gurbakash Phonsa


Bug Tracker

© LPU :: CSE376 Gurbakash Phonsa


Test Automation

© LPU :: CSE376 Gurbakash Phonsa


Software Quality

© LPU :: CSE376 Gurbakash Phonsa


Quality Assurance Process

© LPU :: CSE376 Gurbakash Phonsa


Learning Outcome

© LPU :: CSE376 Gurbakash Phonsa


Next Class

The Benefits of Automation and Tools

© LPU :: CSE376 Gurbakash Phonsa


© LPU :: CSE376 Gurbakash Phonsa
© LPU :: CSE376 Gurbakash Phonsa

You might also like