Skip to content

Test Cases

kaanozgen12 edited this page Apr 1, 2018 · 28 revisions

Test Case #1

Test Case ID: 1
Test Case Name: Giving freelancer feedback
Description: Testing client giving freelancer feedback after project completion
Related Requirements: 1.1.4.1.1
Designed by: Baran Kılıç
Designed date: 1/4/2018
Execution by: -
Execution date: -

Preconditions:

  1. The user is logged in.
  2. The user has created a project.
  3. The user has selected a bidder for the project.
  4. The freelancer has completed the project.
  5. The user is on project page.
Step Action Test Data Expected Result Actual Result Pass/Fail Comment
1 User clicks "Give feedback" button Feedback page with rating stars and comment box is shown
2 User rates the freelancer for process category processRate = 4 4 star is shown next to the process text
3 User rates the freelancer for product category productRate = 5 5 star is shown next to the product text
4 User enters comment commentText= "Hired again, and would hire again. Very satisfied with his work, professional, communication great, responsive. Excellent to work with. Pleasure to do business with."
5 User clicks "Submit feedback" button Project page is shown
6 Check postcondition 1

Postconditions:

  1. The feedback with processRate = 4 , productRate = 5 and commentText= "Hired again, and would hire again. Very satisfied with his work, professional, communication great, responsive. Excellent to work with. Pleasure to do business with." values for freelancer is saved in the database.

Test Case #2

Test Case ID: 2
Test Case Name: Giving client feedback
Description: Testing freelancer giving client feedback
Related Requirements: 1.1.4.1.2
Designed by: Baran Kılıç
Designed date: 1/4/2018
Execution by: -
Execution date: -

Preconditions:

  1. The user is logged in.
  2. The user has bid for a project.
  3. The user has completed the project.
  4. The user is on project page.
Step Action Test Data Expected Result Actual Result Pass/Fail Comment
1 User clicks "Give feedback" button Feedback page with rating stars and comment box is shown
2 User rates the client for payment category paymentRate = 5 5 star is shown next to the payment text
3 User clicks "Submit feedback" button The system shows an error message indicating that rating every category is mandatory and the not rated categories are emphasized with red borders
4 User rates the client for communication category communicationRate = 2 2 star is shown next to the communication text
5 User rates the client for project description category projDescRate = 3 3 star is shown next to the project description text
6 User leaves the text box for comment empty
7 User clicks "Submit feedback" button Project page is shown
8 Check postcondition 1

Postconditions:

  1. The feedback with paymentRate = 5 , communicationRate = 2, projDescRate = 3 and commentText= "" values for client is saved in the database.

Test Case #3

Test Case ID: 3
Test Case Name: Create Project
Description: Client creates a project
Related Requirements: 1.1.3.1
Designed by: Ahmet Faruk Çelimli
Designed date: 01/04/2018
Execution by: -
Execution date: -

Preconditions:

  1. The user must be signed in to the system.
  2. The user must use a client account.
Step Action Test Data Expected Result Actual Result Pass/Fail Comment
1 User clicks “Create Project” button The system opens a new window for client to specify general information about project.
2 User sets deadline 07/07/2018 The system sets project deadline to 07/07/2018.
3 User chooses tags from list Tags = Java-Android-Mobile Programming The system sets java, android and mobile programming tags to project.
4 User sets budget range Budget Range = 100$-200$ The system sets project budget range to 100$-200$.
5 User adds project details Upload "description.pdf" The system attaches the uploaded pdf file as the description of the project.
6 User clicks “Submit” button The system creates the project.
7 Check postcondition 1

Postconditions:

  1. A new project whose deadline is 07/07/2018, tags are java, android and mobile programming, budget range is 100$-200$ and details given in a pdf file is created.

Test Case #4

Test Case ID: 4
Test Case Name: Send Message
Description: Client sends message to freelancer
Related Requirements: 1.1.3.5
Designed by: Ahmet Faruk Çelimli
Designed date: 1/4/2018
Execution by: -
Execution date: -

Preconditions:

  1. The user must be signed in to the system.
  2. The user must use a client account.
  3. The user must choose a freelancer for his/her project.
