0% found this document useful (0 votes)
49 views

Završni Projekat ITBootcamp

The document contains 6 test cases (TC01-TC06) to test the functionality of different card categories on the home page of a website by verifying that clicking on each card opens the corresponding new page with the expected URL and header title. It also contains 1 test case (TC07) to test the functionality of text fields on an "Elements" page by verifying that entering data into the fields and clicking submit properly displays the form. All test cases resulted in the expected behavior with a pass status.

Uploaded by

Vlada
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views

Završni Projekat ITBootcamp

The document contains 6 test cases (TC01-TC06) to test the functionality of different card categories on the home page of a website by verifying that clicking on each card opens the corresponding new page with the expected URL and header title. It also contains 1 test case (TC07) to test the functionality of text fields on an "Elements" page by verifying that entering data into the fields and clicking submit properly displays the form. All test cases resulted in the expected behavior with a pass status.

Uploaded by

Vlada
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Test Test Case Name Test Case Description Precondition Test Steps Test Data Expected Result Actual

Precondition Test Steps Test Data Expected Result Actual Result Pass/Fail
Case ID
HOME PAGE - Verify that all six Cards Categories ('Elements', 'Forms', 'Alerts, Frames & Windows', 'Widgets', 'Interactions', 'Book Store Application') on Home page are functional (respond to left mouse click)
Browser="Google Chrome" 1. Open browser
Verify on the Home page that when we
Verify that Card Category URL="https://demoqa.com/" 2. Go to URL New page with URL
click on Card Category 'Elements' a new
TC01 'Elements' is functional when user "https://demoqa.com/elements" will be open and As expected pass
page opens and title in the main header 3. Click on 'Elements' Card Category
click on it. title in header will be "Elements".
changed.
Browser="Google Chrome" 1. Open browser
Verify on the Home page that when we
Verify that Card Category 'Forms' is click on Card Category 'Forms' a new page URL="https://demoqa.com/" 2. Go to URL New page with URL "https://demoqa.com/forms"
TC02 As expected pass
functional when user click on it. opens and title in the main header 3. Click on 'Forms' Card Category will be open and title in header will be "Forms".
changed.
Browser="Google Chrome" 1. Open browser
Verify on the Home page that when we New page with URL
Verify that Card Category 'Alerts,
click on Card Category 'Alerts, Frame & URL="https://demoqa.com/" 2. Go to URL "https://demoqa.com/alertsWindows" will be open
TC03 Frame & Windows' is functional As expected pass
Windows' a new page opens and title in the 3. Click on 'Alerts, Frame & Windows' Card Category and title in header will be "Alerts, Frame &
when user click on it.
main header changed. Windows".
Browser="Google Chrome" 1. Open browser
Verify on the Home page that when we
Verify that Card Category 'Widgets' click on Card Category 'Widgets' a new URL="https://demoqa.com/" 2. Go to URL New page with URL "https://demoqa.com/widgets"
TC04 As expected pass
is functional when user click on it. page opens and title in the main header 3. Click on 'Widgets' Card Category will be open and title in header will be "Widgets".
changed.
Browser="Google Chrome" 1. Open browser
Verify on the Home page that when we
Verify that Card Category New page with URL
click on Card Category 'Interactions' a new URL="https://demoqa.com/" 2. Go to URL
TC05 'Interactions' is functional when "https://demoqa.com/interaction" will be open and As expected pass
page opens and title in the main header 3. Click on 'Interactions' Card Category
user click on it. title in header will be "Interactions".
changed.
Browser="Google Chrome" 1. Open browser
Verify on the Home page that when we
Verify that Card Category 'Book URL="https://demoqa.com/" 2. Go to URL
click on Card Category 'Book Store New page with URL "https://demoqa.com/books"
TC06 Store Application' is functional As expected pass
Application' a new page opens and title in 3. Click on 'Book Store Application' Card Category will be open and title in header will be "Book Store".
when user click on it.
the main header changed.

