Test Case Document Sample [PDF]

  • 0 0 0
  • Gefällt Ihnen dieses papier und der download? Sie können Ihre eigene PDF-Datei in wenigen Minuten kostenlos online veröffentlichen! Anmelden
Datei wird geladen, bitte warten...
Zitiervorschau

Test Scenarios For Wallet Hub Project Name

Wallet Hub

Reference Document

www.wallethub.com

Created By

Monali Nath

Date Of Creation

19-03-2020

Date Of Review

20-03-2020

Test Scenario ID

Reference Document Index

Test Scenario Description

Importance

1

TS1.1

Validate if the user is able to upload image files for all extensions file

2-High, 2-Medium

No of Test Cases 4

2

TS1.2

Validate if the user is able to upload image files for all sizes

High

2

3

TS1.3

Validate if the user is able to check the fuctionalities of all the buttons working accurately Medium

1

4

TS1.4

Validate if the user is able to see the exact image after uploading

1-High,1-Medium

2

5

TS1.5

Validate if the user is able to upload image files with specific width and height

High

1

Test Cases For Wallet Hub Project Name

Wallet Hub

Module Name

Upload Image

Reference Document

www.wallethub.com

Created By

Monali Nath

Date Of Creation

19-03-2020

Date Of Review Please Note : My observations and test results are mentioned in 'Actual Results' and 'Additional Feature Remark' column. Test Case ID

Test Case Scenario

Test Case Description

TC_UploadImage_001

Validate if the user is able to upload image files for all extensions

To check if the user is able to upload image files for png, jpeg, jfif

Pre-Condition

Test steps

2. Enter valid username and password User should be able to access the link and must have valid user name and password

TC_UploadImage_001

Validate if the user is able to upload image files for all extensions

3. Click on login 4. Click on Edit Profile and navigate to settings page 5. Click on public info and navigate to public info page 6. Click on Upload Image button and select a file 7. Upload image files having extension as png, jpeg, jiff etc

3. Click on login User should be able to access the link and must have valid user name and password

Validate if the user is able to upload image files for all extensions

4. Click on Edit Profile and navigate to settings page

Validate if the user is able to upload image files for all extensions

UN: test_inscomp@ evolutionfinance .com PWD:Abcd123*

4. Click on Edit Profile and navigate to settings page

UN: test_inscomp@ evolutionfinance .com

7. Upload image files having file name with combination of letters,special characters etc

PWD:Abcd123*

3. Click on login User should be able to access the link and must have valid user name and password

Validate if the user is able to upload image files for all sizes

4. Click on Edit Profile and navigate to settings page

UN: test_inscomp@ evolutionfinance .com

7. Check if the file selection dialog shows only supported files listed ex:image files

PWD:Abcd123*

2. Enter valid username and password User should be able to access the link and must have valid user name and password

TC_UploadImage_002

Validate if the user is able to upload image files for all sizes

3. Click on login 4. Click on Edit Profile and navigate to settings page 5. Click on public info and navigate to public info page 6. Click on Upload Image button and select a file 7. Upload image files starting for smaller sizes in kb

2. Enter valid username and password User should be able to access the link and must have valid user name and password

TC_UploadImage_003

Validate if the user is able to check the fuctionalities of all the buttons working accurately

Link: www. wallethub.com

3. Click on login 4. Click on Edit Profile and navigate to settings page 5. Click on public info and navigate to public info page 6. Click on Upload Image button and select a file 7. Upload image files starting for bigger sizes in mb

All the files mentioned should not be uploaded and error message should be displayed as "Please select the correct format/extension for the image file upload".

For pdf, word, excel, .exe documentfiles uploaded without any error message and profile picture is displayed as blank.For gif file uploaded without any error message and profile picture is displayed as constant image without any gif feature

NA

Didn't write expected and actual results for each step because main functionality is to test upload image

Fail

WalletHub should not allow any name Didn't write expected and extension, there must be some actual results restrictions, not following that, may for each step because main lead to error message. functionality is to test upload image

Pass

WalletHub can add Image Files in the Didn't write expected and actual file dialog box so it will be easier to results for each step because main filter and upload image files. functionality is to test upload image

Fail

All the files should be uploaded correctly and displayed as profile picture in the homepage.

