WEB Testing.

Slides:



Advertisements
Similar presentations
Chapter 10 Fine-tuning, Completing, and Publishing Your Project.
Advertisements

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?
Testing Web Applications & Services Testing Web Applications & Web Services.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
DT228/3 Web Development WWW and Client server model.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
Web Page Behavior IS 373—Web Standards Todd Will.
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
Browser and Basics Tutorial 1. Learn about Web browser software and Web pages The Web is a collection of files that reside on computers, called.
COMPUTER TERMS PART 1. COOKIE A cookie is a small amount of data generated by a website and saved by your web browser. Its purpose is to remember information.
Client/Server Architectures
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.
What is Web Design?  Web design is the creation of a Web page using hypertext or hypermedia to be viewed on the World Wide Web.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Samuvel Johnson nd MCA B. Contents  Introduction to Real-time systems  Two main types of system  Testing real-time software  Difficulties.
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
XHTML Introductory1 Linking and Publishing Basic Web Pages Chapter 3.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Objectives  Testing Concepts for WebApps  Testing Process  Content Testing  User Interface Testing  Component-level testing  Navigation Testing.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
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.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
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.
Web Browsing *TAKE NOTES*. Millions of people browse the Web every day for research, shopping, job duties and entertainment. Installing a web browser.
Website Design, Development and Maintenance ONLY TAKE DOWN NOTES ON INDICATED SLIDES.
Microsoft Office 2008 for Mac – Illustrated Unit D: Getting Started with Safari.
Understanding Web-Based Digital Media Production Methods, Software, and Hardware Objective
Main Concepts of Web Testing Telerik Software Academy Software Quality Assurance.
Introduction. Internet Worldwide collection of computers and computer networks that link people to businesses, governmental agencies, educational institutions,
COMP 143 Web Development with Adobe Dreamweaver CC.
INTRODUCING HYBRID APP KAU with MICT PARK IT COMPANIES Supported by KOICA
Windows Vista Configuration MCTS : Internet Explorer 7.0.
Testing and delivery Web design principles. Web development is software development.
CS 501: Software Engineering Fall 1999 Lecture 23 Design for Usability I.
Teaching slides Chapter 6. Chapter 6 Software user interface design & construction Contents Introduction Graphical user interface – Rich window based.
4.01 How Web Pages Work.
WEB TESTING
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Becoming a Pro IN Mobile Applications Testing
SOFTWARE TESTING Date: 29-Dec-2016 By: Ram Karthick.
Objective % Select and utilize tools to design and develop websites.
Web Site Development and Macromedia Dreamweaver 8
Project Objectives Publish to a remote server
Chapter 1 Introduction to HTML.
Easily retrieve data from the Baan database
E-commerce | WWW World Wide Web - Concepts
Project 1 Introduction to HTML.
E-commerce | WWW World Wide Web - Concepts
Software Quality Assurance
Web Engineering.
Objective % Select and utilize tools to design and develop websites.
Windows Internet Explorer 7-Illustrated Essentials
What is Cookie? Cookie is small information stored in text file on user’s hard drive by web server. This information is later used by web browser to retrieve.
System And Application Software
The Application Lifecycle
Testing Web Applications
Configuring Internet-related services
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Lesson 9: GUI HTML Editors and Mobile Web Sites
4.02 Develop web pages using various layouts and technologies.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Software System Testing
Planning and Storyboarding a Web Site
Recitation on AdFisher
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Lecture 33: Testing I April 20, 2018
Web Application Development Using PHP
Presentation transcript:

WEB Testing

Ventsislav Ivanov Certificated QA at Telerik Academy Automation engineer at Vermint

Table of Contents Web Sites vs Web App Testing Web Applications Web Testing Types Test Automation Functional Web Testing Non-functional Web Testing

Web Sites vs Web App

Web Sites Virtual location on WWW, containing several subject or company related webpages and data files accessible through a browser. Each website has its own unique web address (see uniform resource locator) which can be reached through an internet connection. The opening page of a website is usually called homepage which contains hyperlinks to other pages on the same or other site(s). A single web server may support multiple websites and a single website may reside on multiple web servers, sometimes thousands of miles apart. http://www.businessdictionary.com/definition/website.html

Web Application An application that is usable only with an active Internet connection and that uses HTTP as its primary communications protocol. Also called web application. http://www.businessdictionary.com/definition/web-based-application.html

User point of view That certainly seems simple enough: Web sites are for consumption what Web apps are for creation. Does it sound right?

Developer point of view Self-contained Interactive user interface, possibly mimicking the native UI of the device Using advanced device capabilities – like geo location, camera integration, or other technologies that the W3C Device APIs and Policy Working Group is developing Action-oriented rather than information oriented Not relying heavily on (or hiding when possible) the browser Working off-line, for example using HTML5 ApplicationCache, localStorage, or indexed database

Difference in testing If you are good enough to test Web App, it will be no problem for you to test WebSite

Testing Web Applications

Web Testing Issues Testing a web application is quite a bit more difficult than testing the same functionality in a Windows Desktop application Various issues are present: Timing difficulties Differences between browsers New technologies that make web browsing a rich, but difficult-to-test, experience

Web Testing Issues Web browsers don't provide clear visibility to what's happening on the page The tester has no straight-forward way of consistently identifying an element on a web page and detecting changes in the element's state

