1 CSE 2102 CSE 2102 Supplemental Testing Prof. Steven A. Demurjian Computer Science & Engineering Department The University of Connecticut 371 Fairfield.

Slides:



Advertisements
Similar presentations
Performance Testing - Kanwalpreet Singh.
Advertisements

1 CS 501 Spring 2002 CS 501: Software Engineering Lecture 11 Designing for Usability I.
Automating with Open Source Testing Tools Corey McGarrahan rSmart 01-July-08.
Abirami Poonkundran 2/22/10.  Goal  Introduction  Testing Methods  Testing Scope  My Focus  Current Progress  Explanation of Tools  Things to.
Network Management Overview IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
“You Sunk My Iceberg!” An Android Game. By: Kevin Morillo, James Redway, and Ishmael Smrynow.
Chapter 3 Database Management
OV-1.1 CSE4939 CSE4939 CS & E Design Laboratory Prof. Steven A. Demurjian, Sr. Computer Science & Engineering Department The University of Connecticut.
1 SYS366 Week 1 - Lecture 2 How Businesses Work. 2 Today How Businesses Work What is a System Types of Systems The Role of the Systems Analyst The Programmer/Analyst.
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. slide 1 CS 125 Introduction to Computers and Object- Oriented Programming.
Requirements Analysis 5. 1 CASE b505.ppt © Copyright De Montfort University 2000 All Rights Reserved INFO2005 Requirements Analysis CASE Computer.
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
©The McGraw-Hill Companies, Inc. Permission required for reproduction or display. slide 1 CS 125 Introduction to Computers and Object- Oriented Programming.
Interpret Application Specifications
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
© Prentice Hall CHAPTER 3 Computer Software.
Chapter 6: An Introduction to System Software and Virtual Machines
Attribute databases. GIS Definition Diagram Output Query Results.
SWA-1.1 CSE300 Software Architectures Chapter 2: Architectural Styles Prof. Steven A. Demurjian, Sr. Computer Science & Engineering Department The University.
Introduction to Web Applications Instructor: Enoch E. Damson.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Your Interactive Guide to the Digital World Discovering Computers 2012.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Project Proposal: Academic Job Market and Application Tracker Website Project designed by: Cengiz Gunay Client: Cengiz Gunay Audience: PhD candidates and.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
TESTING STRATEGY Requires a focus because there are many possible test areas and different types of testing available for each one of those areas. Because.
SOFTWARE.
MobeSys Technologies MobeSys – helping you overcome mobile technology challenges.
SMART Agency Tipsheet Staff List This document focuses on setting up and maintaining program staff. Total Pages: 14 Staff Profile Staff Address Staff Assignment.
230EA.1 CSE 2102 CSE2102 Exam Advice and Hints Prof. Steven A. Demurjian, Sr. Computer Science & Engineering Department The University of Connecticut 271.
What is Architecture  Architecture is a subjective thing, a shared understanding of a system’s design by the expert developers on a project  In the.
An Object-Oriented Approach to Programming Logic and Design
The McGraw-Hill Companies, Inc Information Technology & Management Thompson Cats-Baril Chapter 3 Content Management.
ITEC224 Database Programming
From Use Cases to Test Cases 1. A Tester’s Perspective  Without use cases testers will approach the system to be tested as a “black box”. “What, exactly,
Engr. M. Fahad Khan Lecturer Software Engineering Department University Of Engineering & Technology Taxila.
MANAGING SOFTWARE ASSETS ~ pertemuan 6 ~ Oleh: Ir. Abdul Hayat, MTI 1[Abdul Hayat, SIM, Semester Genap 2007/2008]
IPortal Bringing your company and your business partners together through customized WEB-based portal software. SanSueB Software Presents iPortal.
WEP Presentation for non-IT Steps and roles in software development 2. Skills developed in 1 st year 3. What can do a student in 1 st internship.
C++ and Ubuntu Linux Review and Practice CS 244 Brent M. Dingle, Ph.D. Game Design and Development Program Department of Mathematics, Statistics, and.
9 Systems Analysis and Design in a Changing World, Fourth Edition.
DISTRIBUTED COMPUTING. Computing? Computing is usually defined as the activity of using and improving computer technology, computer hardware and software.
Architecture of Decision Support System
1 CMPT 275 High Level Design Phase Modularization.
Connecting with Computer Science2 Objectives Learn how software engineering is used to create applications Learn some of the different software engineering.
Web Technologies Lecture 8 Server side web. Client Side vs. Server Side Web Client-side code executes on the end-user's computer, usually within a web.
FriendFinder Location-aware social networking on mobile phones.
FriendFinder Location-aware social networking on mobile phones.
CentralCampus Group: May13-26 – William Van Walbeek & Paul Wilson Client: Google, Muthu Muthusrinivasan Advisor: Manimaran Govindarasu Abstract Introduction.
© 2003 Prentice Hall, Inc.3-1 Chapter 3 Database Management Information Systems Today Leonard Jessup and Joseph Valacich.
Performance Testing Test Complete. Performance testing and its sub categories Performance testing is performed, to determine how fast some aspect of a.
FriendFinder Location-aware social networking on mobile phones.
Next Back MAP MAP F-1 Management Information Systems for the Information Age Second Canadian Edition Copyright 2004 The McGraw-Hill Companies, Inc. All.
START Application Spencer Johnson Jonathan Barella Cohner Marker.
OV-1.1 CSE230 CSE230 Introduction to Databases Prof. Steven A. Demurjian, Sr. Computer Science & Engineering Department The University of Connecticut 371.
Chapter 1 Assuming the Role of the Systems Analyst.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
CS 501: Software Engineering Fall 1999 Lecture 23 Design for Usability I.
Advanced Higher Computing Science
Introduction to Visual Basic 2008 Programming
System Design Ashima Wadhwa.
Chapter 2: System Structures
Introduction to Operating System (OS)
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Database Driven Websites
Data, Databases, and DBMSs
Internet Basics and Information Literacy
Lecture 34: Testing II April 24, 2017 Selenium testing script 7/7/2019
Presentation transcript:

1 CSE 2102 CSE 2102 Supplemental Testing Prof. Steven A. Demurjian Computer Science & Engineering Department The University of Connecticut 371 Fairfield Road, Box U-2155 Storrs, CT (860) 486 – 4818 (860) 486 – 3719 (office)

2 CSE 2102 CSE 2102 Overview of Supplemental Testing  Explore Five Different Categories of Testing  Unit and White-Box Testing  User Interface Testing  Black Box Testing  General Performance Testing  Software Quality Attainment  Discuss each Category in Detail  Available Tools and Techniques  Examples of Test Cases/Results

3 CSE 2102 CSE 2102 Unit and White-Box Testing  Focused on Functional and Correctness of Code  Procedural Language  Check Functions  For C,.h/.c Combinations  Object-Oriented Language  Method Based Testing  Public for other Users of Class  Protected (Ancestor to Descendant)  Private (Inaccessible Outside the Class)  How would you Test Mobile Apps like PHA?  What Else Might you Focus on?

4 CSE 2102 CSE 2102 Unit and White-Box Testing  Myriad of Products Available  junit junit.sourceforge.net/  Objective-C OCUnit cocoadev.com/wiki/OCUnit  Check for C check.sourceforge.net//  C/C++  MS Test for Visual Studio  Mobile Platforms  Titanium Recommends jsunity (Javascript)  Sensa Touch (Selenium, CasperJS, Siesta)

5 CSE 2102 CSE 2102 Unit and White-Box Testing  Also Includes General Testing of Capabilities  Assume that GUIs are Working Correctly  Now, Test Particular Feature Under Different Cases  CT Insurance – Renew Licenses on Periodic Basis  Scan Batches of Submitted Renewals  Renewal Form(s) + check(s)  Need to Test all Possible Combinations  Does System Work as Expected

6 CSE 2102 CSE 2102 Testing Producer Licenses

7 CSE 2102 CSE 2102 Testing Producer Licenses

8 CSE 2102 CSE 2102 User Interface Testing  Extensive Tests of Business Function and Logic  Utilized Business Process Logic  Often Provide by Domain Expert  Does Graphical User Interface Behave as Expected?  Is Each Screen Sufficient?  Are Screens Correctly Linked?  Are Data Entries Checked for Validity?  No illegal dates  Only numbers in zips and phone numbers  Only valid states  Consistency of State and Zip Code?  Do Required Minimums work?  Think about all you do when you use a web site!

9 CSE 2102 CSE 2102 User Interface Testing – Varies by Domain  E-Commerce  Focused on correctly Registering User, Processing an Order, Account Maintenance, etc.  Mostly Mouse/Keyboard Oriented  Gaming  Checking that all of the buttons (on touch screen) and/or options work correctly  Check to be sure there is consistency in placement across multiple screens  Mobile Apps  Linkages to other Apps (Facebook, etc.)  Checking individual screens, order of screens  Minimums need to be able to complete a screen to submit or go to the next screen

10 CSE 2102 CSE 2102 Sample from TestScenario.pdf

11 CSE 2102 CSE 2102 Sample from TestScenario.pdf

12 CSE 2102 CSE 2102 Sample from TestScenario.pdf

13 CSE 2102 CSE 2102 Sample from TestScenario.pdf