Smaller sizes images got uploaded correctly.

PWD:Abcd123*

Link: www. wallethub.com

WalletHub can specify some range so that if minimum size is not uploaded it should throw an error message.

Didn't write expected and actual results for each step because main functionality is to test upload image

WalletHub can specify some range so that if maximum size exceeds, it should throw an error message.

Didn't write expected and actual results for each step because main functionality is to test upload image

Pass

Files with bigger sizes must have Bigger sizes ex: 20MB, progress bar is not progress bar with percentage status displayed, sometimes hanged, and no of uploading setting for adjusting width height or cropping the image was enabled.

UN: test_inscomp@ evolutionfinance .com PWD:Abcd123*

Fail

Image file should not be uploaded Image file was not uploaded and previous and previous profile picture must be profile picture was displayed in homepage displayed in homepage

1. Open the browser and navigate to the link www.wallethub.com

To check if the user is able to work on fuctionalities of all the buttons working accurately

Didn't write expected and actual results for each step because main functionality is to test upload image

UN: test_inscomp@ evolutionfinance .com

1. Open the browser and navigate to the link www.wallethub.com

To check if the user is able to upload image files for for bigger sizes in mb

Notes

NA

Pass

File dialog box should have two File dialog box had only one drop down i.e. drop downs,i.e. All Files and Image All Files Files

1. Open the browser and navigate to the link www.wallethub.com

To check if the user is able to upload image files for for smaller sizes in kb

Additional Feature Remarks

Link: www. wallethub.com

6. Click on Upload Image button

5. Click on public info and navigate to public info page

Status(Pass/Fail)

Link: www. wallethub.com

1. Open the browser and navigate to the link www.wallethub.com

To check if the file selection dialog shows only supported files listed

All the png, jpeg, jfif was uploaded correctly

All images should be uploaded with All images were uploaded with any file any file name name

6. Click on Upload Image button and select a file

5. Click on public info and navigate to public info page

2. Enter valid username and password

TC_UploadImage_002

Link: www. wallethub.com

7. Upload image files having extension as pdf, word, excel, gif etc

3. Click on login

User should be able to access the link and must have valid user name and password

Actual Result

All the files should be uploaded correctly and displayed as profile picture in the homepage.

PWD:Abcd123*

1. Open the browser and navigate to the link www.wallethub.com

To check if the user is able to upload image files with any file name

Expected Result

UN: test_inscomp@ evolutionfinance .com

6. Click on Upload Image button and select a file

5. Click on public info and navigate to public info page

2. Enter valid username and password

TC_UploadImage_001

Link: www. wallethub.com

1. Open the browser and navigate to the link www.wallethub.com

To check if the user is able to upload image files for pdf, word, excel, gif, .exe

2. Enter valid username and password

TC_UploadImage_001

Test Data

1. Open the browser and navigate to the link www.wallethub.com

Delete button can be added when the Didn't write expected and actual user wants to delete the profile results for each step because main picture functionality is to test upload image

2. Enter valid username and password 3. Click on login 4. Click on Edit Profile and navigate to settings page 5. Click on public info and navigate to public info page User should be 6. Click on Upload Image button and select a file able to access the link and must have valid user name and password 7. Click on cancel button

TC_UploadImage_004

2. Enter valid username and password User should be able to access the link and must have valid user name and password

TC_UploadImage_004

UN: test_inscomp@ evolutionfinance .com PWD:Abcd123*

1. Open the browser and navigate to the link www.wallethub.com

To check if the user is able to see the exact image in homepage Validate if the user is able to see the exact image after uploading after uploading

3. Click on login 4. Click on Edit Profile and navigate to settings page 5. Click on public info and navigate to public info page 6. Click on Upload Image button and select a file 7. Upload the image and go to homepage to check the image

Link: www. wallethub.com

Pass

The uploaded image should be the The clarity and quality always changed exact image without cropped, clarity doesn't matter of any extension or size. and quality must be the same.

PWD:Abcd123*

TC_UploadImage_005

Validate if the user is able to upload image files with specific width and height

5. Click on public info and navigate to public info page 6. Click on Upload Image button and select a file

Link: www. wallethub.com

8. Upload the image2 and go to homepage to check the image

UN: test_inscomp@ evolutionfinance .com

9. Upload the image1 again and go to homepage to check the image

PWD:Abcd123*

7. Upload the image1 and go to homepage to check the image

2. Enter valid username and password User should be able to access the link and must have valid user name and password

3. Click on login 4. Click on Edit Profile and navigate to settings page 5. Click on public info and navigate to public info page 6. Click on Upload Image button and select a file 7. Crop or expand the image file according to the requirement

NA

Didn't write expected and actual results for each step because main functionality is to test upload image

Fail

Crop or expand should work properly

1. Open the browser and navigate to the link www.wallethub.com

To check if the user is able to use the functionality of crop to get specific width and height

Was unable to see image1 again when uploaded in this series, image1-image2image1. Yes after uploading image3 and then again image1, image1 was displayed, which shouldn't be the case.

3. Click on login 4. Click on Edit Profile and navigate to settings page

Didn't write expected and actual results for each step because main functionality is to test upload image

Fail

The exact image should be displayed as uploaded

2. Enter valid username and password User should be able to access the link and must have valid user name and password

NA

UN: test_inscomp@ evolutionfinance .com

1. Open the browser and navigate to the link www.wallethub.com

To check if the user is able see the exact image in homepage Validate if the user is able to see the exact image after uploading after changing the images multiple times

Upload Image button is not added as test case as it is tested in every other test case.

Link: www. wallethub.com

Crop and expand of images worked accurately for all image files

WalletHub can check the overlapping Didn't write expected and actual of images in Image Upload screen results for each step because main while uploading a new one. The new functionality is to test upload image one should perfectly overlap the old one in that screen. For more info, please find screenshot attached to the mail. Not an important functionality, just that it does not look good in UI.

Link: www. wallethub.com UN: test_inscomp@ evolutionfinance .com PWD:Abcd123*

Pass

For the given problem, for calcluation account diversity If totalAccounts> 20 or loanTypeCount >= 4, accountDiversityGrade = A Else if totalAccounts> 10 or loanTypeCount = 3, accountDiversityGrade = B Else if totalAccounts>= 5 or loanTypeCount= 2, accountDiversityGrade = C Else if totalAccounts > 0 or loanTypeCount = 1, accountDiversityGrade = D Else accountDiversityGrade=null (n/a)`

Solution According to my analysis, we should have a minimum set of 7 users to test all of these conditions. The rationale is explained below. Users

User Type

Logic

Account Diversity Grade

Remarks

User 1

A user who has atleast 4 Total Accounts and of 4 Loan type. Since there are only 4 type of applicable loans (Home loan, Heloc, Car loan & Credit Card), I totalAccounts>4 & have not considered loan type greater than 4. LoanTypeCount=4

If totalAccounts> 20 or loanTypeCount >= 4

A

Any value satisfying the given condition will always yield Account Diversity A

User 2

A user who has total accounts less than 21 but greater than 10 , but less than 3 loan types

21>totalAccounts>10 & LoanTypeCount 10 or loanTypeCount = 3,

B

User 3

A user who has total accounts less than 21 but greater than 10 , but exactly 3 loan types

21>totalAccounts>10 & LoanTypeCount=3

Else if totalAccounts> 10 or loanTypeCount = 3,

B

User 4

11>totalAccounts>1 & A user who has less than 10 but atleast 2 accounts LoanTypeCount=2 of 2 loan types

Else if totalAccounts>= 5 or loanTypeCount= 2

C

User 5

A user who has more than 4 total accounts of the same loan type

Else if totalAccounts>= 5 or loanTypeCount= 2

C

User 6

A user who had either 4 or less than 4 total accounts of the same loan type

User 7

A user who either has an unknown loan account or no loan accounts

Condition

11>totalAccounts>4 & LoanTypeCounttotalAccounts>0 & LoanTypeCount=1

Any value satisfying the given condition will always yield Account Diversity b

Any value satisfying the given condition will always yield Account Diversity C

Else if totalAccounts > 0 or loanTypeCount = 1, accountDiversityGrade D =D

Any value satisfying the given condition will always yield Account Diversity D

Else accountDiversityGrade=null (n/a)`

Any user who is not having loan type or has an unknown account, it is considered as null.

totalAccounts=0 LoanTypeCount=0 Null