Test Cases |
Value |
Expected Result |
Pass/Fail |
User Name |
user |
Username Should Have 1 Alphabet Capital. |
Fail |
User Name |
User / Null |
Username Should be at least 5 character long. |
Fail |
User Name |
Users |
Username Should have 1 special character. |
Fail |
User Name |
User@ |
Username Should have 1 Number. |
Fail |
User Name |
Test@123 |
- |
Pass |
Password |
|
Password Should be 8 character long. |
Fail |
Password |
Test |
Password Should Have 1 Special Character. |
Fail |
Password |
Test@ |
Password Should Have 1 Number. |
Fail |
Password |
Test@123 |
- |
Pass |
Email Id |
Test |
Enter A Valid Email Id |
Fail |
Email Id |
Test.gmail.com |
Enter A Valid Email Id |
Fail |
Email Id |
- |
Pass |
|
Train Number |
Null |
Train Number Should Not Be Blank. |
Fail |
Train Number |
Abcde |
Train Number Should Be In Digits Not Alphabets. |
Fail |
Train Number |
Abc@123 |
Not Allowed. |
Fail |
Train Number |
123456 |
Train Number Should Of 5 Digits. |
Fail
|
Train Number |
12345 |
- |
Pass
|
Loco Number |
Null |
Loco Number Should Not Be Blank. |
Fail |
Loco Number |
fghij |
Loco Number Should Be In Digits Not Alphabets. |
Fail |
Loco Number |
fgh@456 |
Not Allowed. |
Fail |
Loco Number |
678900 |
Loco Number Should Of 5 Digits. |
Fail
|
Loco Number |
67890 |
- |
Pass
|
Train Name |
Null |
Train Name Cannot Be Blank. |
Fail |
Train Name |
1234… |
Train Name Incorrect. |
Fail |
Train Name |
Udyan Express |
- |
Pass |
Train Name |
Pune – Bhusawal Passenger |
- |
Pass
|
Train Name |
Kalyan-Thane Local |
- |
Pass |
Location |
Null |
Location Cannot Be Empty. |
Fail |
Location |
86388237 |
Location Incorrect. |
Fail |
Location |
Kalyan |
- |
Pass |
Location |
Kachoregaon |
- |
Pass |
Spotting Date |
Null |
Spotting Date Cannot Be Empty. |
Fail |
Spotting Date |
2018-10-22 |
Incorrect Date Format. |
Fail |
Spotting Date |
2018/10/22 |
- |
Pass |
|
|