Test Types:
There are four testing types in software testing. They are:
Testing of function (functional testing)
Testing of software product characteristics (non-functional testing)
Testing of software structure/architecture (structural testing)
Testing related to changes (confirmation and regression testing)
a) Testing of function (functional testing):Testing functionality can be done from two perspectives: requirements-based or business-process-based.
To Recall:Suitability, interoperability, security, accuracy,compliance and Security testing.
b) Testing of software product characteristics (non-functional testing): It consists of five sub-characteristics,they are as follows.,
• reliability, which is defined further into the sub-characteristics maturity (robustness), fault-tolerance, recoverability and compliance;
• usability, which is divided into the sub-characteristics understandability, learnability, operability, attractiveness and compliance;
• efficiency, which is divided into time behavior (performance), resource uti lization and compliance;
• maintainability, which consists of five sub-characteristics: analyzability, changeability, stability, testability and compliance;
• portability, which also consists of five sub-characteristics: adaptability, installability, co-existence, replaceability and compliance.
To Recall:Performance testing, load testing, stress testing, usability testing, maintainability testing, reliability testing and portability testing.
c) Testing of software structure/architecture (structural testing):Structural testing is most often used as a way of measuring the thoroughness of testing through the coverage of a set of structural elements or coverage items. A system, system integration or acceptance testing test basis could be a business model or menu structure.
At component level, and to a lesser extent at component integration testing, there is good tool support to measure code coverage. Coverage measurement tools assess the percentage of executable elements (e.g. state-ments or decision outcomes) that have been exercised (i.e. covered) by a test suite. If coverage is not 100%, then additional tests may need to be written and run to cover those parts that have not yet been exercised.
To Recall:Structural testing is often referred to as 'white-box' or 'glass-box'.
d) Testing related to changes (confirmation and regression testing)
To Recall:Confirmation testing (re-testing),Regression testing
Test Case Template:
Test case template gives basic idea of the columns in a testcase.The Template differs from company to company.But Testcase id,Test description,Expected result,Actual result,Test status(P/F) will be common in all testcase templates .
testcase id
|
test case name
|
test case desc
|
test steps
|
test case status
|
test status (P/F)
| test prority |
defect severity
|
step | expected | actual |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
Testcase Sample:
Preconditions: Open any login page in the Web browser.
Test case id
|
Test case name
|
test case desc
|
test steps
|
test case status
|
test status (P/F)
|
test prority
|
defect severity
|
step
|
expected
|
actual
|
Login01
|
Validate Login
|
To verify that Login name on login page must be greater than 3 characters
|
enter login name less than 3 chars (say a) and password and click Submit button
|
an error message “Login not less than 3 characters” must be displayed
|
|
design
|
|
high
|
|
enter login name less than 3 chars (say ab) and password and click Submit button
|
an error message “Login not less than 3 characters” must be displayed
|
|
design
|
|
high
|
|
enter login name 3 chars (say abc) and password and click Submit button
|
Login success full or an error message “Invalid Login or Password” must be displayed
|
|
design
|
|
high
|
|
Login02
|
Validate Login
|
To verify that Login name on login page should not be greater than 10 characters
|
enter login name greater than 10 chars (say abcdefghijk) and password and click Submit button
|
an error message “Login not greater than 10 characters” must be displayed
|
|
design
|
|
high
|
|
enter login name less than 10 chars (say abcdef) and password and click Submit button
|
Login success full or an error message “Invalid Login or Password” must be displayed
|
|
design
|
|
high
|
|
Login03
|
Validate Login
|
To verify that Login name on login page does not take special characters
|
enter login name starting with specail chars (!hello) password and click Submit button
|
an error message “Special chars not allowed in login” must be displayed
|
|
design
|
|
high
|
|
enter login name ending with specail chars (hello$) password and click Submit button
|
an error message “Special chars not allowed in login” must be displayed
|
|
design
|
|
high
|
|
enter login name with specail chars in middle(he&^llo) password and click Submit button
|
an error message “Special chars not allowed in login” must be displayed
|
|
design
|
|
high
|
|
Pwd01
|
Validate Password
|
To verify that Password on login page must be greater than 6 characters
|
enter Password less than 6 chars (say a) and Login Name and click Submit button
|
an error message “Password not less than 6 characters” must be displayed
|
|
design
|
|
high
|
|
enter Password 6 chars (say abcdef) and Login Name and click Submit button
|
Login success full or an error message “Invalid Login or Password” must be displayed
|
|
design
|
|
high
|
|
Pwd02
|
Validate Password
|
To verify that Password on login page must be less than 10 characters
|
enter Password greater than 10 chars (say a) and Login Name and click Submit button
|
an error message “Password not greater than 10 characters” must be displayed
|
|
design
|
|
high
|
|
enter Password less than 10 chars (say abcdefghi) and Login Name and click Submit button
|
Login success full or an error message “Invalid Login or Password” must be displayed
|
|
design
|
|
high
|
|
Pwd03
|
Validate Password
|
To verify that Password on login page must be allow special characters
|
enter Password with special characters(say !@hi&*P) Login Name and click Submit button
|
Login success full or an error message “Invalid Login or Password” must be displayed
|
|
design
|
|
high
|
|
Llnk01
|
Verify Hyperlinks
|
To Verify the Hyper Links available at left side on login page working or not
|
Click Home Link
|
Home Page must be displayed
|
|
design
|
|
low
|
|
Click Sign Up Link
|
Sign Up page must be displayed
|
|
design
|
|
low
|
|
|
|
Click New Users Link
|
New Users Registration Form must be displayed
|
|
design
|
|
low
|
|
|
Click Advertise Link
|
Page with Information and Tariff Plan for Advertisers must be displayed
|
|
design
|
|
low
|
|
Click Contact Us Link
|
Contact Information page must be displayed
|
|
design
|
|
low
|
|
Click Terms Link
|
Terms Of the service page must be displayed
|
|
design
|
|
low
|
|
Flnk01
|
Verify Hyper links
|
To Verify the Hyper Links displayed at Footer on login page working or not
|
Click Home Link
|
Home Page must be displayed
|
|
design
|
|
low
|
|
Click Sign Up Link
|
Contact Information page must be displayed
|
|
design
|
|
low
|
|
Click Contact Us Link
|
Page with Information and Tariff Plan for Advertisers must be displayed
|
|
design
|
|
low
|
|
Click Advertise Link
|
Terms Of the service page must be displayed
|
|
design
|
|
low
|
|
Click Terms Of Membership Link
|
Privacy Policy page must be displayed
|
|
design
|
|
low
|
|
Click Privacy Policy Link
|
Privacy Policy page must be displayed
|
|
design
|
|
low
|
|
Lblnk01
|
Verify Hyper links
|
To Verify the Hyper Links displayed at Login Box on login page working or not
|
Click NEW USERS Link located in login box
|
New Users Registration Form must be displayed
|
|
design
|
|
low
|
|
Click New Users(Blue Color) Link located in login box
|
New Users Registration Form must be displayed
|
|
design
|
|
low
|
|
Click Forget Password Link located in login box
|
Password Retrieval Page must be displayed
|
|
design
|
|
medium
|
|