Search This Blog

Tuesday 19 April 2016

Test Cases Asked in Interviews

Elevator Test cases

What are the different scenarios that should be considered while writing test cases for an elevator(Lift).
Some of the use cases would be:
1) Elevator is capable of moving up and down.
2) It is stopping at each floor.
3) It moves exactly to that floor when corresponding floor no is pressed.
4) It moves up when called from upward and down when called from downward.
5) It waits until ‘close’ button is pressed.
6) If anyon steps inbetween the door at the time of closing, door should open.
7) No break points exists
8) More usecases for the load that the elevator can carry (if required)
When two people are accesing lift from two different floors, the lift should go to the nearest floor in its way (for e.g if the lift is in 5th floor, moving towards 8th floor and if two persons one from 7th floor and one from 2nd floor presses button, then lift should go 7th floor first and then only to 2nd floor)
-In the above said scenario a descent algorithm would be present on where the elevator should go taking the following parameters
a. where the lift stands (nearest floor)
b.which direction the lift goes (upwards or downwards)
c.which direction the user wants to go (upwards and downwards)
So the permutations of b and c will give you more test cases.
Test Cases 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
Here are a few elevator tests. This is not an exhaustive list.
FUNCTIONALITY TESTS
Outside Elevator1) You can call elevator from every floor
2) Elevator alerts arrival with an audible sound
3) When elevator arrives it is clear which direction the elevator is going
4) The direction indicators extinquish when its last occupants are delivered to a floor.
5) The elevator doors open within a reasonable amount of time after arrival
6) The elevator doors remain open within a reasonable amount of time
7) Elevator doors reopen when blocked during closure
Inside Elevator
1) Pressing all buttons from bottom floor causes elevator to stop at each ascending floor in succession.
2) Pressing all buttons from top floor causes elevator to stop at each descending floor in succession.
3) Pressing only top floor button from bottom floor causes elevator to deliver you to the top floor without stopping.
4) Pressing only bottom floor button from top floor causes elevator to deliver you to the bottom floor without stopping.
5) Elevator stops at next floor in succession no matter when it was pressed.
5) Elevator travels in the same direction until all illuminated buttons have extinguished in that direction.
6) Elevator changes direction when there are no more illuminated buttons in that direction.
7) Elevator remains at the last delivered floor until called upon.
8) Pressed buttons are clearly illuminated until floors are reached.
9) When destination floors are reached their illuminated buttons turn off.
10) Floor numbers are accurate and clearly visible upon reaching their corresponding floors.
PERFORMANCE TESTS
1) The amount of time (speed) elevator travels between floors meets specification.
2) The amount of time elevator waits between opening and closing doors meets specification.
SECURITY TESTS

