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 |
How to map Test cases to the script? Please do anwser urgently?Thanks
How to create a run time propertyfor an object?
Tell me about qtp?
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.
What is Unicode Compatibility?
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
Please can you give where can we get good QTP Training at Hi-Tech city Hyderabad?
How do you perform Regreession Testing?
How i can change shared repository to per test repository in qtp
we r conduction testing on a project USING QTP, regarding that project the object repository is full ? Till that project having objects that r not recognised by repository, then what wil you do? How we wil recogine remailning objects? Is it possible to maintain another shared(or)peraction repository? what is the maximum capcity of object repository? How the technical people decide this much object repository is enoughf for this project?
after click on compose mail how can we attached a file in qtp with vbscript code
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..