ELEMENTS PAGE - Verify that all Text Fields ('Full Name', 'Email', 'Current Address', 'Permanent Address') on 'Text Box' page are functional (can be filled and submitted)
1. Click on 'Elements' Card Category
2. Click on 'Text Box' element from list
Verify that when all Text Fields are filled Navigate to 3. Input valid Full Name "Vladimir Vujin"
Verify that the Text Fields work Proper Text Box form created and consist data from
TC07 with correct inputs, clicking on button https://demoqa.com/ in Google 4. Input valid Email [email protected] As expected pass
when we enter the correct data. all Text Fields.
'Submit' creates proper Text Box form. Chrome 5. Input valid Current Address "Kralja Petra Prvog 5"
6. Input valid Permanent Address "Kralja Aleksandra Prvog 21/12"
7. Click Submit
1. Click on 'Elements' Card Category
2. Click on 'Text Box' element from list
Verify that when 'Email' Text Field is filled Navigate to 3. Input valid Full Name "Vladimir Vujin"
Verify that the Text Fields work Proper Text Box form didn't create and 'Email' Text
TC08 with incorrect input clicking on button https://demoqa.com/ in Google 4. Input invalid Email "vladagmail" As expected pass
when we enter the incorrect data. Field had red border.
'Submit' don't create Proper Text box form. Chrome 5. Input valid Current Address "Kralja Petra Prvog 5"
6. Input valid Permanent Address "Kralja Aleksandra Prvog 21/12"
7. Click Submit
ELEMENTS PAGE - Verify that Check Boxes is checked and label message appears when user clicks on it
Verify that when user clicks on the empty Navigate to 1. Click on 'Elements' Card Category
Verify that empty Check Box is All Check Boxes under the 'Home' Check Box
TC09 Check Box it becomes checked and a label https://demoqa.com/ in Google 2. Click on 'Check Box' element from list As expected pass
checked when user clicks on it. become checked and label message appears.
message appears. Chrome 3. Click 'Home' empty Check Box
Verify that when user clicks on the checked Navigate to 1. Click on 'Elements' Card Category
Verify that checked Check Box is All Check Boxes under the 'Home' Check Box
TC10 Check Box it becomes empty and a label https://demoqa.com/ in Google 2. Click on 'Check Box' element from list As expected pass
empty when user clicks on it. become empty and label message disappears.
message disappears. Chrome 3. Click 'Home' checked Check Box
ELEMENTS PAGE - Verify that radio buttons are selected and label message appears when user clicks on it
Verify that when user clicks on the Radio 1. Click on 'Elements' Card Category
Navigate to 2. Click on 'Radio Button' element from list Radio Button that user clicked become selected,
Verify that Radio Button is selected Button it becomes selected, other Radio
TC11 https://demoqa.com/ in Google other Radio Buttons become deselected, label As expected pass
when user clicks on it. Buttons become unselected and a label 3. Click 'Yes' Radio Button
Chrome message appears.
message appears.
4. Click 'Impresive' Radio Button
ELEMENTS PAGE - Verify functionality of Web Tables (add, edit, delete)
1. Click on 'Elements' Card Category
2. Click on 'Web Tables' element from list
3. Click 'Add' button
4. Input valid First Name "Vladimir"
Verify that when user clicks on the 'Add' Navigate to 5. Input valid Last Name "Vujin"
Verify that user can add new row in
TC11 button and input correct data, new row in https://demoqa.com/ in Google New row with input data is added to Web Table As expected pass
Web Table. 6. Input valid Email [email protected]
Web Table added. Chrome
7. Input valid Age 43
8. Input valid Salary 50000
9. Input valid Department Ekonomija
10. Click 'Submit' button
1. Click on 'Elements' Card Category
2. Click on 'Web Tables' element from list
Verify that when user clicks on the 'Edit' Navigate to
Verify that user can edit row in Web
TC12 icon and change data, row in Web Table https://demoqa.com/ in Google Data in selected row has changed. As expected pass
Table.
changed. Chrome
Verify that when user clicks on the 'Edit' Navigate to 3. Click 'Edit' icon on second item
Verify that user can edit row in Web
TC12 icon and change data, row in Web Table https://demoqa.com/ in Google Data in selected row has changed. As expected pass
Table. 4. Input valid First Name "Vladimir"
changed. Chrome
5. Input valid Last Name "Vujin"
6. Click 'Submit' button
Navigate to 1. Click on 'Elements' Card Category
Verify that user can delete row in Verify that when user clicks on the 'Delete'
TC13 https://demoqa.com/ in Google 2. Click on 'Web Tables' element from list Selected row has deleted. As expected pass
Web Table. icon, selected row in Web Table deleted.
Chrome 3. Click 'Delete' icon on second item
ELEMENTS PAGE - Verify functionality of Buttons (single click, double click, right click)
Verify that when user double clicks on the Navigate to 1. Click on 'Elements' Card Category
Verify that user can double click on
TC14 Button "Double Click Me", gets a label https://demoqa.com/ in Google 2. Click on 'Buttons' element from list User gets a message "You have done a double click". As expected pass
Button.
message. Chrome 3. Double click 'Double Click Me' Button
Verify that when user right clicks on the Navigate to 1. Click on 'Elements' Card Category
Verify that user can right click on
TC15 Button "Right Click Me", gets a label https://demoqa.com/ in Google 2. Click on 'Buttons' element from list User gets a message "You have done a right click". As expected pass
Button.
message. Chrome 3. Right click 'Right Click Me' Button
Navigate to 1. Click on 'Elements' Card Category
Verify that when user clicks on the Button User gets a message "You have done a dynamic
TC16 Verify that user can click on Button. https://demoqa.com/ in Google 2. Click on 'Buttons' element from list As expected pass
"Click Me", gets a label message. click".
Chrome 3. Click 'Click Me' Button
ELEMENTS PAGE - Verify functionality of Links
Navigate to 1. Click on 'Elements' Card Category
Verify that when user clicks on the Link
TC17 Verify that user can click on Link. https://demoqa.com/ in Google 2. Click on 'Links' element from list Home page opens. As expected pass
"Home" home page opens.
Chrome 3. Click 'Home' Link
Navigate to 1. Click on 'Elements' Card Category
Verify that when user clicks on the Link User gets a message "Link has responded with staus
TC18 Verify that user can click on Link. https://demoqa.com/ in Google 2. Click on 'Links' element from list As expected pass
"Created" gets a label message. 201 and status text Created".
Chrome 3. Click 'Created' Link
Navigate to 1. Click on 'Elements' Card Category
Verify that when user clicks on the Link User gets a message "Link has responded with staus
TC19 Verify that user can click on Link. https://demoqa.com/ in Google 2. Click on 'Links' element from list As expected pass
"Moved" gets a label message. 301 and status text Moved Permanently".
Chrome 3. Click 'Moved' Link
Navigate to 1. Click on 'Elements' Card Category
Verify that when user clicks on the Link User gets a message "Link has responded with staus
TC20 Verify that user can click on Link. https://demoqa.com/ in Google 2. Click on 'Links' element from list As expected pass
"Forbidden" gets a label message. 403 and status text Forbidden".
Chrome 3. Click 'Forbidden' Link