1) STOP button causes elevator to stop.
2) Pressing ALARM button reaches security within specified amount of time.
3) Verify elevator’s maximum weight capacity meets or exceeds specification.
4) Verify integrity of pulley system
5) Verify integriy of the braking system
saw test cases for both elevator and lift as two different questions. Infact both mean the same, a mechanical device that transports people/things between building floors. In American English, this device is called “elevator” while in British English it is called “lift.”
Few more test cases for elevator (AKA lift):
Security:
– Emergency button to open elevator doors from outside when the elevator is moving or stopped.
– Some elevators have high security and operate only when authorized with card/key. Test if elevator can move upwards without the card authorization. Also, test if elevator moves upwards/downwards with card authorization.
– Some elevators may or may not require security authorization to reach just the ground floor, but not parking floors or the in-between floors. Test this scenario as well.
Inside Elevator:
– Elevator must not open doors while moving when “open doors” button is pushed.
– Nothing should happen when “close doors” button is pushed while elevator is moving
– Test elevator capacity requirement. Say elevator capacity is 2000KG. Test conditions – 1999, 2000 & 2001.
Load test:
– At which load does the elevator break? Test this between floors.
– At which load does elevator refuses to move?
The question is “What are the different scenarios that should be considered while writing test cases for an elevator (Lift)”. While people have put some very good scenarios and not intending to cause offence they have given these answers and not considered the context of their answer. What if after this people were to discover that lift was a goods lift? What if the lift was to be on the side of a mountain and servicing a small community? What if the lift was in a car show room and it was to move the cars between floors?
So my answer is as follows.
– Is there only one lift or multiple lifts?
– What type of lift is it that needs testing E.G Passenger lift, Goods lift, express elevator for use of VIPs only, Ski lift or some fancy type of lift I am unaware of?
– What type of passengers/goods would be servicing?
– Where is the lift going to be installed? E.g. A resort, in a Store/mall or a private residence?
– How many floors is the lift intended to service?
– How big is the lift?
– What country is the lift intended to be installed in?
– Is there any Health and Safety or Regulatory requirements we need to take into account for that country?
– Does the lift have to deal with any extreme weather?
– Is the lift shaft sealed? If so how do we deal with air pressure as the lift moves about?
– Is the lift only intended to go up and down?
Due to the nature of the question people who are answering the question HAVE to make assumptions about the lift and these are based on their experience of lifts (models). Always be aware of your own assumptions causing unintentional blindness as testers we needs to keep this in mind more I think.
—————————————————————————————————————————————————-

Write the test cases for ATM in security point of view

