1. In this assignment, we will test the Social Security calculator using parameterized testing. The website to the Social Security calculator is the following: https://www.ssa.gov/OACT/quickcalc/...

1 answer below »
All files have been attached


1. In this assignment, we will test the Social Security calculator using parameterized testing. The website to the Social Security calculator is the following: https://www.ssa.gov/OACT/quickcalc/ Using Selenium, you will write test cases for the following in the SocialSecurityTest.java file: Write a test to verify the following as a parameterized test: · Person born on January 1st, 1990 earning $55,000 should receive $2,044.00 at age 67 · Person born on January 1st, 1980 earning $65,000 should receive $2,255.00 at age 67 · Person born on January 1st, 1970 earning $75,000 should receive $2,357.00 at age 67 At what income level is the maximum benefit reached? Write a "test" where you explore this and write about your findings in the comments. Write a "test" where you explore how much of a difference 10 years make in the benefits that a person receives. In other words, does starting your career at age 20 compared to starting your career at age 30 make a significant difference? Write about your findings in the comments. · Use AAA (Arrange-Act-Assert) style of testing · You will need to use a setup method annotated with @BeforeClass and a cleanup method annotated with @AfterClass · You may use the JUnitParams library for parameterized tests https://mvnrepository.com/artifact/pl.pragmatists/JUnitParams · You may use XPath to find elements https://devhints.io/xpath 2. You have been hired by Craigslist to test their car listing web page: https://atlanta.craigslist.org/d/cars-trucks/search/cta Using Selenium, you will write test cases for the following in the CarListingTest.java file: Write a test case to verify that there are exactly 120 cars listed on the page. Also verify that the price for each listing is greater than or equal to zero. For each car listing on the page, add the subject line, price, URL and time of retrieval to a sqlite database. Verify that each time you run this test, the size of the table increases by 120. · Use AAA (Arrange-Act-Assert) style of testing · You will need to use a setup method annotated with @BeforeClass and a cleanup method annotated with @AfterClass · You may use XPath to find elements https://devhints.io/xpath 3. You have been hired by the GGC IT helpdesk to perform system testing on GGC's online tuition calculator. Using Selenium, you will write test cases for the following in the TuitionCalculatorTest.java file: a. According to US News & World Report (https://www.usnews.com/best-colleges/georgia-gwinnett-college-4142) , Georgia Gwinnett College has an in-state tuition of $5,634 dollars. Utilizing GGC's tuition calculator: http://www.ggc.edu/admissions/tuition-and-financial-aid-calculators/index.html# what parameters results in the said value? Write a test method that verifies this tuition amount. b. According to US News & World Report (https://www.usnews.com/best-colleges/georgia-gwinnett-college-4142) , Georgia Gwinnett College has an out-of-state tuition of $16,348 dollars. Utilizing GGC's tuition calculator: http://www.ggc.edu/admissions/tuition-and-financial-aid-calculators/index.html# what parameters results in the said value? Write a test method that verifies this tuition amount. c. Write a test case that confirms your bill for the current semester. What are the parameters? How much did you pay? Illustrate your bill as a test method. Write in the comments whether your bill is the same as the value that you get from the calculator (or not).
Answered 8 days AfterApr 12, 2021

Answer To: 1. In this assignment, we will test the Social Security calculator using parameterized testing. The...

Ankit answered on Apr 18 2021
143 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here