Web Testing Issues New technologies introduce new testing issues The same features that make web browsing a richer experience also present obstacles to testing Asynchronous processes Client side code running directly in the browser Animation Etc.

Web Testing Types

Web Testing Types Functional/Regression Testing Load and Performance Testing Web Site Security Testing Web Site Management Testing Mobile Web/App Testing

Web Page Functionality Test Check all the links the outgoing links from all the pages from specific domain under test all internal links links jumping on the same pages links used to send the email check if there are any orphan pages check for broken links

Web Page Functionality Test Test forms in all pages Check all the validations on each field Check for the default values of fields Wrong inputs to the fields in the forms Options to create forms if any, form delete, view or modify the forms

Web Page Functionality Test Cookies testing Test the application by enabling or disabling the cookies in your browser options Test if the cookies are encrypted before they are written to user machine Check application security by deleting the cookies

Web Page Functionality Test Test HTML and CSS Checking for syntax errors Readable color schemas Standard compliance E.g. standards such W3C and ISO is followed

Web Page Functionality Test Database Testing Testing the backend databases, like comparing the actual results with expected results

Web Page Functionality Test Database Testing Database testing basically include Data validity testing Test if any errors are shown while executing queries Data integrity testing Maintained while creating, updating or deleting data in database Check response time of queries Test data retrieved from the database is shown accurately in the web application

Web Page Usability Test A method of simulating the user's way of experience E.g., checking help links, contents in the page, checking menu options and their links, think times between the pages and message dialogs in the pages

Web Page Usability Test Test for navigation How the user surfs the web pages, different controls like buttons, boxes or how user using the links on the pages to surf different pages Web site should be easy to use Instructions should be provided clearly and correct (it means whether they satisfy purpose)

Web Page Usability Test Content checking Content should be logical, easy to understand and meaningful Check for spelling errors All the anchor text links should be working properly Images should be placed properly with proper sizes

Interface Testing The main layers are Web server Application server Database server Check if all the interactions between these servers are executed properly

Compatibility Testing Browser compatibility Operating system compatibility Mobile browsing Printing options

Compatibility Testing Testing web page compatibility A method of testing multiple browsers based on user requirements The web page presentation depends on how well the components are used

Compatibility Testing Sample browser compatibility checklist CSS validation HTML or XHTML validation Page validations with and without JavaScript enabled Ajax and jQuery functionality Font size validation Page layout in different resolutions All images and alignment Header and footer sections Page styles Date formats Special characters with HTML character encoding Page zoom-in and zoom-out functionality

Security Testing Testing for vulnerabilities of the web application Test unauthorized access to secure pages should not be permitted Restricted files should not be downloadable without appropriate access Check sessions are automatically killed after prolonged user inactivity

Performance Testing Verifies web page responses as per expectations based on the environment Also includes stress testing and load testing of the application

Performance Testing Testing a web application using different networks Required due to different points a user may access the system from E.g., a local intranet or an internet with a lower network speed An application's performance and the accessibility are based directly on the network used This is also part of performance testing

Test Environment Set up a test environment that is separate from your development and production environment This includes a separate web server, database server, and application server if applicable

Test Environment There are many other types of testing that can be performed as part of Web Performance Testing: Using different operating systems Using different databases Installing different versions of an operating system

Test Automation

Automated Defect Prevention: Best Practices in Software Management Test Automation Test Automation is the use of special software (separate from the software being tested) to control the execution of tests and the comparison of actual outcomes with predicted outcomes. Automated Defect Prevention: Best Practices in Software Management

Test Automation Test automation is critical for continuous delivery and continuous testing.

Level and types of tests that can be automated Levels Types Unit testing Integration testing System testing Functional Testing Non-Functional Testing Black Box Testing Smoke Testing Regression Testing Data Driven Testing Keyword Testing

Test automation tools Unit tests tools C# - Nunit, MbUnit, MSTest, xUnit.net Java – JUnit, JTest, Arquillian, TestNG JavaScript – JSLint, Qunit, SugarTest Python –  doctest, unittest, pytest Ruby – Minitest, Rspec, Bacon

Test automation tools Integration test tools Component integration testing Expose defects in the interfaces and interaction between integrated components Also called “Integration test in the small” System integration testing Testing the integration of systems and packages Testing interfaces to external organizations “Integration test in the large”

Test automation tools System functional test tools Graphical User Interface (GUI) testing Selenium Web Driver Sikuli API driven testing SoapUI HttpMaster Parasoft vREST

Selenium Web Driver Live Demo

Non-functional testing Performace Load Endurance Stress Spike

Performace test Determines or validates the speed, scalability, and/or stability characteristics of the system It is also the superset of other classes of performance-related testing The goal of performance testing is not to find bugs, but to: Eliminate bottlenecks Establish a baseline for future regression testing Determine compliance with performance goals and requirements

Performace test metrics A variety of performance testing metrics is used in practice: Requests Per Second Bytes Per Second Latency Maximum Concurrency

Performace test Myths Client server performance problems can usually be fixed by simply plugging in a more powerful processor. If features work correctly, users do not mind a somewhat slow response. No elaborate plans are required for testing; it is intuitively obvious how to measure the system’s performance. Needs just a few hours to check performance before deployment. PT does not require expensive tools. Anyone can measure and analyze the performance; it does not require any specialized skills.

Visual Studio Test Performace Testing Live Demo

QUESTIONS?