Uploaded by Marko Sacka

prvi test

advertisement
Test Case ID
1
Test Case Name
Login without username and correct password
Test Step
Step1
Step2
Step3
Step4
Step5
Step6
Step7
2
Login without password and correct username
Test 2
Step1
Step2
Step3
Step4
Step5
Step6
3
Login with wrong credentials
Test 3
Step1
Step2
Step3
Step4
Step5
Step6
Step7
4
Login with correct username and correct password
Test 4
Step1
Step2
Step3
Step4
Step5
Step6
Step7
5
Test Case for Logout
6
Remove Items from Cart
Test 5
Step1
Step2
Step3
Step4
Step5
Step6
Step7
Step8
Test 6
Step1
Step2
Step3
Step4
Step5
Step6
Step7
Step8
Step9
Step10
Step11
7
Purchase items
Test 7
Step1
Step2
Step3
Step4
Step5
Step6
Step7
Step8
Step9
Step10
Step11
Step12
Step13
Pre Conditions
Open Browser
Enter the name of the site being tested in the address bar
Click Enter to select the first result from the dropdown
Pre Conditions
Open browser
Enter the name of the site being tested in the address bar
Click Enter to select the first result from the dropdown
Pre Conditions
Open browser
Enter the name of the site being tested in the address bar
Click Enter to select the first result from the dropdown
Pre Conditions
Open browser
Enter the name of the site being tested in the address bar
Click Enter to select the first result from the dropdown
Pre Conditions
Open browser
Enter the name of the site being tested in the address bar
Click Enter to select the first result from the dropdown
Enter the correct username in the Username field in the Login form
Enter the correct password in the Password field in the Login form
Click on the red login located in the Login form
Pre Conditions
Open browser
Enter the name of the site being tested in the address bar
Click Enter to select the first result from the dropdown
Enter the correct username in the Username field in the Login form
Enter the correct password in the Password field in the Login form
Click on the red login located in the Login form
click on the “ADD TO CART” field located within the product called "Sauce Labs Backpack"
click on the “ADD TO CART” field located within the product called "Sauce Labs Bike Light"
In the upper taskbar in the right corner, click on the basket icon
Pre Conditions
Open browser
Enter the name of the site being tested in the address bar
Click Enter to select the first result from the dropdown
Enter the correct username in the Username field in the Login form
Enter the correct password in the Password field in the Login form
Click on the red login located in the Login form
click on the “ADD TO CART” field located within the product called "Sauce Labs Backpack"
click on the “ADD TO CART” field located within the product called "Sauce Labs Bike Light"
In the upper taskbar in the right corner, click on the basket icon
Action
Leave a blank field inside the Login form in the Username field, do not enter anything
Enter the correct password in the Login field in the Login form
Click on the red login located in the Login form
Action
Enter the correct username in the Username field in the Login form
Leave a blank field inside the Login form in the Password field, do not enter anything
Click on the red login located in the Login form
Action
In the Login form, enter an invalid username in the Username field
Enter an invalid password in the Login field in the Login form
Click on the red login located in the Login form
Action
Enter the correct username in the Username field in the Login form
Enter the correct password in the Password field in the Login form
Click on the red login located in the Login form
Action
In the upper taskbar on the web page, in the left corner there is a symbol of the drop-down menu (cube and in it three straight
Click on the LOGOUT option
Action
on the right side of the web page, in line with the selected product (Sauce Labs Backpack) click on the REMOVE button
on the right side of the web page, in line with the selected product (Sauce Labs Bike Light) click on the REMOVE button
Action
Click on the red "Checkout" button below the products in the basket on the right side of the website
Fill field FIRST NAME, LAST NAME, ZIP/POSTAL CODE
Click on the red button CONTINUE, on the right side below Checkout form.
Click on the red button FINISH which is located on the right side on page below Total price.
Data
https://www.saucedemo.com/
secret_sauce
Data
https://www.saucedemo.com/
standard_user
Data
https://www.saucedemo.com/
Invalid username
Invalid password
Data
https://www.saucedemo.com/
standard_user
secret_sauce
Data
https://www.saucedemo.com/
standard_user
secret_sauce
w the other). Click on it.
Data
https://www.saucedemo.com/
standard_user
secret_sauce
Data
https://www.saucedemo.com/
standard_user
secret_sauce
path to the link
Expected result
The browser is open.
A dropdown is opened in the address bar and the site name is entered.
The Login / Registration page is open.
Unutar Login forme, u “Username polju”, sivim slovima pise “Username” (Ocekuje da upisemo Username)
Unutar Login forme, u “Password polju”, prikazuje broj tackica koliko ima karaktera.
Neuspesno logovanje na account korisnika.Unutar Login forme ispod polja za unos Passworda u crvenom polju vraca tekst “E
Expected result
The browser is open.
A dropdown is opened in the address bar and the site name is entered.
The Login / Registration page is open.
Unutar Login forme, u “Username polju”, unesen ispravan username u polje
Unutar Login forme, u “Password polju”, prikazuje broj tackica koliko ima karaktera
Neuspesno logovanje na account korisnika.Unutar Login forme ispod polja za unos Passworda u crvenom polju vraca tekst “E
Expected result
The browser is open.
A dropdown is opened in the address bar and the site name is entered.
The Login / Registration page is open.
Unutar Login forme, u “Username polju”, unesena neispravan username.
Unutar Login forme, u “Password polju”, prikazuje broj tackica koliko ima karaktera
Neuspesno logovanje na account korisnika.Unutar Login forme ispod polja za unos Passworda u crvenom polju vraca tekst “E
Expected result
The browser is open.
A dropdown is opened in the address bar and the site name is entered.
The Login / Registration page is open.
Unutar Login forme, u “Username polju”, unesen ispravan username.
Unutar Login forme, u “Password polju”, prikazuje broj tackica koliko ima karaktera
Uspesno logovanje,otvorena Home stranica
Expected result
The browser is open.
A dropdown is opened in the address bar and the site name is entered.
The Login / Registration page is open.
In the Login form, in the "Username field", the correct username is entered.
Inside the Login form, in the "Password field", it shows the number of dots of character
Successful login, Home page opened
A drop-down menu with options (ALL ITEMS, ABOUT, LOGOUT, RESET APP STATE) will open
The Login / Registration page loaded successfully
Expected result
The browser is open.
A dropdown is opened in the address bar and the site name is entered.
The Login / Registration page is open.
In the Login form, in the "Username field", the correct username is entered.
Inside the Login form, in the "Password field", it shows the number of dots of character
Successful login, Home page opened
via the basket icon in the taskbar at the top of the web page, number 1 will appear
via the basket icon in the taskbar at the top of the web page, number 2 will appear
“Your Cart” page is loaded,and the selected product are loaded and displayed below “QTY” and “DESCRIPTION”
The product is removed
the product is removed
Expected result
The browser is open.
A dropdown is opened in the address bar and the site name is entered.
The Login / Registration page is open.
In the Login form, in the "Username field", the correct username is entered.
Inside the Login form, in the "Password field", it shows the number of dots of character
Successful login, Home page opened
via the basket icon in the taskbar at the top of the web page, number 1 will appear
via the basket icon in the taskbar at the top of the web page, number 2 will appear
“Your Cart” page is loaded,and the selected product are loaded and displayed below “QTY” and “DESCRIPTION”
Page “CHECKOUT:YOUR INFORMATION” is loaded successfully. FIRST NAME, LAST NAME, ZIP/POSTAL CODE field app
The fields are filled with the entered data.
Page “CHECKOUT: OVERVIEW” loaded successfully. The products we put in the basket are shown one below the other. Like
Successful product purchase. A message “THANK YOU FOR YOUR ORDER Your order has been dispatched, and will arrive
Click on the white button BACK HOME with the red frame and the letters below the picture with the horse and the man.
Download