Test cases for Traffic Signal: In this post, we have tried to cover maximum test scenarios for the traffic signal. We included positive and negative test cases for traffic signal.
Positive Test Cases – Traffic Signal
Sr.No | Testcase_ID | Test Cases |
1 | Testcase_01 | Verify that traffic signal should be have three lights Red, Yellow, and Green |
2 | Testcase_02 | Verify that traffic signal lights should be turned on as per the traffic rule |
3 | Testcase_03 | Verify the time of the Red light traffic signal |
4 | Testcase_04 | Verify the time of the Yellow light traffic signal |
5 | Testcase_05 | Verify the time of the Green Light traffic signal |
6 | Testcase_06 | Verify that the traffic signal lights should be properly visible to the human or not |
7 | Testcase_07 | Verify that power connection to the traffic signal |
8 | Testcase_08 | Verify that if the RED light is On then the rest of the two lights should be OFF |
9 | Testcase_09 | Verify that if the GREEN light is On then the rest of the two lights should be OFF |
10 | Testcase_10 | Verify that if the YELLOW light is On then the rest of the two lights should be OFF |
11 | Testcase_11 | Verify that traffic signal location as per requirement or not |
Negative Test Cases – Traffic Signal
Sr.No | Testcase_ID | Test Cases |
1 | Negative_01 | Check the traffic signal conditions in the heavy rain |
2 | Negative_02 | Check that any lights are deemed or not |
3 | Negative_03 | Check that if any chance to short circuit if rain water drops on traffic signal |
4 | Negative_04 | Check that if traffic signal is dust free or not |
Conclusion:
So in this way, we covered test cases on traffic signal. If you are looking for more examples then please visit the link below.