Web based testing: Chucklist and Selenium

Similar documents
Getting started with Raspberry Pi (and WebIoPi framework)

AUTOMATION TESTING FRAMEWORK FOR LUMINOUS LMS

Molecular Forecaster Inc. Forecaster 1.2 Server Installation Guide

How do I sign up for a Canvas account as a parent?

Jack s Coal Fired Pizza

Using the Prime Performance Manager Web Interface

Administration Guide. 05 Apr TM and copyright Imagicle spa

Reset the Admin Password with the ExtraHop Rescue CD

SSL VPN Web Portal User Guide

4. Web-based Switch Configuration

Portwalk Place WORDPRESS MANUAL O ROURKE HOSPITALITY MARKETING OROURKEHOSPITALITY.COM

Xerox WorkCentre 3655 / 3655i Software Installation Instructions

Uploading a Submission

SLS-ENVR16 Network Video Recorder V2.1 Quick Setup Guide

New Cycle Manager operation

TestOptimal. A short introduction...

SBCC Web File System - Xythos

XLink Kai Raspberry Pi Beginners Tutorial

BHSF Physician User Guide

Software Download & Update

Table of Contents. Revision History. 1. Introduction Purpose Document Conventions Intended Audience and Reading Suggestions4

SAML 2.0 SSO. Set up SAML 2.0 SSO. SAML 2.0 Terminology. Prerequisites

(Complete Package) We are ready to serve Latest Testing Trends, Are you ready to learn? New Batches Info

User manual archiving

Installing the Kurzweil 3000 Web License From the WEBSITE

Migration of Existing NSM Server from standalone to an Extended HA environment

Bitnami JRuby for Huawei Enterprise Cloud

Perch Documentation. U of M - Department of Computer Science. Written as a COMP 3040 Assignment by Cameron McKay, Marko Kalic, Riley Draward

Penetration Testing. James Walden Northern Kentucky University

INSTALLATION INSTRUCTIONS

User Guide. Version 8.0

User Manual Appointment System

Yealink Device Management Platform Quick Start Guide. Applies to version or later

SJ Provider Directory Contents

Installing ITDS WebAdmin Tool into WebSphere Application Server Network Deployment V7.0

ACE Live on RSP: Installation Instructions

Microsoft OneDrive. How to login to OneDrive:

Initial setting up of VPN Java version.

Web Scraping with Python

Getting Arduino / XLR8 Setup On Linux

Deep Security 9 vcenter Operations Manager Integration

Oracle Application Express

Aspera Connect Windows XP, 2003, Vista, 2008, 7. Document Version: 1

1. Open any browser (e.g. Internet Explorer, Firefox, Chrome or Safari) and go to

Manual Installation of FAP-Navigator and first steps into

PACSgear Core Server

ConnectDirect. Quick Start Guide

But before understanding the Selenium WebDriver concept, we need to know about the Selenium first.

Tar Heel Chinese Crested Club Instructions for Changing THCCC Website Passwords

Requirements Document

XIA Configuration Server

Guide for Windows users with Internet Explorer and Firefox

The Veranda House WORDPRESS MANUAL O ROURKE HOSPITALITY MARKETING OROURKEHOSPITALITY.COM

Joomla Installer User Guide. Version 1.0

Categories In WordPress

IP CAMERA CONFIGURATION IN ENVIROMUX WEB INTERFACE

ACORN Archive Court Report Notes Version 3.1

CSN08101 Digital Forensics. Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak

Restoring data from a backup

Warrnambool College

Lab 5: Web Application Test Automation

Protect My Ministry Integrated Background Checks for Church Community Builder

myinsight for Documentum User Guide Mobile

Create-A-Page Design Documentation

SLS-ENVR2016 Network Video Recorder V2.2.2 Quick Setup Guide

E-Learning Portal Online User Manual

EVALUATION ONLY. WA2097 WebSphere Application Server 8.5 Administration on Linux. Student Labs. Web Age Solutions Inc.

Installing VPN client by Jupiter Networks:

EntraPass (W10) Installation Guide Kantech-OnBoard systems

SOA Software API Gateway Appliance 6.3 Administration Guide

CS 155 Project 2. Overview & Part A

Installing FreePBX Official Distro

STRS OHIO F5 Access Client Setup for ChromeBook Systems User Guide

The Centrify browser extension

SLS-ENVR16 Network Video Recorder V2.1.5 Quick Setup Guide

Getting started with M-Files

13 th Annual International Software Testing Conference in India 2013