Here are a few security test cases for an ATM:
1) insert wrong card
2) insert card wrong way
3) invalid account
4) expired card
5) replaced card
6) card reported stolen
7) suspicious activity on card
8) improper pin three times
9) improper pin is off by one digit (ex: 2512 vs 2612)
10) single sum withdrawal from checking that is over daily limit
11) multiple withdrawals from checking that together are over daily limit
12) single sum withdrawal from savings that is over daily limit
13) multiple withdrawals from savings that together are over daily limit
14) withdrawal from checking and then savings where total is over daily limit
15) withdraw from checking in excess of balance by $.01
16) withdraw from savings in excess of balance by $.01
17) withdraw from checking through teller and then withdraw in excess of balance
18) withdraw from savings through teller and then withdraw in excess of balance
19) take server down in the middle of checking withdrawal and try to complete
20) take server down in the middle of savings withdrawal and try to complete
21) submit two withdrawal requests where account numbers differ by one digit
22) submit two withdrawal requests where account names are the same
TC 1:- successful card insertion.
TC 2:- unsuccessful operation due to wrong angle card insertion.
TC 3:- unsuccessful operation due to invalid account card.
TC 4:- successful entry of pin number.
TC 5:- unsuccessful operation due to wrong pin number entered 3 times.
TC 6:- successful selection of language.
TC 7:- successful selection of account type.
TC 8:- unsuccessful operation due to wrong account type selected w/r to that inserted card.
TC 9:- successful selection of withdrawal option.
TC 10 :- successful selection of amount.
TC 11:- unsuccessful operation due to wrong denominations.
TC 12:- successful withdrawal operation.
Tc 13 :- unsuccessful withdrawal operation due to amount greater than possible balance.
TC 14 :- unsuccessful due to lack of amount in ATM.
TC 15 :-un due to amount greater than the day limit.
TC 16 :- un due to server down.
TC 17 :- un due to click cancel after insert card.
TC 18:- un due to click cancel after indert card and pin no.
TC 19:- un due to click cancel after language selection,account type selection,withdrawal selection, enter amount
1. Check whether Card Insertion place is instructed properly
2. Check the Card is accepted in damaged condition also
3. After inserting the card check whether the user details has displayed correctly
4. Check the Authentication for pin number
5. Check the maximun tries for wrong Authentication
6. Check any alarm appears, after authentication fails
7. Check if we try to withdraw more than our account balance
8. Check for the proper selection of Account Type
9. Proper information display, if the machine is not in use
10. Check if we try to withdraw more than the Day limit
11. Check if the user information is closed after taking back the card
ATM in security point of view
1. Check whether if the customer insert the other bank card ATM it should access their account by asking the permission from them
2. Check if the other bank is inserted the pin number is correct
3. Check whether the user draws from other bank the amount is given by verifying with the current account
EST CASE FOR ATM IN SECURITY POINT OF VIEW
1. To check whether the ATM m/c accepts the ATM card
2. To check whether the ATM m/c throws the error msg if the card is not properly inserted
3. To check whether the ATM m/c displays the login page displaying the user name
4. To check whether the ATM m/c asks for the security pin
5. To check whether ATM m/c throws the error msg when the pin is incorrect
6. To check whether ATM m/c accepts for transaction if the pin entered is correct
7. To check whether the ATM m/c displays the msg for savings, current etc.
Few test case I have in mind:
Test Case of ATM:
Positive Scenarios
1. Insert card correctly, ATM must ask for valid pin number.
2. Enter valid pin number, card must be accepted, result in welcome Puneet.
3. Entered amount in multiples of $20 and less than $200 or acc to bank policy.
4. Confirmed amount and press OK/YES, Result in withdraw of payment entered.
5. Press Yes for receipt, Result in receipt come out.
Negative Scenarios6. Insert card in wrong way, Invalid card message should display on screen.
7. Enter wrong pin number, Invalid Pin/password message should display on
screen.
8. Enter amount in not multiple of 20, Enter correct amount in multiple of 20
message should be display.
9. Enter amount more than one time bank limit policy, Cannot withdraw that much
money message should display.
See What’s the question asked here” Write the test cases for ATM in security point of view”? Not for whole ATM machine
1.Swipe card and press cancel button,it should be cancel
2.swipe card and enter invalid pin number,it should show an error message of wrong pin no.
3.swipe card and enter valid pin no. and get cash then press ‘no’ for further transaction w8 for a sec then swipe again ,it should ask for pin no. again.
4.Swipe and get cash then press ‘yes’ for further transaction then it should ask for pin no. again.
TC 1: Succesful card insertion.
TC 2: Unsuccessful operation due to wrong angle card insertion.
TC 3: Unsuccesssful operation due to invalid account card.
TC 4: Successful entry of pin number.
TC 5: Unsuccessful operation due to wrong pin number entered 3 times.
TC 6: Successful selection of language.
TC 7: Successful selection of account type.
TC 8: Unsuccessful operation due to wrong account type selected w/r to that inserted card.
TC 9: Successful selection of withdrawl option.
TC 10: Successful selection of amount.
TC 11: Unsuccessful operation due to wrong denominations.
TC 12: Successful withdrawl operation.
TC 13: Unsuccessful withdrawl operation due to amount greater than possible balance.
TC 14: Unsucceful due to lack of amount in ATM.
TC 15: Un due to amount greater than the day limit.
TC 16: Un due to server down.
TC 17: Un due to click cancel after insert card.
TC 18: Un due to click cancel after indert card and pin no.
TC 19: Un due to click cancel after language selection, account type selection, withdrawl selection, enter amount
—————————————————————————————————————————————————-

Test cases for mobile phone ?

