CSCE 747 Software Testing and Quality Assurance

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Tutorial 6 Creating a Web Form
Chapter 7 UNDERSTANDING AND DESIGNING FORMS. Input Forms: Content and Organization Need for forms Event analysis and forms Relationship between input.
Creating Web Page Forms. Objectives Describe how Web forms can interact with a server-based program Insert a form into a Web page Create and format a.
Tutorial 6 Working with Web Forms
Forms Review. 2 Using Forms tag  Contains the form elements on a web page  Container tag tag  Configures a variety of form elements including text.
Gathering Requirements What do users want?. Information Gathering Techniques Surveys Interviews Focus Groups.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
DePaul Bears Try Your Luck!. Why buy this product? Approximately 1,000,000 cell phone users Approximately 2,000,000 or more people play the lottery New.
Creating Web Page Forms
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Chapter 9 Collecting Data with Forms. A form on a web page consists of form objects such as text boxes or radio buttons into which users type information.
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
Chapter 3. Table have many uses in a HTML design but are mostly used for the organization of your web site. Tables also give vertical and horizontal structure.
XP Tutorial 6New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Creating Web Page Forms Designing a Product Registration Form Tutorial.
XP Tutorial 6New Perspectives on HTML and XHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
1 Creating Web Forms in HTML Web forms collect information from customers Web forms include different control elements including: –Input boxes –Selection.
Chapter 6: Forms JavaScript - Introductory. Previewing the Product Registration Form.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
HTML II. Factors to consider in designing a website. Organizing your files. HTML Tables. Unordered Lists. Ordered Lists. HTML Forms. Learning Objectives.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 6 1 Microsoft Office FrontPage 2003 Tutorial 6 – Publishing a Web Site.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
Advanced FrontPage Forms, Page Templates and Wizards, Behaviors, CSS, DWT and Page Layout.
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
 Whether using paper forms or forms on the web, forms are used for gathering information. User enter information into designated areas, or fields. Forms.
12 Developing a Web Site Section 12.1 Discuss the functions of a Web site Compare and contrast style sheets Apply cascading style sheets (CSS) to a Web.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit G Using Forms to Control Input.
ITCS373: Internet Technology Lecture 5: More HTML.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
Tutorial 6 Working with Web Forms. XP Objectives Explore how Web forms interact with Web servers Create form elements Create field sets and legends Create.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Microsoft Access 2010 Chapter 10 Administering a Database System.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
ITGS Databases.
1 HTML Forms
Session 8: Working with Form iNET Academy Open Source Web Development.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
Lec 19 Web Driver 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 19 Selenium Web Driver 11/4/
©SoftMooreSlide 1 Introduction to HTML: Forms ©SoftMooreSlide 2 Forms Forms provide a simple mechanism for collecting user data and submitting it to.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Tutorial 6 Working with Web Forms. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore how Web forms interact with.
Creating Web Page Forms COE 201- Computer Proficiency.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Robot Framework – Basic Level. Date: Version:1.0 Page 1.
Tutorial 6 Creating a Web Form
Windows Vista Configuration MCTS : Internet Explorer 7.0.
XP Tutorial 6New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Creating Web Page Forms Designing a Product Registration Form Tutorial 6.
Teaching slides Chapter 6. Chapter 6 Software user interface design & construction Contents Introduction Graphical user interface – Rich window based.
2440: 141 Web Site Administration Web Forms Instructor: Joseph Nattey.
Tutorial 6 Working with Web Forms
WEB TESTING
Excel Tutorial 8 Developing an Excel Application
DePaul Bears Try Your Luck!.
What Is Functionality Testing and How Does It Work?
PHP Training at GoLogica in Bangalore
DB Implementation: MS Access Forms
Objectives Explore web forms Work with form servers
DB Implementation: MS Access Forms
Chapter 5 Microsoft Excel Window
CSCE 747 Software Testing and Quality Assurance
HTML Forms
Murach's JavaScript and jQuery (3rd Ed.)
Presentation transcript:

CSCE 747 Software Testing and Quality Assurance Lecture 16 Testing Web Applications 10/23/2013

Last Time GUI testing 2 Chapter 19 Today Test 1 take-home TestingGeek Testing Web Applications Selenium

TestingGeek Agile Announcements Selenium Automation Skills 4/27/2019 TestingGeek Agile Announcements Automation Case studies Certification Conferences Conversation Guest Posts Humor Measure Mobile Performance Testing Requirement Security Selenium Skills Techniques & Tips Templates & Checklists Test Management Testing Testing Types Testometer Tools Video tutorials Web Applications Workshops http://www.testinggeek.com/web-application-functional-testing-checklist

