440 likes | 537 Views
Automated Regression Test Development. Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei , Ali Tang, John Tran, Wilson Romero, Jessica. Introduction. GPO has a website that provides official and authentic government publications.
E N D
Automated Regression Test Development Bhatia, Manoj Chen, Yin Yin Clark, Neo Ghabraei, Ali Tang, John Tran, Wilson Romero, Jessica
Introduction • 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.
GOAL • Our goal is to use fitNesse as a test framework to write and process scripts so that all the test cases will run automatically.
Test Framework (FitNesse): • Run the Test Cases • Editing Wiki Page • Import/Export Library/Fixtures • Display the Test Case Result Request Information GPO Website User User Sending Information Level 0 Data Flow Diagram (DFD)
Presentators • FitNesse Introduction: Ali and Jessica • FitNesse Details: Yin Yin and John • Sample Test Case: Neo and Wilson • Challenges: Manoj
Highlights • FitNesse Overview • FitNesse Wiki • Test Case • Fixtures • Spider Fixture – This is lead in for Neo and Wilson
Overview • 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 .
FitNesse is a Wiki • 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.
What is a Fixture? • Fixture is a Java (or any other supported programming languages) class that FitNesseuses to process test cases.
Web Fixtures • We will be using web fixtures to run acceptance tests on a website.
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).
Challenge We Might Face • 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.