Test Cases for Mobile Phone:
1)Chek whether Battery is inserted into mobile properly
2)Chek Switch on/Switchoff  of the Mobile
3)Insert the sim into the phone n chek
4)Add one user with name and phone number in Address book
5)Chek the Incoming call
6)chek the outgoing call
7)send/receive messages for that mobile
8)Chek all the numbers/Characters on the phone working fine by clicking on them..
9)Remove the user from phone book n chek removed properly with name and phone number
10)Chek whether Network working fine..
11)If its GPRS enabled chek for the connectivity.
The test cases for mobile phone can be divided into
1) Functionality
2) Usability
Functionality: The mobile phone should work as per the specification document.
Ex: To verify whether the contact details is added when the user saves the details.
Usability: How easy to operate?
Ex: To verify whether the buttons of the handset is easy to operate
Similary one can design testcases for Pen, Taperecorder, TV etc…….
Test Cases for Mobile Phone:
1)Chek whether Battery is inserted into mobile properly
2)Chek Switch on/Switchoff  of the Mobile
3)Insert the sim into the phone n chek
4)Add one user with name and phone number in Address book
5)Chek the Incoming call
6)chek the outgoing call
7)send/receive messages for that mobile
8)Chek all the numbers/Characters on the phone working fine by clicking on them..
9)Remove the user from phone book n chek removed properly with name and phone number
10)Chek whether Network working fine..
11)If its GPRS enabled chek for the connectivity.
12)if its bluetooth there check it.
13) check mobile performance
14) check the talk time
15) check the mobile panel and keys
Test Cases for Mobile Phone
1.Check whether the mobile is switched on
2.verify whether the mobile is switched on else switch on the mobile
3.Check whether the mobile is connected with proper network
4.Check when the mobile is not connected with proper network kindly contact the customer care
5.Check whether the mobile has got enough battery
6.Check when the mobile has not gort enough battery kindly power on the mobile
7.Check whether the mobile is connected with prepaid or postpaid connection.
8.Check whether the mobile has got enough balance
9.Verify if the mobile has not got enough balance kindly recharge the mobile
10.Check when you press the keypad it displays as unlock the keypad
11.Check whether the display helps us to click the correct button to unlock the keypad
12.check whether the user clicks as per the direction given to him the key pad opens
13.Check now the user can type anything on the mobile whether it displays on the screen.
14.Check whether the user can call only to the valid numbers
15.Check if the user calls to invalid he hear the invalid numberbeep
16.Check whether the user type the valid numbers and presses call button it be connected
SOME MOBILE PHONE TEST CASES
This is not an exhaustive list.  As you see, mobile phone testing is a rigorous process that can easily require numerous test cases.
START UP1) Can fully charge battery
2) Inserting SIM is intuitive and fool-proof
3) Inserting battery is intuitive and fool-proof
4) Can power on the mobile phone
5) Power-on splash screen meets requirements (ex: format, branding)
6) Set-up page asks if you want to set time and date
a) returning ‘yes’ allows you to complete set-up
b) returning ‘no’ skips set-up
7) Completing or skipping set-up goes to main page
MAIN PAGE1) Text, graphics, format, color scheme, and branding meet requirements
2) Time and date are properly displayed on screen
3) Signal strength is properly displayed on screen
4) Battery level is properly displayed on screen
5) Left soft button text reads ‘Call’
6) Right soft button text reads ‘Menu’
7) Pressing left soft button displays Call Log
8) Pressing right soft button displays Applications Menus
9) Pressing left return button does nothing
10) Pressing right clear button does nothing
PLACING A CALL1) Pressing a number key opens foreground window
2) Foreground window has proper dimensions and graphics
3) Selected number is displayed along bottom left of window
4) The text related to soft key changes from ‘Calls’ to ‘Call’
5) Pressing additional numbers adds corresponding numbers from left to right
6) Pressing clear button deletes right-most number
7) Can clear entire entry
8) With numbers populated in the foreground window, pressing back button
returns to main page
9) Enter a valid local phone number and place call
10) Enter a valid long distance number and place call
11) Place call when phone has weak signal (1 bar)
12) Attempt to place a call with no signal
13) Place call with low battery
14) Place call when battery runs out
OTHER TEST CASES TO CONSIDER
1) Receiving calls
a) during another call
b) during an IM session
c) while authoring an SMS
d) while reading and e-mail
e) while playing a game
f) while listening to a song
e) while taking a picture
2) Sending and receiving short messages (SMS) with and without attachments
3) Mobile e-mail
4) Mobile Instant Messaging
5) Mobile internet
6) Bluetooth interface
7) Camera
8) Themes
9) Ringtones
10) Battery life
11) Signal strength
12) No-signal conditions
Test cases can get quite complex.  For example, consider the steps required to
verify that a Mobile IM session re-establishes itself after receiving no
signal and going back to a good signal area.
And we’ve just scratched the surface!  It would likely take an entire day to
produce all of the test cases needed to fully test a cell phone!
1. Check whether the dimensions of mobile are according to the requirements.
2. Check whether the functionalities are with respect to the requirements.
3. Check whether the colour is accroding to requirments.
4. Check whether the backup for battery is as given in the manual.
5. Check whether the functionalities are with respect to the manual.(extras,games,email services,bluetooth,camera etc.)
6. Checking for various items as charger,headphones,cable etc.
7. Check whether the functionality of keys are proper.
8. Check whether the model is according to the requirements.
9. Checking for display colour(B/w or colour) of the mobile as mentioned in requirements.
10. Checking for proper signal and network in maximum areas.
11. Check for memory used for storage.
12. Checking out for memory where data is stored above the peak value.
13. Checking for performance of the mobile.
14. Checking for the usability.
 —————————————————————————————————————————————————-