14 CSE 2102 CSE 2102 Sample from TestScenario.pdf

15 CSE 2102 CSE 2102 WebTesting.pdf – Results from Testers

16 CSE 2102 CSE 2102 WebTesting.pdf – Results from Testers

17 CSE 2102 CSE 2102 WebTesting.pdf – Results from Testers

18 CSE 2102 CSE 2102 LicenseTesting.pdf – Java Application GUI Changes: Look and Feel/Readability/Usability

19 CSE 2102 CSE 2102 LicenseTesting.pdf – Java Application Top : GUI Issue Bottom: DB Issue

20 CSE 2102 CSE 2102 LicenseTesting.pdf – Java Application Both are Business Logic to be Enforced by GUI

21 CSE 2102 CSE 2102 Black Box Testing  Treat Class, Procedure, Function, as a Black Box  Given “What” Box is Supposed to Do  Understand its Inputs and Expected Outputs  Execute Tests and Assess Results  Formulate Test Cases Based on What Program is Supposed to Do without Knowing  Programming Paradigm (OO, Functional, etc.)  Code Structure (Modularity, Inheritance, etc.)  No Access to Code  Usually Testing Software Engineer Speciality Class Procedure Function Inputs Expected Outputs

22 CSE 2102 CSE 2102 Black Box Testing for PHA  If PHA as Deployed App, what would you Test?  Testing when User has MSHV Account? w/o?  Testing Creation of New Medication  Create, Store, Logoff, Logon and see  After Create/Store, logon to MSHV Directly  Testing Entry of Information on Condition  Different Conditions  Can you Check these in MSHV?  Testing Entry on Exercise  Create, Store, Logoff, Logon and see  After Create/Store, logon to MSHV Directly  What Else Might be Tested?

23 CSE 2102 CSE 2102 Black Box Testing in CSE4940  Senior Design Project Sequence  Have Teams Exchange “Compiled Code”  Each Team Provide Test Cases/Scenarios  What are Objectives of Testing Engineers?  Run All Tests Given  Tweak Tests  Try to Break “Code”  Crazy Input  Unexpected Actions  One Important Tool to Assist in Testing:  Screen Capture and Annotation  Available Packages:  or soft.com/products/screenhunter_free.htm

24 CSE 2102 CSE 2102 General Performance Testing  Focus on the Actual Performance of Code  Specific Portions of Code  Sorting or Searching Algorithms  Key Time Critical Functional Capabilities  Role of Database  Explore Volume of Information from Database  Explore Concurrent Access to Database  Interactions Across Network  Explore Potential Bottlenecks in Network Traffic  Examine Potential Issues Across Hardware Platforms  Overhead Regarding Logging/Transaction Tracking  Including Actual Calls to System Clock in Code  Often Consider a Software Architecture View

25 CSE 2102 CSE 2102 Where are Potential Bottlenecks?

26 CSE 2102 CSE 2102 Where are Potential Bottlenecks?

27 CSE 2102 CSE 2102 Testing Web and Mobile Applications  Stress testing  What points the application breaks  Simulate Traffic  Increased Hits to Application or Web Server  Increased Simultaneous Users at Client Side  What are Available Tools?  jmeter ( sends multiple http requests to check traffic capacity  load testing of web apps – can record and replay testing

28 CSE 2102 CSE 2102 Testing Gaming Applications  How Would you Test Massively Multiplayer Online Games?  What are Some of Issues?  Size of “World”  Maintain World over Time  Ability to Generate and Manipulate Maps  Interactions with Players in Real Time  Number of Concurrent Players  Game State Size to Save  Does Game Every Stop?  What other Things Might you Test?

29 CSE 2102 CSE 2102 Testing Databases  Database are Tested from Varied Perspectives  SQL Injection Testing  Web GUIs – What if User Puts in DB Command for an Address?  Can Someone Access Database Directly?   Specialized Database Testing  DBUnit ( complements JUnit  Search and Test large repositories SELECT BDATE, ADDRESS FROM EMPLOYEE WHERE FNAME='John' AND MINIT='B’ AND LNAME='Smith’

30 CSE 2102 CSE 2102 Software Quality Attainment  How would you Measure Non-Functional Qualities:  Understandability, maintainability  Evolvability, user friendliness  Many Questions to Consider:  Is your system each to understand from both the developer and end user perspectives?  How can you demonstrate its maintainability?  Was there a recent problem that you identified and fixed, and if so, was it easy or hard?  Can you make changes easily?  Was there an evolution you had to do in the last prototype that wasn’t anticipated, and if so, was it difficulty or easy?  How user friendly is your system?  Did you get any feedback from the black box testing?  See: and