Selenium & Web Accessibility Nishant Singh Sumedha Mitra Vivek Gupta Vishesh Mangal Biswajeet Mandal Srivash Kangsabanik.

Slides:



Advertisements
Similar presentations
Test Automation with Selenium
Advertisements

Pubman and Selenium tests. What is Selenium Selenium is a suite of Web application test automation tools for any browser on any operating system –Firefox,
Automating with Open Source Testing Tools Corey McGarrahan rSmart 01-July-08.
Selenium HP Web Test Tool Training
Test Automation Framework Ashesh Jain 2007EE50403 Manager Amit Maheshwari.
® Copyright 2008 Adobe Systems Incorporated. All rights reserved. ADOBE® ACCESSIBILITY AT Access to Flash and PDF Matt May 25 Mar 2010 Featuring.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Website design basics QUME Learning objectives Understand the basic elements of a Web page and how it is produced Be aware of different approaches.
Introduction to Web Accessibility. What is Web Accessibility Web accessibility means that people with disabilities can use the Web Disabilities including.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
1 Accessibility CSSE 376, Software Quality Assurance Rose-Hulman Institute of Technology April 16, 2007.
Issues related to the development of accessible web sites Steven Builta October 2002.
The W3C Web Accessibility Initiative (WAI) Inclusive learning through technology Damien French.
Chapter 2 Web Site Design Principles Principles of Web Design, 4 th Edition.
Softsmith Infotech1 Test Automation Using Selenium.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
4.01B Authoring Languages and Web Authoring Software 4.01 Examine webpage development and design.
Selenium – Testing Tool. What is Selenium? Selenium is a robust set of tools that supports rapid development of test automation for web-based applications.
Dhananjay Bhole, Coordinator, Accessibility Research Group, Department of Education and Extension, University of Pune.
Understanding Software Accessibility. The Need for Accessible Software  54 million people with disabilities in the United States  Aging  Temporary.
Web Accessibility John Rochford UMMS Shriver Center Director, INDEX Program Rich Caloggero WGBH National Center for Accessible Media MIT Adaptive Technology.
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
Automation using Selenium Authored & Presented by : Chinmay Sathe & Amit Prabhu Cybage Software Pvt. Ltd.
Web Design Basic Concepts.
1 CSE 403 System Testing Reading: various web sites about Selenium! These lecture slides are copyright (C) Marty Stepp, They may not be rehosted,
NKU Professional & Organizational Development Center Sean Ringey Web Educational Development Coordinator.
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.
Web Design Scripting and the Web. Books on Scripting.
Joel Bapaga on Web Design Strategies Technologies Commercial Value.
Multimedia and the Web Chapter Overview  This chapter covers:  What Web-based multimedia is  how it is used today  advantages and disadvantages.
Week 2 Web Site Design Principles. 2 Design for the Computer Medium Craft the look and feel Make your design portable Design for low bandwidth Plan for.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
Selenium automated testing in Openbravo ERP Quality Assurance Webinar April 8th, 2010.
Val Kravets, Luis Sanchez, Allen Chung, Phillip Anderson, Leyla Norooz, Brian Ramnarian, Todd Watson.
© 2012 LogiGear Corporation. All Rights Reserved Robot framework.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
Website Accessibility Testing. Why consider accessibility People with disabilities – Visual, Hearing, Physical, Cognitive (learning, reading, attention.
Capture and Replay Often used for regression test development –Tool used to capture interactions with the system under test. –Inputs must be captured;
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
WEB ACCESSIBILITY. WHAT IS IT? Web accessibility means that people with disabilities can use the Web. Web accessibility encompasses all disabilities that.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 1 Key Concepts 1.
Web Automation Testing With Selenium By Rajesh Kanade.
Pubman and Selenium tests. What is Selenium Selenium is a suite of Web application test automation tools for any browser on any operating system –Firefox,
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Selenium January Selenium course content  Introduction (Session-1)Session-  Automation  What is automation testing  When to go for automation.
Introduction Selenium IDE is a Firefox extension that allows you to record, edit, and debug tests for HTML Easy record and playback Intelligent field selection.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
SELENIUM By- Vivek Singh Jeena, Inderpreet Singh, Ankusha Saxena, Bhanupriya D.P, Shubham Yadav, Madhavi Aminigadda.
Selenium server By, Kartikeya Rastogi Mayur Sapre Mosheca. R
Test Automation Using Selenium Presented by: Shambo Ghosh Ankit Sachan Samapti Sinhamahapatra Akshay Kotawala.
Text Selenium server 31 – October By, Vivek Singh Jeena Inderpreet Singh Ankusha Saxena Bhanupriya D.P Shubham Yadav Madhavi Aminigadda.
Tata Consultancy Services1 WebDriver Basics Submitted By : Akhil K Gagan Deep Singh Naveenrajha H M Poornachandra Meduri Shubham Utsav Sunil Kumar G Vivek.
Understanding Web-Based Digital Media Production Methods, Software, and Hardware Objective
Introduction. Internet Worldwide collection of computers and computer networks that link people to businesses, governmental agencies, educational institutions,
 Accessibility & Information Architecture Presented by Liz Molleur INF385E April 5 th, 2009.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
Web Accessibility. Why accessibility? "The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect."
Arklio Studija 2007 File: / / Page 1 Automated web application testing using Selenium
Best Way to Learn Selenium Course in Online. Looking to learn best testing tool? If your preference is selenium testing then your choice is perfect. The.
JRA2: Acceptance Testing senarious
Making the Web Accessible to Impaired Users
Introduction to Web Accessibility
Web Content Accessibility Beata M. Ofianewska (DG COMM) 7 December 2006 December 2006 COMM C2.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Selenium Web Test Tool Training Using Ruby Language
Selenium Tutorials Cheyat Training.
Selenium IDE Installation and Use.
Presentation transcript:

Selenium & Web Accessibility Nishant Singh Sumedha Mitra Vivek Gupta Vishesh Mangal Biswajeet Mandal Srivash Kangsabanik

Contents Test Automation using Selenium Introduction to Test Automation & Selenium Need Components & Features Selenium IDE Selenium RC Selenium Web Driver Selenium Grid Selenese Commands Working of Selenium Components of Selenium Test Script Parameterization Best Practices

Introduction to Test Automation & Selenium Test Automation  To set test preconditions.  To control the execution of tests.  To compare the actual outcomes to predicted outcomes.  To report the Execution Status Selenium - Selenium is a robust set of tools that supports rapid development of test automation for web-based applications. - Selenium provides a rich set of testing functions specifically geared to the needs of testing of a web application. - Selenium operations are highly flexible, allowing many options for locating UI elements and comparing expected test results against actual application behavior.

Need Frequent regression testing Repeated test case Execution is required User Acceptance Tests Faster Feedback to the developers Reduce the Human Effort Test same application on multiple environments

Components & Features Components Selenium IDE Selenium Remote Control Selenium Web Driver Selenium Grid Features Supports Cross Browser Testing. The Selenium tests can be run on multiple browsers. Allows scripting in several languages like Java, C#, PHP and Python. Assertion statements provide an efficient way of comparing expected and actual results. Inbuilt reporting mechanism.

Selenium IDE Selenium IDE is an integrated development environment for Selenium tests. It is implemented as a Firefox extension, and allows you to record, edit, and replay the test in Firefox. Selenium IDE allows you to save tests as HTML, Java, Ruby scripts, or any other format. It allows you to automatically add assertions to all the pages. Allows you to add Selenese commands as and when required.

Selenium RC A solution to cross browser testing. A server, written in Java and so available on all the platforms. Acts as a proxy for web requests from them. Client libraries for many popular languages. Bundles Selenium Core and automatically loads into the browser

Selenium Web Driver WebDriver is a tool for automating both the web and Android based applications. WebDriver makes direct call to the browser using each browser's native support for automation Supports many browsers and many languages Improves consistency between browsers and offers great API No Intermediate is required as in case of selenium RC Faster than Selenium RC Runs in all latest browsers.

Selenium Grid Selenium Grid allows the Selenium RC solution to scale for test suites or test suites to be run in multiple environments. With Selenium Grid multiple instances of Selenium RC are running on various operating system and browser configurations, each of these when launching register with a hub. When tests are sent to the hub they are then redirected to an available Selenium RC, which will launch the browser and run the test. This allows for running tests in parallel, with the entire test suite theoretically taking only as long to run as the longest individual test.

Selenese Commands click/clickAndWait - performs a click operation, and optionally waits for a new page to load. VerifyTitle/assertTitle - verifies an expected page title. VerifyTextPresent - verifies expected text is somewhere on the page. VerifyElementPresent - verifies an expected UI element, as defined by its HTML tag, is present on the page. VerifyText - verifies expected text and its corresponding HTML tag are present on the page. VerifyTable - verifies a table’s expected contents. WaitForPageToLoad - pauses execution until an expected new page loads. Called automatically when clickAndWait is used. WaitForElementPresent - pauses execution until an expected UI element, as defined by its HTML tag, is present on the page. AssertTextPresent - This will assert if the text is present in the page. AssertText - This will assert if a particular element is having the particular text. AssertTitle - This will assert if the page is having a proper title. AssertValue - This will assert if a Text box or check box has a particular value AssertElementPresent - This will assert if a particular UI Element is present in the page.

Working of Selenium

Components of Selenium Test Script setUp method This method prepares the selenium server to run the test. This method basically hooks to the selenium server and opens up the base URL of the application test*** method The methods with the name test will actually run the tests on the application. There can be any number of test methods in the app tearDown method This method will run after the end of the test. This test will disconnect with the server and makes room for the next tests to run the tests.

Parameterization Parameterization is to same run the script with multiple set of data. The data will be stored in a CSV file. We will have write a program to read the values from the excel line by line and replace the values. For reading the values from a CSV file we will require the following packages import java.io.File; import java.io.BufferedReader; import java.io.FileReader; import java.util.StringTokenizer;

Best Practices Use Selenium to verify workflow and session Don't put Selenium tests in your main development build – run them overnight Have dedicated machines that run tests Relatively easy to automate web UI tests Record/Replay for regression tests RC allows integration with CI and JUnit/FitNesse tests

Contents Web Accessibility Introduction Need Importance of Accessibility Accessibility Standards Essential Components Accessibility Barriers Principles of Accessibility

Introduction Making web accessible to people with disabilities so that they can perceive, understand, navigate, and interact with the Web. Web accessibility encompasses all disabilities that affect access to the Web, including visual, auditory, physical, speech, cognitive, and neurological disabilities.

Need The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect." Tim Berners-Lee

Importance Accessible design benefits everyone  Older technology  Slow connection speeds  Newer wireless technology  Personal preference!

Accessibility Standards Web Content  refers to any part of a website, including text, images, forms,and multimedia, as well as any markup code, scripts, applications, and such. User Agents  software that people use to access web content, including desktop graphical browsers, voice browsers, mobile phone browsers, multimedia players, plug-ins, and some assistive technologies. Authoring Tools  software or services that people use to produce web content, including code editors, document conversion tools, content management systems, blogs, database scripts, and other tools. (Continued...)

Standards Workforce Investment Act (1998) included amendments to the Rehabilitation Act Section 501 requires reasonable accommodations for employees with disabilities Section 504 prohibits discrimination of persons with disabilities by Federal agencies in any federally funded or federally conducted programs or activities

Essential Components content - the information in a Web page or Web application, including:  natural information such as text, images, and sounds  code or markup that defines structure, presentation, etc. Web browsers, media players, and other "user agents" assistive technology, in some cases - screen readers, alternative keyboards, switches, scanning software, etc

Essential Components(contd.) users' knowledge, experiences, and in some cases, adaptive strategies using the Web developers - designers, coders, authors, etc., including developers with disabilities and users who contribute content authoring tools - software that creates Web sites evaluation tools - Web accessibility evaluation tools, HTML validators, CSS validators, etc.

Accessibility Barriers Visual Auditory Mobility

Visual Disabilities Blindness Weak vision Tunnel vision Dimness Extreme near- or far-sighted Color blindness

Hearing Disabilities Deaf Hard of hearing High/low frequency hearing loss

Mobility Disabilities Repetitive Stress Injuries (RSI) Arthritis Stroke Spinal Cord Injuries ALS Loss of limbs or digits

Principles of Accessibility Web accessibility Standards Perceivable Information & User Interface Operable User Interface & Navigation Understandable Information & User Interface Robust Content & Reliable Interpretation