Test Cases for Bisleri bottle

verify  the design  and graph of the bottle.
verify the bottle when you open.
verify the bottle when you fill the water.
verify the bottle the water falls outside when you fill.
verify the bottle when the water is full filled.
verify the bottle when you closed.
verify the bottle the water is flow ouside when you after closed
Test Cases for Mineral Water bottle:
1. To check whether the water should be pure
2. To check whether the water should contain some minerals
3. To check whether the bottle should be compact to drink
4. To check it should be some strong when it slips from hand also it should be safe
5. To check the bottle should be recycled
6. To check the bottle should come with different capacities
1.Check the physical appearance of the bottle
2.It can hold water
3.Leakage test
4.Temperature that a bottle can withstand both cold and hot
5.Material of bottle
6.Cap of the bottle it fits the bottle
7.Engravement of company logo
8.How much litre it can hold
9.Color of the bottle
10.Quality of the product is mentioned (1 to 5 Rating)
11.Recyclable, reusable
12.Breakable or durability test
13.Prize of bottle is mentioned
————————————————————————————————————————————————-

 Test Case for a Traffic Signal

1) Check the presence of three lights like Green, Yellow & Red on the traffic light post.
2) Check the switching sequence of the lights.
3) Check the defined time delay between the switching of lights of defined colors.
4) Check the possibility and accuracy of adjustment in defining the time delay between the switching of various lights depending upon the traffic density.
5) Check the switching ON of light of one color at one particular time.
6) Check the switching of lights from some type of sensor.
—————————————————————————————————————————————————-

Write test cases of fan?