Web Application - Functional Testing Checklist 4/27/2019 Web Application - Functional Testing Checklist Links Forms DATA VERIFICATION AND VALIDATION DATA INTEGRATION NUMERIC FIELDS ALPHANUMERIC FIELDS http://www.testinggeek.com/web-application-functional-testing-checklist

Links Check that the link takes you to the page it said it would. 4/27/2019 Links Check that the link takes you to the page it said it would. Ensure to have no orphan pages (a page that has no links to it) Check all of your links to other websites Are all referenced web sites or email addresses hyperlinked? If we have removed some of the pages from our own site, set up a custom 404 page that redirects your visitors to your home page (or a search page) when the user try to access a page that no longer exists. Check all mailto links and whether it reaches properly http://www.testinggeek.com/web-application-functional-testing-checklist

Forms Acceptance of invalid input Optional versus mandatory fields 4/27/2019 Forms Acceptance of invalid input Optional versus mandatory fields Input longer than field allows Radio buttons Default values on page load/reload(Also terms and conditions should be disabled) Is Command Button can be used for HyperLinks and Continue Links ? Is all the datas inside combo/list box are arranged in chronolgical order? Are all of the parts of a table or form present? Correctly laid out? Can you confirm that selected texts are in the "right place? Does a scrollbar appear if required? http://www.testinggeek.com/web-application-functional-testing-checklist

DATA VERIFICATION AND VALIDATION 4/27/2019 DATA VERIFICATION AND VALIDATION Is the Privacy Policy clearly defined and available for user access? At no point of time the system should behave awkwardly when an invalid data is fed Check to see what happens if a user deletes cookies while in site Check to see what happens if a user deletes cookies after visiting a site http://www.testinggeek.com/web-application-functional-testing-checklist

4/27/2019 DATA INTEGRATION Check the maximum field lengths to ensure that there are no truncated characters? If numeric fields accept negative values can these be stored correctly on the database and does it make sense for the field to accept negative numbers? If a particular set of data is saved to the database check that each value gets saved fully to the database. (i.e.) Beware of truncation (of strings) and rounding of numeric values. http://www.testinggeek.com/web-application-functional-testing-checklist

4/27/2019 NUMERIC FIELDS Assure that lowest and highest values are handled correctly. Assure that numeric fields with a blank in position 1 are processed or reported as an error. Assure that fields with a blank in the last position are processed or reported as an error an error. Assure that both + and - values are correctly processed. Assure that division by zero does not occur. Include value zero in all calculations. Assure that upper and lower values in ranges are handled correctly. (Using BVA) http://www.testinggeek.com/web-application-functional-testing-checklist

ALPHANUMERIC FIELD CHECKS 4/27/2019 ALPHANUMERIC FIELD CHECKS Use blank and non-blank data. Include lowest and highest values. Include invalid characters & symbols. Include valid characters. Include data items with first position blank. Include data items with last position blank. http://www.testinggeek.com/web-application-functional-testing-checklist

Selenium Selenium is a suite of tools to automate web browsers across many platforms. Selenium runs in many browsers and operating systems can be controlled by many programming languages and testing frameworks. http://docs.seleniumhq.org/

Selenium http://docs.seleniumhq.org/

http://docs.seleniumhq.org/

Testing Web Applications 4/27/2019 Testing Web Applications The success of automated GUI (Graphical User Interface) tests depends on: identifying and locating GUI elements from the application under test and then performing operations and verifications on these elements to achieve the test flow. Software Testing A Craftsman’s Approach Jorgensen – 2008

Selenium Testing Tools Cookbook by Gundecha – 2012 4/27/2019 Locating Elements Chapter 1 covers: Using browser tools for inspecting elements and page structure Locating an element using the findElement method Locating elements using findElements method Locating links Locating elements by tag name Locating elements using CSS selectors Locating elements using XPath Locating elements using text Locating elements using advanced CSS selectors Using jQuery selectors Locating table rows and cells Selenium Testing Tools Cookbook by Gundecha – 2012

Selenium's locator strategies Locating Elements Name, ID, CSS selectors, XPath, Selenium Testing Tools Cookbook by Gundecha – 2012

Selenium Testing Tools Cookbook by Gundecha – 2012

Selenium Testing Tools Cookbook by Gundecha – 2012

Selenium Testing Tools Cookbook by Gundecha – 2012

Selenium Testing Tools Cookbook by Gundecha – 2012

Selenium Testing Tools Cookbook by Gundecha – 2012

Selenium Testing Tools Cookbook by Gundecha – 2012

Selenium Testing Tools Cookbook by Gundecha – 2012

Selenium Testing Tools Cookbook by Gundecha – 2012

Selenium Testing Tools Cookbook by Gundecha – 2012

Selenium Testing Tools Cookbook by Gundecha – 2012