Example Test cases for Login Application


Test case ID
BRS ID
Description
Test Data
Expected Result
Actual Result
Result
1
1.1
verifying the login application with valid user name and password
User name:abcd            Password:abc@1234
User name and password  values should be accept application
User name and password values are accepted

2
1.1
verifying the  "OK" button functionality
Click "OK" button
Login page should be redirect to the home page.
Login page is redirect to the home page

3
1.1
Verifying "Cancle" button functionality
Click "Cancle" button
Login dialog box should be closed with out redirecting home page
Login dialog box is closed with out redirecting the home page

4
1.1
Verifying the Applications "Close" Functionality
Click the "Close" functionality on Application
The login application should be close
The login application is closed

5
1.1
Verifying the Applications "Minimize" Functionality
Click the "Minimize" functionality on Application
The login application should be minimized
the login application is minimized

6
1.1
Verifyign the username filed length exactly with 6 characters
username:12345y
User name field should be accept the value
User name field accepted the value

7
1.1
Verifyign the username filed length between 7 to 11  characters
user name:14253yuiqs
User name field should be accept the value
User name field accepted the value

8
1.1
Verifyign the username filed length exactly with 12 characters
username:12345y54hber
User name field should be accept the value
User name field accepted the value

9
1.1
Verifyign the Password filed values with out entering _,; values
Password:41fgl@#
Password field should be accept the value
Password  field accepted the value


Over View Of Manual Testing

    Manual testing is the process of manually testing Software Application for finding defects. Here Manual Test Engineers will play the role of an end user, and use most of all features of the application to ensure correct behaviour. To ensure completeness of testing, the tester often follows a written test plan that leads them through a set of important test cases.
This type includes the testing of the Software manually i.e. without using any automated tool or any script. In this type the tester takes over the role of an end user and test the Software to identify any un-expected behaviour or bug. There are different stages for manual testing like unit testing, Integration testing, System testing and User Acceptance testing.
Testers use test plan, test cases or test scenarios to test the Software to ensure the completeness of testing. Manual testing also includes exploratory testing as testers explore the software to identify errors in it.
After completing some part of the code   the testing is started the designed test cases or test scenarios will be executed & any differences between actual & expected results are reported as defects. Once the reported defects are fixed, the testers will retest the defect to make sure that the defects are fixed. The main goal of Software testing is to make software defect free & deliver good quality Product to customer.



Operators in VB Script

1) Arithmetic operators:

Operator
Description
Example

+
Addition - Add values on either side of the operator.         

              If  a=10 and B=20 then
a + b will give 30


_
Subtraction - Subtracts right hand operand from    left hand operand

              If  a=10 and B=20 then

a - b will give -10


*
Multiplication - Multiplies values on either side of Operator           

              If  a=10 and B=20 then
a * b will give 200


/
Division - Divides left hand operand by right hand  operand

              If  a=10 and B=20 then

b/a=2


%
Modulus - Divides left hand operand by right hand  operand and returns remainder
b % a will give 0




2) Comparison Operators:

=
Checks if the values of two operands are equal or not, if yes then condition becomes true. If  a=10 and B=20 then
(A=B) is not true


!=
Checks if the values of two operands are equal or
not, if values are not equal then condition becomes
true.
(A! =B) is true.


<> 
Checks if the values of two operands are equal or
not, if values are not equal then condition becomes
true.
(A<>B) is true


> 
Checks if the value of left operand is greater than
the value of right operand, if yes then condition
becomes true.
(A > B) is not true.


< 
Checks if the value of left operand is less than the
value of right operand, if yes then condition
becomes true.
(A < B) is true.


>=
Checks if the value of left operand is greater than
or equal to the value of right operand, if yes then
condition becomes true.
(A >= B) is not true.


<=
 Checks if the value of left operand is less than or equal to the value of right operand, if yes then condition becomes true.
(A <= B) is true.


!<
Checks if the value of left operand is not less than
the value of right operand, if yes then condition
becomes true.
(A! < B) is false.


!>
Checks if the value of left operand is not greater
than the value of right operand, if yes then
condition becomes true.
(A! > B) is true.