There are numerous test cases of fan which are given below:
Test case 1: Check whether it moves or not.
Description: Ensure that fan should moves properly.
Expected result: Fan should be moving.
Test case 2: Check it should have minimum 3 blades.
Description: Ensure that length of fan blades should be considered to 3 blades.
Expected result: Length of fan blades should not be shorter than 3 blades.
Test case 3: Check it should be on when electric button (switch) is on.
Description: Ensure that fan should start working when electric switch is on.
Expected result: Fan should be on when electric button (switch) is on.
Test case 4: Check whether Speed of the fan definitely be controlled by the regulator.
Description: Ensure that speed of fan should be controlled.
Expected result: Fan speed should be controlled by the regulator.
Test case 5: Check it should be stop working once the electric switch off.
Description: Ensure that fan should stop working once the electric switch is off.
Expected result: Fan should be off once electric switch is off.
Test case 6: Check the proper “company name” should be displayed on fan or not.
Description: Always ensure that name of company should be properly displayed on fan.
Expected result; Proper name of company should be displayed on fan.
Test case 7: Check Fan should always work in clock-wise direction.
Description: Ensure that direction of fan should be in clock-wise.
Expected result: Fan should work in clock-wise direction.
Test case 8: Check the color of the fan blades.
Description: Always ensure that all the blades of fan have same color.
Expected result: Color of all the blades of fan should be of same color.
Test case 9: Check the fan during (while) in motion should not vibrate.
Description: Ensure that the fan during (while) in motion should not vibrate.
Expected result: Fan should not vibrate.
Test case 10: Check whether the blades should have decent distance from the ceiling.
Description: Ensure that fan blades should have decent distance from the ceiling.
Expected result: Fan blades should have decent distance.
Test case 11: Check the size of the fan blades.
Description: Always ensure that all the blades of fan have same size.
Expected result: Size of all the blades of fan should be of same size.
Test case 12: Check whether it operates in low voltage.
Description: Ensure that fan should properly operate in low voltage.
Expected result: Fan should be properly operated on low voltage.
Test case 13: Check whether speed varies when regulator adjusted.
Description: Ensure that speed of fan varies when we adjust the regulator.
Expected result: Speed of fan varies while adjusting the regulator.
Conclusion:
At end we conclude that above mentioned test cases are not based on any requirements or specifications. These test cases are without specifications and requirements.
—————————————————————————————————————————————————-
What can be the possible test cases for the Black Board Duster?
1. To check the mouse company
2. Whether it is a PS/2, USB or serial port mouse or cordless mouse
3. It should be plugged to all the ports of different manufacturers
4. It should be platform independent.
5. right clicking on the mouse should open the context window.
6.Double clicking on any folder should open up the file
7. Should be able to scroll up and down using the scroller.
8.should be able to change the functionality of the right and left mouse by going to Control panel
9.should be able to point to the scrollbar and then drag up and down.
10. should always point to the right place, where it is intended to point.
—————————————————————————————————————————————————

Write Test Cases of Pen?

Test cases of pen are given below: –
But keep one thing in mind that test cases for pen may vary if you have different requirements or set of requirements.
Below is given different test cases of pen which does not contain any requirements or specifications?
Test cases of pen are like that:
  1. Verify the color of the pen.
    2. Check GUI testing means logo of the pen maker.
    3. Check Usability testing means grip of the pen.
    4. Verify whether the pen is ballpoint pen or ink pen.
    5. Check Integration Testingmeans cap of the pen should easily fit beside the body of the pen.
    6. Check pen should be continuously in writing mode.
Some Functional test cases for pen:
  1. Check whether it writes on paper or not.
  1. Verify whether the ink on the paper is belongs with the similar color as what we see in the refill.
Performance and load test cases for pen:
  1. Verify how it performs when writing on wet paper.
  1. Verify how it performs when writing on rough paper.
  1. Verify how it performs when writing on hand because we occasionally do that
  1. Check load test means when pen is pressed very hard against the tough surface then pen refill should not come out of the pen.
Negative test cases about pen:
  1. Verify whether ink is available or not.
  1. Check if ink is available, than the pen does not write on the paper.
  1. Verify by bend the refill at multiple ends and then try to write with it.
  1. Verify by dip the pen always in to the water and then write it again.
  1. Check whether it write on leaves or not.
Additional test cases for pen:
  1. Check usability testing means test by writing on a section of paper, Examine if you can write smoothly. It should not be writing and stopping among (with) breaks.
  1. Check capability or reliability testing means Test the writing capacity (the amount of writing that is possible from a single refill) of the pen.
  1. Check Robustness testing means Test wherever you can carry the pen in to your shirt and pent pocket using its cap. The cap distension should be solid enough to grip your pocket.
  1. Check Compatibility testing means Test by writing on distinct types of surfaces like: rough paper, packing material, glass, leather, cotton, wood, plastic, metals like aluminum or iron, polythene sheet etc.