ModLink Web Forms. Installation Guide LX-DOC-MLF2.0.0-IN-EN-REVB. Version 2.0.0

The objective of this document is to provide you with instructions on some basic IP Office administrative tasks

Using vrealize Operations Tenant App as a Service Provider

Emma for Faculty Lesson 1: Using <emma> and OpenOffice 1

Mobile Login Extension User Manual

Evangel euniversity [ANGEL ACCESS AND HELP GUIDE]

Zip Code Locator Software Hosted Solution

Quick Note 24. Extracting the debug.txt file from a TransPort. Digi Technical Support. February Page 1

1. Launch your web browser. 2. Go to < Enter your address and Password as requested. Click on login.

EWS660AP. Quick Installation Guide

how to manually install your Livebox

Table of Contents. Navigate the Management Menu. 911 Management Page

Selenium Testing Training

Broken Pages. Overview

RSA SecurID Ready Implementation Guide. Last Modified: December 13, 2013

capvpn Instructions for Windows

Webthority can provide single sign-on to web applications using one of the following authentication methods:

Studywiz Extractor Installation Guide SIMS Multi-School

Information & Communications Technologies Portal Tipsheet

Student Website Setup

Locate your Advanced Tools and Applications

Linus Torvalds inventor of Linux wanted a better source control system so he wrote one

Software Installation Manual

Transcription:

Web based testing: Chucklist and Selenium

Concerns when testing web applications

Concerns when testing web applications Broken links Information is displayed correctly Information is processed correctly Cross browser compatibilities Ajax and interactivity add a layer of complexity

Assignments 2 and 3 Given a software system (Chucklist) provide the following documents: Specification (30%) Use Cases (60%) Recommendations (10%)

Chucklist http://chuckslist.rubyforge.org/

Running Chucklist 1. ssh into tux 2. Find out the current server's host name: >hostname 3. Download the tar onto tux using the following command: >wget www.cs.drexel.edu/~ms333/dist.tar.gz 4. Uncompress the distribution using the following command: >tar -zxvf dist.tar.gz 5. Go to the top level directory of the distribution: >cd dist 6. Set up environment variables: >source env.sh 7. Go into the top level rails directory: >cd chucklist 8. Start the web server on port 8080 (If the server does not start choose a different port number that is greater than 2000: >ruby script/server -p 8080 9. You can now use the application by pointing your browser to hostname:port_number

Notes about Chucklist Admin account can be accessed via: location: hostname:port_number/admin user name: admin@chuck.com password: password Users can signup via: location: hostname:port_number/account/signup Users can login via: location: hostname:port_number/account/login

Chucklist Specification (30%) Create a more detailed specification document for Chucklist This will provide a basis for use cases and further testing You may need to ask more question to get to a specification document

Use Cases (60%)

Use Cases (60%) You will need to create several use cases that align with the provided specification These use cases should capture all of the existing functionality of the system as well as any missing functionality

Example Use Case ID : 1 Name : Simple log in and out Description : A user logs into the system and then logs out. Primary Actor(s) : Any user Precondition : When the user gets to the front page he is not logged into the system. The account already exists. Trigger : User action to log in Basic Flow : 1. User clicks on login button 2. Application asks for username and password 3. User inputs username and password and click "OK" 4. The application confirms that the information is valid 5. The application sets this user as logged in 6. The application displays the front page 7. The application replaces the login button with the logout button 8. User clicks on the logout button 9. The application set this user's status as logged out 10. The application displays the front page 11. The application replaces the logout button with the login button Alternate Flows: If the provided credentials are not correct, the use case is terminated and the user is presented with an error message.

Recommendations (10%) Now that you have played with the application, what are your immediate observations and recommendations for improvement.

Selenium Javascript framework that runs in your webbrowser Works anywhere Javascript is supported Hooks for many other languages Java, Ruby, Python Can simulate a user navigating through pages and then assert for specific marks on the pages All you need to really know is HTML to start using it right away

Where to get Selenium You can use Selenium-Core and customize everything But it is easier to just get a Firefox plug-in Selenium-IDE that helps you record test cases You can record how an application is being used and then play back those recordings followed by asserts Get everything at: www.openqa.org/selenium/

Selenium The root of the application to test The list of actions to execute. Green means success, red means failure The log of what happened during the execution

Selenium Execution commands let you control replay, speed of replay, and step by step play Command editor

Demo

Next Time: More tools Going into white box testing tools junit, Emma, and lint/splint