Step Action Test Data Expected Result Actual Result Pass/Fail Comment
1 User clicks "Message" button The system opens a small new window at the right bottom corner of the screen.
2 User types "Hello" message = "Hello" The system sets content of textbox to “Hello”.
3 User clicks "Send" button The system sends message of client to freelancer.
4 Check postcondition 1

Postconditions:

  1. A message whose text is "Hello" has been sent to freelancer.

Test Case #5

Test Case ID: 5 Test Case Name: Searching with keywords
Description: Freelancer searching for projects according to some keywords that he or she is interested in Related Requirements: 1.1.7.1
Designed by: Kaan Özgen
Designed date: 1/04/2018 Execution by:Execution date:

Preconditions:
1.User has to log in 2.Any kind of user can use search engine 3. There are projects which have been created by some users previously

Step Action Test Data Expected Result Actual Result Pass/Fail Comment
1 Freelancer clicks “Search bar” Bar will enable freelancer to type text in itself and a cursor may also show up
2 Freelancer clicks on the keyword box next to the search bar keyword box is shown with a check mark in it
3 Freelancer types some keywords in the search bar and presses enter or clicks “Search” button Freelancer types “Java Project” into the “search bar” Search engine filters available projects according to the keywords “Java Project” provided by the freelancer and shows them to freelancer
4 Check Postcondition 1

Postconditions:

  1. Freelancer sees available projects that include the keywords that (s)he provided.

Test Case #6

Test Case ID: 6 Test Case Name: Searching with keywords that appear in description of the project Description: Freelancer searching for projects according to some keywords that he or she is interested in that appear in project description Related Requirements: 1.1.7.2
Designed by: Kaan Özgen
Designed date: 1/04/2018 Execution by:Execution date:

Preconditions:
1.User has to log in 2.Any kind of user can use search engine 3. There are projects which have been created by some users previously

Step Action Test Data Expected Result Actual Result Pass/Fail Comment
1 Freelancer clicks “Search bar” Bar will enable freelancer to type text in itself and a cursor may also show up
2 Freelancer clicks on the “description” box next to the search bar ”description” box is shown with a check mark in it
3 Freelancer types some keywords in the search bar and presses enter or clicks “Search” button Freelancer types “limited experience” and “C++” into the “search bar” Search engine filters available projects according to the keywords that appear in project descriptions “limited experience,C++” and shows them to freelancer
4 Check Postcondition 1

Postconditions:

  1. Freelancer sees available projects that include the keywords in the description part that (s)he provided.

Test Case #21

Test Case ID: 21
Test Case Name: Advance payment
Description: Testing client doing advance payment for project
Related Requirements: 1.2.4.1
Designed by: Emin Vergili
Designed date: 01/04/2018
Execution by: -
Execution date: -

Preconditions:

  1. The user is logged in.
  2. The user has created a project.
  3. The user has selected a bidder for the project.
  4. The user and the freelancer agreed upon advance payment amount and conditions.
  5. The user is on the advance payment page.
Step Action Test Data Expected Result Actual Result Pass/Fail Comment
1 User enters advance payment amount advancePaymentAmount = 50
2 User selects payment currency paymentCurrency = "₺"
3 User selects payment method paymentMethod = "Credit Card" The system shows 'Credit Card Info' section
4 User enters credit card information cardNum = 1234123412341234, cardOwner = "John Doe", cardExpDate = "06-28" The system makes 'Finish Payment Button' active if all the fields filled.
5 User clicks 'Finish Payment Button' cardDataValid = True The system checks if the entered info is valid and payment can be performable, if it is so the payment performed.
6 Check postcondition 1
7 Check postcondition 2 clientAdvanceConfirm = True, freelancerAdvanceConfirm = True The system checks if both confirmations are done, if it is so the payment performed.

Postconditions:

  1. Advance payment amount has draw from the client account to the system payment pool.
  2. Advance payment amount has sent to ffreelancer account from the system payment pool.

Test Case Template

Test Case ID:
Test Case Name:
Description:
Related Requirements:
Designed by:
Designed date:
Execution by:
Execution date:

Preconditions:

  1. abc
  2. abc
Step Action Test Data Expected Result Actual Result Pass/Fail Comment
1
2
3

Postconditions:

  1. abc
  2. abc
Clone this wiki locally