Conclusion
At end we conclude that apart from above mentioned test cases there are numeroustest cases for pen but these above mentioned are the universal one



Test Cases for Pen:

1. Check if the all parts of the pen is fitting properly and no loose fitting. [Installation Testing]
2. Check if the pen ball is fitted properly and ball is moving with ease. [Installation Testing]
3. Check if the dimension of the pen as per mentioned in the requirement.  [UI Testing]
4. Size and shape should be confirmable for writing. [UI Testing]
5. Logo on the pen should be properly printed. [UI Testing]
6. Check if the grip on the pen is superior. [Usability Testing]
7. Check if pen is writing smoothly with continuous and not breaking while writing. [Usability Testing]
8. Check if pen ink is not getting blemish while writing on the paper. [Usability Testing]
9. Check if pressure needs to be applied on the pen to write down on page with least efforts. [Usability Testing]
10. Check if pen is usable for similar refills of different brands. [Usability Testing]
11. Check if pen is writing on the page properly. [Functional Testing]
12. Check if the ink on the paper is belongs with the similar color as what we see in the refill. [Functional Testing]

13. Check if written on paper is not getting fade out after some time. If the requirement saying about ink is water proof then apply water on written text and check the behaviour of the ink. [Functional Testing]
14. Check if the pen is making width of line as per the specified millimeter range. If the pen is coming with two different sets of millimeter ranges i.e. 0.5 mm and 0.7 mm then make sure that line width is properly producing by pen as per design. [Validation Testing]
15. Check if pen is properly working in the flight where different pressure conditions. [Performance testing]
16. Check if pen is not used for substantial period of time and check if ink is not clot inside the pen. Check if user able to access the pen with ease. [Recovery testing]
17. Check if the material used to manufacture is safe to use for chewing or kept in mouth. Generally users are use to put the pen in mouth while writing, so make sure that pen is safe put in mouth or chewing.
18. Check if ink in not being leak from refill in normal conditions.
19. Check if pen is working with different writing angles like the notice is displayed on notice board and user want to write on the notice board.
20. Check if the flow of ink is consistent while writing. The Badly designed pens have the problem with uneven ink flows.
21. Check if the pen ink is not getting dry very quickly or very slowing. While writing on page ink coming out of the pen point, so it should neither dry quickly nor dry too late.
22. Check if the pen is properly working on Space environment if it mentioned in the requirement specifications. [Capability testing]
23. Check if how much long you can able to write with the single refill of pen. [Capability testing]
24. Check if pen is properly writing on different type’s surfaces like smooth paper, rough paper, wooden material, plastic, leather, steel, glass etc. [Compatibility Testing]
25. Check if pen is properly gripped on the shirt pocket and user able to carry on pocket with ease. [Robustness Testing]
26. Check if pen writing point is strong enough to bear a load of different users like some user used to write with some extra pressure on the pen tip. [Robustness Testing]

Negative Test Cases for Pen:

26. Check pen stress testing by dropping pen down from practical height and check if nothing is breaking, no any damage to pen and pen is working without any issues.
27. Hold the pen upwards direction for some time and try to write on paper.
28. Keep the pen in water and try to write on paper.
29. Check how pen is working at different climate environmental conditions like at room temperature, different climate conditions.
—————————————————————————————————————————————————-

Write a test case for a car, which has been, recently launch in a market to check its durability, fuel efficiency and its optimum speed.

1.check whether the car is moving on high speed while driving in plain
2.Check whether the car is giving how much kilometres per litre in different locations such as plain,mountain,slope
3.Check whether the car is fully controlable speed when we are driving the car at very high speed
1)Check the design of the car compared to other cars of the same price range.
2)Check features provided in the car compared to other cars of the same price range.
3)Check whether the features provided inside are working fine.
a)power windows
b)airbags
c)ac
d)music system
e)central locking
f)lights,horn,wipers,gear lever,brakes,accelerator,clutch
g)check the odometer and tachometer needle and verify with a gauge.
4)Drive it in conditions like
a)Highway
b)City
to check mileage,clutch,gear,acceleration
5)Drive at fairly high speed and slow down to check brakes,steering,control
Positive test case:
Open gate->Get inside(see if the roof does not hit your hear, should not be too low)->Close gate(no screeching sound should be present)->Check all buttons on dash to work fine(Also check power windows)->Check Music Player and its controls->Start car and drive normally to see hear any defect->stop->Open door->Exit->close door
Negative test cases:
Start the car->Test the AC for cool air,dust,water->Start driving->Check for Shock absorbers on rough patches->control over high speeds and check->mileage should me as prescribed by the company.Stop very quickly to check brakes->Open door->Exit->close door
—————————————————————————————————————————————————-

Save Button Test Case

1.All text field blank and click save button.
2.Atmost 6 text field blank and click save button.
3.Atmost 5 text field blank and click save button.
4.Atmost 4 text field blank and click save button.
5.Atmost 3 text field blank and click save button.
6.Atmost 2 text field blank and click save button.
7.Atmost 1 text field blank and click save button.
8.Fill all text field blank and click save button.

—————————————————————————————————————————————————-

Write the testcase for login page

Username UN & password Pwd
1. enter valid UN and invalid Pwd
2. enter invalid UN and Valid Pwd
3. enter valid UN and valid Pwd
4. enter blank UN and valid Pwd
5. enter valid UN and blank Pwd
these are the what kind of testcase?
This is the test cases of the exhaustive testing where combinations of the all inputs were tested inputs are
1. Valid UserName
2. Valid password
3. Invalid UserName
4. Invalid password
5. Blank UserName
6. Blank Password
One test case is missing
7. Blank UserName and Blank Password
—————————————————————————————————————————————————-

Write test cases for shopping scenario

There are 3 girls in shopping mall, where they have the offer “”Rs 10 off on purchase of Rs 50 or above””..Now they all bought some good{girl 1- Rs 67, girl 2- 43, girl 3 – 17}. now what they do is they combine there good (girl 3 and girl 2) and they together pay rs- (57+50= 117), so as girl 3 and girl 2 satisfies the criteria and get Rs 10 off. the amount can be used is between 1-99. write the test cases on the above statement.
Rs 57 – because the cost of girl 1 is 67 hence 10 rs off
Rs 50- because the cost of good girl bought (43+17=60) hence 10 off i.e. 50
1.Verify girl A good price is above the 50 rupees.
2.Verify girl A should get offer price because Girl As good price is above 50 rupees.
3.Verify offer price should deduct from the good price of Girl A and should display 57 rupees.
4.Verify girl Bs good price is less than the 50 rupees.
5.Verify offer price should not applicable because girl Bs good price is less than 50 rupees.
6.Verify girl Cs good price is less than the 50 rupees.
7.Verify offer price should not applicable because girl Cs good price is less than 50rupees.The constant price should display as 17 rupees.
8.Verify combination of girl B and girl C goods price is above 50 rupees.The total price is 60rupees.They should get offer price as 10 rupees.
9.Verify combination of total girl B and Girl C good price should deduct 10 rupees from total price.
and it will display as 50 rupees.
10.Verify the combination of girl A and girl B + Girl C should get offer price 10 rupees and total rupees should 117 rupees.
11.Verify they should not get offer price again from total 117 rupees.

4 comments:

  1. we are in the matter of aiding for visitor post...

    ReplyDelete
  2. https://care2fit.com
    This is great, unique and very informative post; I like it. thanks

    ReplyDelete
  3. Nice share….I hope you will share another post..Also
    https://www.drozus.com

    ReplyDelete
  4. Hello, I am Prithvika malhotra thank you for this informative post. That is a great job. Wish you more success.Thank you so much and for you all the best. Takes Down
    https://thiscruelwar.tech

    ReplyDelete