Test cases for Traffic Signals

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to change the priorities of the recovery scenario properties?

595


What phases are involved in testing an application in qtp?

560


what are the utilities and drivers

1847


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

1571


How to use checkpoints in qtp ?

588






How can i initiate the objects to find uniquely in OR

1474


What is qtpro?

597


write script for bitmap image?

1544


How is the Bitmap checkpoint different from Image checkpoint?

627


Can the user toggle between using Local OR and shared OR for the same action?

564


When ‘option explicit’ keyword is used in qtp?

750


Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

1374


Describe the differences between functions and actions in UFT?

612


There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

1626


Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

1308