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 |
What is quicktest professional (qtp window?
Why you are Using Descriptive programming instead of Object Repository?
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma
How i can test the background color of the records displayed in a Table. Eg i have a .net desktop application and there is a Table(swftable) with records displayed in the grids. i have to validate whether the 1st record is displayed in white background color and 2nd record in light blue background color...But the constraints is that once user click on the first record...the background color changes to grey.......Plze let me now how to validate this with QTP 9.2.
when we right click on the desktop of any operating system we find a menu , consisting of refresh,edit,open,paste and cut etc... how to load the object and object properties of that menu in QTP
can u write one user defined function for webedit class.
Hi all. Could anyone tell me the difference between an Action and a Function in QTP. Thanks in advance and Merry Christmas.
is qtp 9.2 supported for firefox browser3.0?bcoz when i tried to create scripts with the application run on firefox browser 3.0 then qtp 9.2 didn't ct=reate the scripts?
How many test scripts are prapare in ur project(HeathCare Insurance).
In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
Plz write the code, function will take the parameter as month number, i.e., numerical value, but it returns the last day of the month in string (weekday). example: input: function parameter: 3(march) output: thursday