440 likes | 563 Vues
This paper discusses the automated regression test development for the Government Publishing Office (GPO) website using the FitNesse test framework. It aims to transition from manual test case execution to an automated process by creating scripts that run efficiently. The authors explore FitNesse's capabilities, including wiki page editing, test case display, and library fixture management. Additionally, the collaboration between team members highlights the use of web fixtures for acceptance tests, challenges encountered, and practical steps for implementing and verifying test cases to enhance the GPO's user experience.
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 FitNesse uses 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).
Test Case: User Help RD-3047 • Step 1: • Open a Web Browser and enter the URL http://dfdsys.test.fdsys.gpo.gov/dfdsys/search/home.action (for documentum content) or URL http://mfdsys.test.fdsys.gpo.gov/mfdsys/search/home.action (for migration content) Press Enter. • Step 2: • Click 'Contact' at the top of the FDsys - GPO Access home page. • Step 3: • Click on the links for Customers. • Click the "Back arrow button" at the top left of the page. • (Repeat step 3 for the Vendors and Libraries links.) • Step 4: • Click GPO Access - FDsys to return to the previous page.
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.