Test cases for Traffic Signals
Answers were Sorted based on User's Feedback
Answer / asish kumar
First of all
To test for the presence of 3 lights in a column wise or
Row wise manner.
secondly to test for the presence of first light should be
Red,second should be Brown and third light should be Green.
Third to test for the functionality of all three lights.
i.e it should glow in a sequential order first Red then
Brown and lastly Green.
To test all the three lights should not glow at a time.
| Is This Answer Correct ? | 10 Yes | 4 No |
First check for color
First RED
Second Yellow
Third Green
Suppose if there is any time Duration check is signal
lights are getting changed automatically
Ensure that only one light is on at a time
Suppose if Pedestrain Crossing is there means Ensure
that the lights are ON/OFF Properly based on the signal
Vinodh Anandhan
Software Tester
Exceed Technologies (P) Ltd.,
9944114400
Chennai
vinodh.anandhan@exceedintl.com
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / suraj ramanujadasa
Hi,
Step1:- Verify whether three windows are available or not
Step2:- Verify the sequence of windows as mentioned below
a)Red.
b)Yellow.
c)Green.
Step3:- Verify that all colour should not be on at a time.
Step4:- Verify that first "Red" should be on, then "Yellow"
and then "Green".(Based on the duration set).
Step4:- Verify when the signal is Red then the Green signal
for pedestrians should be 'GREEN '.
Step5:- Verify when the signal is Green then the Green
signal for pedestrians should be 'RED'.
These are the basic and very very useful test cases and we
can design more and more based on the requirement document.
Suraj Ramanujadasa
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / preethi
First of all we should check for three colours and three
direction signals
The three colours should me red,orange,green
secondly if the signal is red the traffic should stop
thirdly if the signal is green the traffic should move and
it should the directions that the persons who are going to
right should move right if the right arrow single is green
if the right direction light is off they should stop and
the other direction people should move.In the same manner
we should right for other directions also.
| Is This Answer Correct ? | 4 Yes | 4 No |
In QTP what is the difference between Step-in, Step-out, Step-over ?
How to make arguments optional in a function?
Explain the concept of object repository & how QTP recognises objects?
What is the virtual object?
keyword driven framework having how many folders? explain folders in detail?
difference between GetRoProperry and GetToProperty.and where we've to use exactly those properties
how can we retrieve ten rows from the data table using loop concept?
what is test scheduleling?
how to convert 100 into hundred repees only and viceversa
How to export quicktest professional (qtp) results to an .xls file?
desribe a situation where u faced a stressful situation and how did u cope with it
what is the difference between invoke application and system.util.run