Anonymous
timer Asked: Apr 26th, 2020

Question Description

Problem description: HW4_YourFullName.docx

Vending machine code: VendingMachineAssignment.zip

In addition, you need to download the ACTS tool from "Modules/Tools" (ACTS3.2.zip

Unformatted Attachment Preview

Assignment #4 Please submit one zip file for the entire assignment This assignment consists of three problems worth a total of 160 points. 60 points are used for edit credits. So you may receive up to 6 points in your final weighted total. 1. Java GUI Test Automation Using JfcUnit (60 points) Write test code for testing the given VendingMachine program through its GUI, i.e., the vendingGUI class. The tests must cover each kind of coins (NICKEL, DIME, QUARTER, DOLLAR), each kind of drinks (COFFEE, JUICE, SODA) and each event (Insert Coin, Return Coins, and Purchase). You may run VendingMain.java to get familiar with the GUI. You should not modify the given source code unless absolutely required. Submit the following artifacts: (a) the source code of the entire VendingMachine project including your test code so that the grader can run your code, (b) an explanation about how your tests have met the above requirements. In case you have modified the source code, provide a justification why your modification is required. (c) a video clip that shows the execution of your test code and execution results. To receive the credit, your test code must be executable without error. 2. Web Test Automation Using Selenium Webdriver (60 points) Write test code to automate the following online shopping session at amazon.com. There is no need to login to your amazon account, so please don’t provide your account information. You may choose any programming language supported by Selenium Webdriver. 1) Go to https://www.amazon.com 2) Search for the book “A friendly introduction to software testing” 3) Click on the link “A friendly introduction to software testing” 4) Click on “paperback” 5) Click on “Add to Cart” 6) Click on “Cart” 7) Change “Qty 1” to “Qty 0 (delete)” Submit the following artifacts: (a) the complete source code of your test that uses Selenium Webdriver, (b) an explanation about the code snippet for each step in the above shopping session, and (c) a video clip that shows the execution of your test code and execution results. 3. Combinatorial Testing Download the ACTS tool from Canvas and uses its default IPOG method to generate combinatorial tests for the following problems. 3.1 ISBN10 (20 points) In a valid ISBN-10 number, each of the first 9 characters is a digit (i.e., 0-9) and the 10th character is a digit or X (i.e., 0-10). Use ACTS to determine the numbers of 2-way and 3-way combinations. Submit the following: (a) the numbers of 2-way and 3-way combinations, (b) the screenshots of the results reported by ACTS. 3.2 Pizza Ordering (20 points) The following table shows some of the options for customizing a pizza at papajohns.com. For simplicity, here we pick only one value for each variable. Variable Cut Sauce How much sauce? Bake How much cheese? Meats Values Normal Cut Square Cut Clean Cut No Cut BBQ Ranch Original Buffalo Alfredo Sauce Normal Sauce Light Sauce Extra Sauce No Sauce Normal Bake Well Done Normal Cheese Light Cheese No Cheese Salami Bacon Anchovies Veggies Sausage Grilled Chicken Meatball Philly Steak Canadian Bacon Pepperoni Spicy Italian Sausage Beef Fresh Spinach Onions Pineapple Roma Tomatoes Mushrooms Jalapeño Peppers Banana Peppers Green Peppers Black Olives Use ACTS to determine the number of 2-way and 3-way combinations. Submit the following: (a) the numbers of 2-way and 3-way combinations, (b) the screenshots of the results reported by ACTS. ...
Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.

This question has not been answered.

Create a free account to get help with this and any other question!

Similar Questions
Related Tags

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors