Friday, 24 February 2023

Test Cases For Email Id Field validation - Email Address Test Scenarios

 

Positive Test Cases for Email id field

  • Verify the field by entering a valid email address.

  • Verify the field With Email contains a dot in the address field

  • Verify With Email contains dot with subdomain

  • Verify that the email id filed With the Plus sign is considered a valid character.

  • Verify With the Square bracket around the IP address is considered valid.

  • Verify the email id filed With Quotes around the email is considered valid

  • Verify email id field With Digits in the address are valid

  • Verify email id With Digits in the address are valid

  • Verify the email id filed With Underscore in the address field is valid

  • Verify the email id filed With .name is valid Top Level Domain name

  • Verify With Dot in Top Level Domain name also considered valid (use co.jp as an example here)

  • Verify With Dash in the address field is valid


  • Negative Test Cases for the email id field

  • Verify the email id filed With the Missing @ sign and domain

  • Verify the email id text box With Garbage

  • Verify the email id filed With the Missing username

  • Verify the email address field With Encoded HTML within the email is invalid

  • Verify  the email id field With Missing @

  • Verify the email id filed With Two @ sign

  • Verify  the email id text box With the Leading dot in the address is not allowed

  • Verify the email id filed With a Trailing dot in the address is not allowed

  • Verify the email address field With Multiple dots

  • Verify the email id filed With Unicode char as the address

  • Verify  the email id text box With Text following email is not allowed

  • Verify the email id text box  With the Missing top-level domain (.com/.net/.org/etc)

  • Verify the email id filed With .web is not a valid top-level domain

  • Verify  the email id text box With an Invalid IP format

  • Verify  the email id text box With Multiple dots in the domain portion is invalid


List of Valid Email Addresses

A list of valid emails is given below.

  • email@example.com

  • firstname.lastname@example.com

  • email@subdomain.example.com

  • firstname+lastname@example.com

  • email@123.123.123.123

  • email@[123.123.123.123]

  • "email"@example.com

  • 1234567890@example.com

  • email@example-one.com

  • _______@example.com

  • email@example.name

  • email@example.museum

  • email@example.co.jp

  • firstname-lastname@example.com

  • List of Strange Valid Email Addresses

  • much.” more\ unusual”@example.com

  • very.unusual.”@”.unusual.com@example.com

  • very.”(),:;<>[]”.VERY.”very@\\ "very”.unusual@strange.example.com


List of Invalid Email id /Address

A list of all invalid email id formats is given below 

  • plainaddress

  • #@%^%#$@#$@#.com

  • @example.com

  • Joe Smith <email@example.com>

  • email.example.com

  • email@example@example.com

  • .email@example.com

  • email.@example.com

  • email..email@example.com

  • あいうえお@example.com

  • email@example.com (Joe Smith)

  • email@example

  • email@-example.com

  • email@example.web

  • email@111.222.333.44444

  • email@example..com

  • Abc..123@example.com

  • List of Strange Invalid Email Addresses

  • ”(),:;<>[\]@example.com

  • just”not”right@example.com

  • this\ is"really"not\allowed@example.com


Thursday, 23 February 2023

Test Cases for Mobile Number Field

 

  • Verify the mobile number text field by entering the valid 10-digit mobile number ie."9878775858".

  • Verify the mobile number field by entering the Less than 10 digits mobile number ie."898585858".

  • Verify the mobile number field by entering a more 10 digits mobile number ie."58585858585".

  • Verify the mobile number field by entering the blank space between the number ie."8585 85858"

  • Verify the mobile number text field by copying and pasting the mobile number.it must be copied and pasted into the text box.

  • Verify the mobile number field by entering the 10 "Zero" in the text box ie."0000000000"

  • Verify the mobile number field by entering only 10 blank spaces.

  • Verify the mobile number field without entering any value.

  • Verify the mobile number field by entering the special character

  • Verify the mobile number field by entering the character value.

  • Verify the mobile number field by entering the "0" at the initial.

Other Test Cases For Mobile Number Text Box.(As per SRS)

  • Verify the asterisk symbol for the mobile number if the field is a mandatory field 

  • Verify the alert message when the user clicks on save without entering the value in the mobile number text box while it is a mandatory field.

  • Verify the alert message when the user enters the wrong data in the mobile number field.(Eg. Less mobile Number, mobile number with a character and special symbol, Blank field, etc.)

  • Verify the placeholder for the mobile number text box.

Monday, 23 March 2020

Test Scenarios V/s Test Cases

Test Scenarios
Test Cases
It tells user “what to do”?
It tells user “How to do”
Purpose of test scenario is to test end to end functionality of a application

Purpose of test case is to validate the test scenario by executing a set of steps

Creating test scenarios helps you in a time-sensitive situation (especially working in Agile)

Creating test cases is important when working with testers off-site

Test scenarios are easy to maintain 
Software applications change often. It leads to redesigning the pages and adding new functionalities. It hard to maintain test cases

Less time consumption compared to test cases

More time consumption compared to test scenarios

Relatively less resources enough to create and test using test scenarios

Required more resources to create and execute test cases

Test scenarios are derived from use cases

It helps in exhaustive testing of application

Test scenarios are high level actions

Test cases are derived from test scenarios

It helps in agile way of testing end to end functionality

It helps in exhaustive testing of application