Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
-
date post
19-Dec-2015 -
Category
Documents
-
view
218 -
download
3
Transcript of Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Automated Regression Test Development
Bhatia, ManojChen, Yin Yin
Clark, NeoGhabraei, Ali
Tang, JohnTran, Wilson
Romero, Jessica
GPO has a website that provides official and authentic government publications.
GPO’s website is being upgraded from time to time and test cases are manually being run on the website in order to verify expected results.
Introduction
Our goal is to use fitNesse as a test framework to write and process scripts so that all the test cases will run automatically.
GOAL
Level 0 Data Flow Diagram (DFD)
UserUser
Test Framework(FitNesse):
• Run the Test Cases• Editing Wiki Page• Import/Export Library/Fixtures• Display the Test Case Result
Test Framework(FitNesse):
• Run the Test Cases• Editing Wiki Page• Import/Export Library/Fixtures• Display the Test Case Result
Request Information
Sending Information
GPO WebsiteGPO
WebsiteUser
FitNesse Introduction: Ali and Jessica FitNesse Details: Yin Yin and John Sample Test Case: Neo and Wilson Challenges: Manoj
Presentators
FitNesse
1. FitNesse Overview2. FitNesse Wiki
1. Test Case2. Fixtures
3. Spider Fixture – This is lead in for Neo and Wilson
Highlights
FitNesse is a user-friendly, open-source, lightweight framework for running test cases.
FitNesse reads test cases and compare the outcome to the expected results .
Overview
The Fitnesse Wiki is a piece of server software that allows users to freely create and edit Web page content using any Web browser.
FitNesse allows users to create , modify and add test cases to evaluate the desire result using hyperlinks and simple syntax.
FitNesse is a Wiki
FitNesse Wiki
Fixture is a Java (or any other supported programming languages) class that FitNesse uses to process test cases.
What is a Fixture?
Getting Started
Creating Test Cases
Adding Data To Test Case
Verifying Test Through Fixtures
We will be using web fixtures to run acceptance tests on a website.
Web Fixtures
FitLibraryWeb: SpiderFixtures
What is SpiderFixture SpiderFixture has a comprehensive set of
actions for emulating a use on a web browser.
It can check and manipulate forms, tables, inputs, selects, frames/iframes, windows (including popups).
Running test case at an actual server rather than local host◦ If there's a server we can use, should there be a
username and password assigned to the users? Problems opening a PDF file, DOC file or
various different file from a web page.
Challenge We Might Face