+ All Categories
Home > Documents > Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

Date post: 19-Dec-2015
Category:
View: 218 times
Download: 3 times
Share this document with a friend
Popular Tags:
43
Automated Regression Test Development Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica
Transcript
Page 1: 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

Page 2: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, 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

Page 3: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

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

Page 4: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

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

Page 5: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

FitNesse Introduction: Ali and Jessica FitNesse Details: Yin Yin and John Sample Test Case: Neo and Wilson Challenges: Manoj

Presentators

Page 6: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

FitNesse

Page 7: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

1. FitNesse Overview2. FitNesse Wiki

1. Test Case2. Fixtures

3. Spider Fixture – This is lead in for Neo and Wilson

Highlights

Page 8: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

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

Page 9: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

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

Page 10: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

FitNesse Wiki

Page 11: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

Fixture is a Java (or any other supported programming languages) class that FitNesse uses to process test cases.

What is a Fixture?

Page 12: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

Getting Started

Page 13: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

Creating Test Cases

Page 14: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

Adding Data To Test Case

Page 15: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

Verifying Test Through Fixtures

Page 16: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

We will be using web fixtures to run acceptance tests on a website.

Web Fixtures

Page 17: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

FitLibraryWeb: SpiderFixtures

Page 18: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

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).

Page 19: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 20: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 21: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 22: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 23: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 24: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 25: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 26: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 27: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 28: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 29: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 30: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 31: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 32: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 33: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 34: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 35: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 36: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 37: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 38: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 39: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 40: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 41: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 42: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.
Page 43: Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica.

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


Recommended