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 |
After geting the modules where we generate the script ie in qtp or notpad ?
1)What is the Difference Between WaitTo & Sync?
how to retrieve data from the data table (from a particular cell)
I have a login page like username, password and login. I have to pass the 50 user names and 50 passwords but how can i test this page with out using parameters?
What type of problems one will face with QTP , if too many browsers are opened at a time?
What information do the columns in the Keyword View show for each step?
What is the file extension of the code file & object repository file in QTP?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.
How to swap two numbers by using parameter passing method byref in a fucntion and return the result to outside of the function?
How can we conduct U-I Testing by using QTP??????
If QTP not recognizing using repository while executing, how can we go forward