ELEMENTS PAGE - Verify functionality of Broken Links - Images


Navigate to 1. Click on 'Elements' Card Category
Verify that user sees Image on valid Verify that user sees the image from the
TC21 https://demoqa.com/ in Google 2. Click on 'Broken Links - Images' element from list User sees a image. As expected pass
link. correct link.
Chrome

Navigate to 1. Click on 'Elements' Card Category


Verify that user sees Image on Verify that user doesn't see the image from
TC22 https://demoqa.com/ in Google 2. Click on 'Broken Links - Images' element from list User doesn't see a image. As expected pass
invalid link. the incorrect link.
Chrome

BOOK STORE PAGE - Verify user registration, delete user account, searh book by name, search book by author
1. Click on 'Elements' Card Category
2. Click on 'Brook Store Application' element from list
3. Click on 'Login' button
4. Click on 'New User' button
5. Input First Name "Vladimir"
6. Input Last Name "Vujin"
Navigate to 7. Input User Name "Vladimir78" User gets message "User Register Successfully", and
Verify that user can register Verify that user can register account
TC23 https://demoqa.com/ in Google when login in account there is label message As expected pass
account. enering valid data. 8. Input Password "Vlada78*"
Chrome "Vladimir78".
9. Click captcha and solve captcha (manual)
10. Click 'Register' button
11. Click 'Back To Login'
12. Input User Name "Vladimir78"
13. Input Password "Vlada78*"
14. Click 'Login' button
1. Click on 'Elements' Card Category
2. Click on 'Brook Store Application' element from list
3. Click on 'Login' button
4. Input User Name "Vladimir78"
Navigate to 5. Input Password "Vlada78*" User gets message "User Deleted.", and when tries
Verify that user can delete registered
TC24 Verify that user can delete account. https://demoqa.com/ in Google login with User Name and Password gets label As expected pass
account. 6. Click 'Login' button
Chrome message "Invalid username or password!".
7. Click 'Delete Account' button
8. Click 'Ok' on message window
9. Input User Name "Vladimir78"
10. Input Password "Vlada78*"
1. Click on 'Elements' Card Category
Navigate to 2. Click on 'Brook Store Application' element from list
TC25 Verify that user can search books. Verify that user can search books by author. https://demoqa.com/ in Google In the list, there is a book with searched author. As expected pass
Chrome 3. Click 'Book Store' element in left menu
4. Input Search Box "Osmani"
1. Click on 'Elements' Card Category
Navigate to 2. Click on 'Brook Store Application' element from list
Verify that user can search books by book
TC26 Verify that user can search books. https://demoqa.com/ in Google In the list, there is a book with searched book name. As expected pass
name.
Chrome
Navigate to
Verify that user can search books by book
TC26 Verify that user can search books. https://demoqa.com/ in Google In the list, there is a book with searched book name. As expected pass
name. 3. Click 'Book Store' element in left menu
Chrome
4. Input Search Box "Git"
1. Click on 'Elements' Card Category
Navigate to 2. Click on 'Brook Store Application' element from list
Verify that user can click on book link and New page opens, with detailed information about
TC27 Verify that user can clicks on book. https://demoqa.com/ in Google As expected pass
gets detailed information about book. 3. Click 'Book Store' element in left menu book.
Chrome
4. Click on third book on the list
INTERACTIONS PAGE - selectable
1. Click on 'Elements' Card Category
Navigate to 2. Click on 'Interactions' element from list When user clicks on a row, it changes color to blue if
TC28 Verify that user can select rows. Verify that user can select rows. https://demoqa.com/ in Google 3. Click 'Selectable' element in left menu it has not been selected. If it has been selected and As expected pass
Chrome 4. Click on first and third rows the user clicks on it, the white color returns to it.
5. Click again on first and third rows
ALERTS, FRAME & WINDOWS - alerts

Footer problem because it hides some web elements and cannot be accessed
Bug label message: in Elements -> Text Box when input text data and click submit, in label message text is incorect "Permananet Address"
In Book Store search button doesn't work

You might also like