Web based testing: Chucklist and Selenium

Slides:



Advertisements
Similar presentations
Publication Module using back end interface. Institution Data Entry Add Documents. Edit/Delete Documents that are added but not yet sent to Institution.
Advertisements

AIMSweb Benchmark Online Training For AIMSweb Teacher Users
Use-Cases.
AIMSweb Progress Monitor Online User Training
Introduction to Intellicaller for Channel Partners/Clients Confidential. © Zeal Web Technologies. Please destroy if you are not the intended.
Individual Bidder Enrollment
Selenium Tutorial. What is Selenium? Javascript framework that runs in your web- browser Works anywhere Javascript is supported Hooks for many other languages.
Selenium Automation Testing Suite of Tools
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,
Selenium HP Web Test Tool Training
The Platform can be accessed at: emn.credinfo.eu (you can use Explorer, Firefox, etc:) Accessing the platform: This page will appear: On the left side.
Server-Side vs. Client-Side Scripting Languages
Introduction to eValid Presentation Outline What is eValid? About eValid, Inc. eValid Features System Architecture eValid Functional Design Script Log.
Collaboration Suite Business Process Management
Selenium – Testing Tool. What is Selenium? Selenium is a robust set of tools that supports rapid development of test automation for web-based applications.
Selenium Automation Testing Suite of Tools. What is Selenium? Selenium is a robust set of tools that supports rapid development of test automation for.
How To Batch Register Your Students
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
The Blue “W” is placed on your Desktop or in your system tray area.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
WaveMaker Visual AJAX Studio 4.0 Training Troubleshooting.
How to create an account on. Open a web browser (e.g. Mozilla Firefox or Internet Explorer) and type in the address bar, then press.
INE1020 Introduction to Internet Engineering Tutorial 8 All about Lab 6.
Val Kravets, Luis Sanchez, Allen Chung, Phillip Anderson, Leyla Norooz, Brian Ramnarian, Todd Watson.
© 2012 LogiGear Corporation. All Rights Reserved Robot framework.
WaveMaker Visual AJAX Studio 4.0 Training Authentication.
Testing web applications with Selenium Gannon University Frank.
Log on to Digital Locker Website You should be able to log on using Internet Explorer browser at the campus. You may need to log in using Mozilla FireFox.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
Creating and Publishing Your own web site PC Version SEAS 001 Professor Ahmadi.
Drinking Water Infrastructure Needs Survey and Assessment 2007 Training.
Session Objectives • Login to PeopleSoft Test Framework(PTF)
Execute Workflow. Home page To execute a workflow navigate to My Workflows Page.
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.
1 Welcome to CSC 301 Web Programming Charles Frank.
Faculty of Computer & Information
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
Selenium and Selenium on Rails. Agenda  Overview of Selenium Simple Selenium Tests Selenium IDE  Overview of Selenium on Rails  Problems with Selenium.
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,
INDEX WELCOME DISPLAY DEFAULT DISPLAY MAIN DISPLAY SYSTEM LAYOUT – P105 to P104 SYSTEM LAYOUT – P109 to P106 ROOMS P-109 to P-104 DISPLAY CHANGE SET POINTS.
+ eSembler & Canvas A Parent’s Guide. + What is eSembler? eSembler is a web-based grade book designed for use in the K- 12 school districts. It allows.
Payment Services Supplier Portal Training Vittoria Falbo (FSS Global Service Management)
P6 BTEC Level 3 Subsidiary Diploma in ICT. Automation The end user of a spreadsheet may be proficient in using the software, but the more that you automate.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
JavaScript Introduction.  JavaScript is a scripting language  A scripting language is a lightweight programming language  A JavaScript can be inserted.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
NIMAC for Publishers: How to Create Sub User Accounts December 2015.
HTML Overview Part 5 – JavaScript 1. Scripts 2  Scripts are used to add dynamic content to a web page.  Scripts consist of a list of commands that execute.
Test Automation For Web-Based Applications Portnov Computer School 1 Selenium HP Web Test Tool Training.
1. 2 INDEX MAIN DISPLAYS3-4 SYSTEM LAYOUT 5-6 ROOM P-109 DISPLAY7 ROOM P-108 DISPLAY8 ROOM P-107 DISPLAY 9 ROOM P-106 DISPLAY 10 ROOM P-105 DISPLAY 11.
© 2012 LogiGear Corporation. All Rights Reserved FitNesseFitNesse Authors: Nghia Pham 1.
OpenEMR: Getting Started Based on OpenEMR version 4.1 Laboratory Informatics Institute January 2014.
Learning Aim C.  In this section we will look at some simple client-side scripts, browser compatibility, exporting and compressing and suitable file.
Working with ASP.NET Controls What is ASP.NET Using server controls in your pages Allowing users to create their own accounts Creating a login page Letting.
Live. learn. work. play Superior Avenue Suite 310 Cleveland Ohio Tel: Fax:
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
COM621: Advanced Interactive Web Development Lecture 10 PHP and MySQL.
Use Case Diagrams A Detailed Description. Use Case Diagrams Use case diagrams describe relationships between users and use cases A use case is a (usually.
Broward Single Sign-On (SSO) Launchpad
Journal of Mountain Science (JMS)
Selenium and Selenium on Rails
Selenium HP Web Test Tool Training
Selenium HP Web Test Tool Training
Google Web Toolkit - Gufran Mohammed
Introduction to Programming the WWW I
Telnet/SSH Connecting to Hosts Internet Technology.
Selenium HP Web Test Tool Training
CGS 3175: Internet Applications Fall 2009
Presentation transcript:

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 ssh into tux Find out the current server's host name: >hostname Download the tar onto tux using the following command: >wget www.cs.drexel.edu/~ms333/dist.tar.gz Uncompress the distribution using the following command: >tar -zxvf dist.tar.gz Go to the top level directory of the distribution: >cd dist Set up environment variables: >source env.sh Go into the top level rails directory: >cd chucklist 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 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 web-browser 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 list of actions to execute. Green means success, red means failure The root of the application to test 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