Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Test Cases for Lift

This is a discussion on Test Cases for Lift within the Testing Issues forums, part of the Software Testing category; Hi Friends, Write possible test cases for lift. Thanks & Regards, Kavitha Babu...

Go Back   Geeks Talk > Software Testing > Testing Issues
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 10-22-2008
Junior Member
 
Join Date: May 2008
Location: hydearbad
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
medasanikavitha is on a distinguished road
Test Cases for Lift

Hi Friends,


Write possible test cases for lift.



Thanks & Regards,
Kavitha Babu
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-22-2008
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,465
Thanks: 15
Thanked 150 Times in 141 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: Test Cases for Lift

hi kavitha,

I have assumed that i (I am the only person standing in the ground floor for lift) am standing in the ground floor and my destination is 5 th floor, the lift is waiting in the ground floor itself.

1. open the lift door
2. stand inside the lift
3. close the liftdoor properly
4. press the number "5" so that i can reach my destination
5. lift reaches the destination i mean fifth floor
6. Wait for the signal so that u can open the lift door
7. open the lift door
8. come outside
9. close the lift door properly
10.The lifts waits in the fifth floor unless and until it requires further signal


Please note: I have written some possible test steps and this not even 10%, like this you analyse all possible scenario and then let me know,if any issues exists. Please include some negative test steps too. As i have not included here

Thanks
Deepasree
Reply With Quote
  #3 (permalink)  
Old 10-31-2008
Junior Member
 
Join Date: Jan 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
maarthala is on a distinguished road
Re: Test Cases for Lift

Hi Guys,
The most irritating question in the interviews is asking to write test cases on few stupid things like life, piece of chock, tv , pen etc.. who know after sometime they will ask you to write on cow, tiger , pig etc...

Okey, my best suggestion is when ever any interview ask you that type question, immediately ask him back to provide requirement. if he ask to write something you know, u ask him we never worked writing testcases without requrement, in fact, assumtion is first thing we should not consider in testing... thats enough he never ask anyone this kind of questions...


if they dont have anything to ask, they will ask this...

i am not frasted guy who failed in testing interview,.but i am having very solid exp of 7 years with all big MNC companies.. trust me...
Reply With Quote
  #4 (permalink)  
Old 07-16-2009
Junior Member
 
Join Date: Jul 2009
Location: chennai
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
saravanan123 is on a distinguished road
Re: Test Cases for Lift

hi yesterday i went to one interview in that they askeds me to writ the test case for lift

1. Check when you press from the outside of the lift it should be opened when
it is in ground floor

2. Verify it should give a beep when it reaches opens you

3. Check it should display in the outer box that from which floor it comes to
reach us

4. Check when you step in to the lift after 10 seconds when it knows nothing in
the door it to be closed automatically

5. Check when you give or press the number to which upto the floor it be
activated

6. Check when you press different no`s it should be highlighted

7. Check upto the capacity of the lift only the load is given

8. Verify when you are going upwards on the first floor it any one pressed the
lift it should stop there

9. Verify on reaching the correct floor it should be automatically stopped and
open

10. Verify when the lift is empty when any one touches it should reach very fastly

any one correct me if i am wrong
Reply With Quote
  #5 (permalink)  
Old 07-16-2009
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,465
Thanks: 15
Thanked 150 Times in 141 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: Test Cases for Lift

hai friend,

Whenever an interviewer asked to write test cases you should ask for test scenario. Did you do that???

One more thing you have only listed positive test case not even a single negative test case.

Thanks
Deepa
Reply With Quote
  #6 (permalink)  
Old 07-16-2009
Junior Member
 
Join Date: Jul 2009
Location: chennai
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
saravanan123 is on a distinguished road
Re: Test Cases for Lift

hi

no i have not asked for any test scenario because it is interview

whenever they asked me to write the test case at that time if i put the question to them means then it will make a blackmark on me

Hence i make the test cases

can you help me to give the test scenario and negative test case?

regards
saravanan
Reply With Quote
  #7 (permalink)  
Old 07-17-2009
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,465
Thanks: 15
Thanked 150 Times in 141 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: Test Cases for Lift

Hai saavannan123,

Test Scenario:

A document specifying a sequence of actions for the execution of a test.

I hope it helps you.

Thanks
Deepa
Reply With Quote
  #8 (permalink)  
Old 07-17-2009
Junior Member
 
Join Date: Jul 2009
Location: chennai
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
saravanan123 is on a distinguished road
Re: Test Cases for Lift

hi deepa

normally we are deriving testscenario from SRS document.

with the help of test scenario we are preparing test case

whether I am right because we are following in this format only

can i have any negative test case for lift?

thanks and regards

saravanan
Reply With Quote
  #9 (permalink)  
Old 07-17-2009
Junior Member
 
Join Date: Apr 2009
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
payalchavi is on a distinguished road
Re: Test Cases for Lift

Hi
Need tutorial for testing tool
Reply With Quote
  #10 (permalink)  
Old 07-17-2009
Junior Member
 
Join Date: Apr 2009
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
payalchavi is on a distinguished road
Re: Test Cases for Lift

HOW TO SETUP oracle form and report 6i
Reply With Quote
The Following User Says Thank You to payalchavi For This Useful Post:
  #11 (permalink)  
Old 08-14-2009
Junior Member
 
Join Date: Apr 2009
Location: France,
Posts: 9
Thanks: 0
Thanked 3 Times in 2 Posts
colliewarrior is on a distinguished road
Re: Test Cases for Lift

deepasree I have a question, in your test for the Lift your first action is to open the door. Can you tell me where the handle is please? because I can't open the door without pressing the button, but you don't have that in your test case!
Reply With Quote
The Following User Says Thank You to colliewarrior For This Useful Post:
  #12 (permalink)  
Old 08-17-2009
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,465
Thanks: 15
Thanked 150 Times in 141 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: Test Cases for Lift

Quote:
Originally Posted by colliewarrior View Post
deepasree I have a question, in your test for the Lift your first action is to open the door. Can you tell me where the handle is please? because I can't open the door without pressing the button, but you don't have that in your test case!
Dear friend,

Here I have assumed the Lift is already in the ground floor. That's why I have started from open the door.

I have already mentioned in my answer.

Thanks
Deepa
Reply With Quote
  #13 (permalink)  
Old 08-17-2009
Junior Member
 
Join Date: Apr 2009
Location: France,
Posts: 9
Thanks: 0
Thanked 3 Times in 2 Posts
colliewarrior is on a distinguished road
Re: Test Cases for Lift

Well friends my argument about test cases is as follows. Some of you in your examples have used the words 'check' or 'verify' and Deepasree has used a direct instruction, 'open the door'. I agree you have outlined your assumptions, but lets play a game.
Give your testcase to someone who has never seen a lift. For example, in America the lift is known as the elevator, just reading the test case would this be clear?
So lets imagine there is an old lady, or even an E.T. ( play the game), if they read your list will they actually be able to perform what you want.
The lift where I work has the door closed when it is waiting on the floor. I have to press the button to open the door. Now How do I check or verify?
If for example you wrote, verify the field for the floor is numeric, as opposed to check the field for floor is a number, then you have two different steps. One means to use your eyes, the other to interact with the field and enter some data into it.
I know this can't be done for an elevator per say, but I hope I convey what I mean when I say every action should be clear and specific.
I would also say if there is no requirements, no technical specifications, then a proper test case for a lift is impossible. :-)
I am interested in your feedback. Am I too pedantic in my test case? Can we assume in test cases or not?
Reply With Quote
  #14 (permalink)  
Old 08-17-2009
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,465
Thanks: 15
Thanked 150 Times in 141 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: Test Cases for Lift

hai friend,

Quote:
Originally Posted by colliewarrior View Post
Well friends my argument about test cases is as follows. Some of you in your examples have used the words 'check' or 'verify' and Deepasree has used a direct instruction, 'open the door'. I agree you have outlined your assumptions, but lets play a game.
Give your testcase to someone who has never seen a lift. For example, in America the lift is known as the elevator, just reading the test case would this be clear?
Well first thing we are not going to test a functionality which is cannot be analysed. Once you get the spec(SRS) from the client or from the team you should know what you are going to test atleast basic idea about the functionality. If you don't know the functionality then what you are going to test then how come you will validate the testing has met requirements?.

Quote:
Originally Posted by colliewarrior View Post
So lets imagine there is an old lady, or even an E.T. ( play the game), if they read your list will they actually be able to perform what you want.
The test cases is not for a person who doesn't know the functionality. The test cases what I have written for those who knows the functionality?? And too if the old lady doesn't know the functionality of the lift she can be guided with the sequence of steps should be followed by some one in the lift security or some one else. There is no need of test cases for that old lady.

Quote:
Originally Posted by colliewarrior View Post
I know this can't be done for an elevator per say, but I hope I convey what I mean when I say every action should be clear and specific.
Yes each step should be clear I too agree with you. I don't know why you are worried about test cases here when the developer has completed the module, he will write the functionality of the document with clear explanation???

Thanks
Deepa

Last edited by deepasree; 08-17-2009 at 06:17 AM.
Reply With Quote
  #15 (permalink)  
Old 08-17-2009
Junior Member
 
Join Date: Apr 2009
Location: France,
Posts: 9
Thanks: 0
Thanked 3 Times in 2 Posts
colliewarrior is on a distinguished road
Smile Re: Test Cases for Lift

"Yes each step should be clear I too agree with you. I don't know why you are worried about test cases here when the developer has completed the module, he will write the functionality of the document with clear explanation???"

No not in my world. In my world the SRS is read, the test cases are written using the UC therein. The test cases are then reveiwed and rewritten, and then a test case list is drawn up.

I would argue if you are writing test cases only for those who know the functionality, then why bother?

A test case should be able to cover for every eventuality that is why many testers have bad reputations from developers. They test what they know.
Could you not imagine the end user is someone who will use the elevator all day, and not give a second thought as to the functionality of it till it breaks. So what is to stop a user pressing all the buttons.
We can test for an ideal world if want to, but in doing so the product will come back because the USER finds bugs the tester and developer haven't thought about.
I am not worried by the way, just enjoying a good debate about test cases.
Reply With Quote
  #16 (permalink)  
Old 08-17-2009
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,465
Thanks: 15
Thanked 150 Times in 141 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: Test Cases for Lift

hai friend,

Quote:
Originally Posted by colliewarrior View Post
No not in my world. In my world the SRS is read, the test cases are written using the UC therein. The test cases are then reveiwed and rewritten, and then a test case list is drawn up.
Yes I too agree with your statement but this is an example not final test release.

Quote:
Originally Posted by colliewarrior View Post
I would argue if you are writing test cases only for those who know the functionality, then why bother?
Yes this is is a sample

Quote:
Originally Posted by colliewarrior View Post
Could you not imagine the end user is someone who will use the elevator all day, and not give a second thought as to the functionality of it till it breaks. So what is to stop a user pressing all the buttons.
Test cases will be seen or shown only to the client not every user of the system. So there is no use of speaking about test cases here.

Quote:
Originally Posted by colliewarrior View Post
We can test for an ideal world if want to, but in doing so the product will come back because the USER finds bugs the tester and developer haven't thought about.
The product will not come back because this is not the final release.

Thanks
Deepa
Reply With Quote
  #17 (permalink)  
Old 10-06-2009
Junior Member
 
Join Date: Oct 2009
Location: chennai
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
sudarsanvrs is on a distinguished road
Red face Re: Test Cases for Lift

Quote:
Originally Posted by saravanan123 View Post
hi yesterday i went to one interview in that they askeds me to writ the test case for lift

1. Check when you press from the outside of the lift it should be opened when
it is in ground floor

2. Verify it should give a beep when it reaches opens you

3. Check it should display in the outer box that from which floor it comes to
reach us

4. Check when you step in to the lift after 10 seconds when it knows nothing in
the door it to be closed automatically

5. Check when you give or press the number to which upto the floor it be
activated

6. Check when you press different no`s it should be highlighted

7. Check upto the capacity of the lift only the load is given

8. Verify when you are going upwards on the first floor it any one pressed the
lift it should stop there

9. Verify on reaching the correct floor it should be automatically stopped and
open

10. Verify when the lift is empty when any one touches it should reach very fastly

any one correct me if i am wrong
This guy need some serious English grammar class
Reply With Quote
  #18 (permalink)  
Old 10-07-2009
Moderator
 
Join Date: Sep 2006
Location: Delhi (India)
Posts: 910
Thanks: 12
Thanked 108 Times in 76 Posts
jainbrijesh will become famous soon enoughjainbrijesh will become famous soon enough
Re: Test Cases for Lift

Nice discussion and keep it up.

Deepa, we can't ask for scenario to interviewer because it's the tester who have to write scenarios himself.

As per test cases for lift, I can write above 100 test cases and definately no one take panic to type all here.

So colliewarrior, forget for handle, look for button.

any query, comment.

Brijesh.
__________________
--
Brijesh Jain
Reply With Quote
  #19 (permalink)  
Old 10-10-2009
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,465
Thanks: 15
Thanked 150 Times in 141 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: Test Cases for Lift

Quote:
Originally Posted by jainbrijesh View Post
Nice discussion and keep it up.

Deepa, we can't ask for scenario to interviewer because it's the tester who have to write scenarios himself.

Brijesh.
Hai Jain,

Its nice to see you here after a long time .

We can ask, one of friend went to the interview this was the same question what she faced. Without hesitating she asked the interviewer to produce the test scenario based on that I can frame test cases. If not I am not going to write test cases she said to the interviewer assumption is not the first thing which should be considered in testing. Finally they provided few scenarios and then she prepared test cases.

Thanks
Deepa
__________________
Arise Awake And Stop Not Till The Goal Is Reached
Reply With Quote
  #20 (permalink)  
Old 10-12-2009
Moderator
 
Join Date: Sep 2006
Location: Delhi (India)
Posts: 910
Thanks: 12
Thanked 108 Times in 76 Posts
jainbrijesh will become famous soon enoughjainbrijesh will become famous soon enough
Re: Test Cases for Lift

Hi

How you all can write test cases without requirements. Lifts are always requirement dependents. Please follow this URL for better answer to this question. I think it will help you all.

http://softwaretestingexpertise.blog...-for-lift.html
__________________
--
Brijesh Jain

Last edited by jainbrijesh; 10-12-2009 at 09:19 AM.
Reply With Quote
Reply

  Geeks Talk > Software Testing > Testing Issues

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
difference between test cases,test scenario,and test suite? forana Test Cases 64 09-16-2009 07:05 AM
How many test cases you will test if u have 1000 test cases need to be executed in on SuvarnaA Testing Issues 8 11-28-2008 12:21 PM
Difference between test cases and use cases bhushanbhangale Test Cases 8 08-13-2008 03:46 AM
Is there any diff. between Designing Test Cases and Test Cases Preparation. vijenjoy2k2 Testing Issues 3 06-01-2007 06:37 AM
hydraullic scissor lift design george2paul Mechanical Engineering 1 05-10-2007 10:05 AM


All times are GMT -4. The time now is 03:37 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved