How to write a test case for traffic signal?
Answers were Sorted based on User's Feedback
Answer / vishnuvardhanreddy
Check whether all 3 colour light boxes are there
when red light on rest of 2(green,orange)lights shouid be
off
when green light on rest of 2 lights should be off position
when orange light on rest of 2 lights should be off position
check all lights are automatically working or not
check when green light off red light automatically should
be on
check when red light is off orange light automatically
should be on
| Is This Answer Correct ? | 21 Yes | 0 No |
Answer / soumya ranjan sahoo
Test Case for traffic signal:
1.All the lights should be working properly.
2..At any particular instant of time ,
yellow or green light should be on for a particular
direction and all other directions should have red light .
|
|
|
--------|---------
|
| ( considering this simple situation)
|
3.Yellow light should be operative for 2-5 seconds
in between red and green light.
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / purnima
First step to verify is the pole with three lights in all
4 directions.
Second step to be verified is wheather the li8ts are in
working condition based on the color required.
Third step to verify the order lights are placed on the pole
fourth step to verify the time difference between each
signal on all sides to be consistent.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / karthikeyan.s
first v should find all light r in same brightness.
the order should be changeable. when some urgent time
the green time duration is long compare to another two
lights
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / n@n!
hi Vishnuvardhanreddy,
wat ever the presenation done by u is good but i think a
small corruption in test cases.
i think insted of "rest" use "on".
y bez rest,off both r same.
plz check it out.
| Is This Answer Correct ? | 2 Yes | 5 No |
What are the diffrent testable item in web testing,database testing?
What should be tested when Unit Testing is conducted?
Suppose a defect is fixed by developer and that defect got closed. But because of fixing that defect we are getting another defect. If 2nd defect is fixed the 1st defect is reproduced again. If that process is continuing what should the tester do to nail that defect?
you will be given a program and asked to write the Test Data and expected output for the same. for eg: there is a program which returns the sum of largest two numbers in an integer array.
What is reverse engineering?
What is the difference between GUI testing and black box testing
Why we use Excell sheet not the Microsoft Word to write test cases and all? Why ?
What is test management?
What can be the possible Test Cases for an Admin Control Panel in a Web Application
Is integration testing is a validation testing ?
How many TC you have written?How many TC you can write in a day?How many TC can you execute in a day?
1.exactly when we do regression testing? 2.why we do regression testing?