Software Automation Engineer Task
Software Automation Engineer Task
App-URL: “https://www.saucedemo.com/”
1. Login Functionality
d.
Lt
● Test Scenario 1: Verify Valid Login:
○ Navigate to the login page.
t.
Pv
○ Enter valid credentials:
■ Username: standard_user
■ Password: secret_sauce
(I)
○ Click the "Login" button.
s
○ Verify that the user is redirected to the products page.
em
○ Verify that the username is displayed.
● Test Scenario 2: Verify Invalid Login:
st
○ Navigate to the login page. Sy
○ Enter invalid credentials:
■ Username: wrong_user
n
■ Password: wrong_password
io
○ Verify that all expected products are present on the page (e.g., Sauce Labs
Backpack, Sauce Labs Bike Light).
ig
3. Cart Functionality
d.
○ In the cart view, remove an item from the cart.
Lt
○ Verify that the item is removed and the cart count is updated accordingly.
● Test Scenario 3: Verify Checkout Process:
t.
○ Click on the "Checkout" button.
Pv
○ Enter valid checkout information:
■ Name
(I)
■ Address
s
■ Postal Code
em
○ Complete the checkout process.
○ Verify that the order confirmation page is displayed.
st
4. Navigation
Sy
● Test Scenario 1: Verify Navigation Between Pages:
n
io
○ Navigate to different pages (e.g., product page, cart page, checkout page).
at
○ Verify that the navigation is smooth and that pages load correctly.
● Test Scenario 2: Verify Logout Functionality:
rm
○ Verify that the user is redirected back to the login page and is logged out
In
a
● Language: Java 8
irv