write case for petrol pump?

Answer Posted / megha

*check if petrol is there
*if not some signal/message
*if yes, display the amount of petrol present
*check if amount/quantity meter are set to zero
------------------------------------------------------------
1) Cost given by user
*set amount and quantity should be zero
*calculate quantity required and check if it is >= amnt
present there
*check quantity calculated as per the amount
2) Quantity given by user
*set quantity and cost shoud be zero
*check if quantity required >= amnt present there
*check cost calculated as per the quantity
------------------------------------------------------------
*flow shud automatically stop as soon as petrol of required
amount/quantity is filled
*check for manual flow stop
*check if reset button sets both the cost/quantity to zero

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many test cases u will write for Acceptance testing?

1794


How many test cases u will write for Adhoc testing? How many test cases u will write for Alpha testing? How many test cases u will write for Beta testing? How many test cases u will write for Release candidate testing? How many test cases u will write for Product release testing? How many test cases u will write for Functional testing? How many test cases u will write for Non-Functional testing? How many test cases u will write for Integration testing? How many test cases u will write for System testing? How many test cases u will write for Component testing? How many test cases u will write for Release testing? How many test cases u will write for Load testing? How many test cases u will write for Stress testing? How many test cases u will write for Black box testing? How many test cases u will write for White Box testing? How many test cases u will write for Performance testing? How many test cases u will write for Automation testing? How many test cases u will write for Compatibility testing? How many test cases u will write for Regression testing? How many test cases u will write for Endurance testing? How many test cases u will write for System Integration testing? How many test cases u will write for Boundary value testing? How many test cases u will write for Usability testing? How many test cases u will write for Walk through testing? How many test cases u will write for Sanity testing? How many test cases u will write for Smoke testing? How many test cases u will write for Installation testing? How many test cases u will write for Soak testing? How many test cases u will write for Volume testing? How many test cases u will write for Security testing? Write test cases for Multi path testing? How many test cases u will write for Multi path testing? Write test cases for Dynamic Capacity Expansion (DCE)? Write test cases for Dynamic Volume Expansion (DVE)? Write test cases for Dynamic Raid Expansion (DRM)? Write test cases for Drive failure? Write test cases for Controller Failover? Write test cases for Cable pull? Write test cases for RAID Controller?

1932


A wholesaler sells printer cartridges. The minimum order quantity is 5. There is a 20% discount for orders of 100 or more printer cartridges. You have been asked to prepare test cases using various values for the number of printer cartridges ordered. Which of the following groups contain three test inputs that would be generated using boundary value analysis?

1504


write a test cases for WLAN

523


What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?

2489






1.1 Purpose This tool is also a simple tool, but will be graphics- intensive, and will access the 3 databases (card databases) used in Tarot. 1.2 Scope Only for registered user. 1.3 User Interface - No questions asked, parrot pulls out tarot card - Inside Parrot application, User just have to click on a link saying ""XXXX"" to activate the tool. - Shown is the card of the day, from pack of Tarot cards(78 in number) with fixed graphics, animation, audio. Output: - Graphic-rich display of randomly selected card with detailed meaning, with links to tarot tool. - Graphics: Flying / walking parrot, emerging and choosing a card, displaying the same, and continuing to interact based on card meaning. - The cards also need to carry a brief 1/0 meaning, which will trigger a 1/0 behavior from the parrot (sympathy/making fun/crying or congratulating/smiling/winking)

1478


Do you write test plan and test case?

1912


i am preparing for interviews in real time job what test cases we have to prepare please explain with example?

1899


Pls tell me test cases for pepper grinder

2911


How to write test case for this scenario. The First Name data entry field shall be removed from the existing Contact Information screen

1730


Credit card field contains four text boxes. We can validate each textbox separately with conditions but how can we write integrated testcase for all the four?

1852


What is quick test professional and what test environment it supports?

702


Write a test case for computer keyboard?

784


can one defect be mapped to more than one test script in manual testing

2000


Explain the glass box testing?

665