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 Object Repository, two actions r there. Action1 name is A.tsr, Action2 name is B.tsr. Is it Possible? if Yes, what is the out put of A+B? if No, why?
How do u retrieve data from a text file into different variables. i.e. in a text file named "source" , the data is like : india,1000,japan,200,china,50,singapore,45050 this is given in the first line of the text file. in the second line of the text file the dta is: sun,moon,planet,river,earth,water if u use "readline" method by using FSO concept u can retrieve the entire line in to a variable. but i want to import each field (ex: "india" in one variable, "1000" in another variable etc..). Apprecitae proper replies.
Scripts for Ascending order in qtp.
What is the difference between analog and low level recording?
When I used random numbers(1 to 9) with regular expression and run the test, it runs only 5 iterations with passed result instead of running all 1 to 9. Please tell me what can be the reason
what are the limitations of automation testing?
There is an excel file of 1 to 100 sheets how you will iterate through it?
What is the difference between two actions?
The hybrid framework can be implemented for any application. Is it true?
Should have experience in framework means?
How to analyzing Test Results using QTP?
How Does Run time data (Parameterization) is handled in QTP?