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 to write test cases for "open file dialog box" for ms word? Thanks a lot!

3532


how to write test cases for online restaurant table booking system?

10392


What is explain security testing?

704


hai we need to get some data from a logfiles and populate into database .to check this we need to write test cases .how to write test case for this scenario tell me as functional and stress testing differ

1807


how to make test case for anolog voice logger?

2020






What are all the companies are doing manual testing till now ?

1520


Which of the following defines the expected results of a test? Test case specification or test design specification.

991


Please can any one tel how to write the test cases for these Requirements:- 1.The applications sends the periodic data 2.The applications sends the alarm data 3.The Application stores the Periodic data and alarm data if it is unable to send 4.the application having the configure through GPRS or SMS

1864


Can you list down a few characteristics of a test case?

693


can anyone please help me in writing Test cases for HRMS,ERP and for CRM Apllications...I am joined as a trainee.so i have to write test cases for these applications..Soo can anyone pls help me....mail id: bapuji.karyampudi@gmail.com....Please reply me guys.

2960


Test a function that reads a file into memory, say ReadFileToMemory( FILE * pFile, BYTE * pMem, DWORD numBytes)

2692


How to write a test cases for the following Please it is urgent Once user clicks that link Invite Friend page opens up thru which user can do 2 functions - first is to search friends detail(name, mail id) from her address book in other sites (india times, yahoo, gmail and rediff) and second to mail the invite to the selected person/s. User can send invite to multiple person at same time. Searching friends detail in other address books will work like this: - User will input name, email id, pwd etc, select from which site she want to get friends list and then click on Import. - Users address book from other sites will be imported in one shot(first time) to iDiva database. - It will be arranged in alphabetical order(complete list) and mail ids which are already used will be in different color. - User will be able to update her address book by clicking on ""Refresh"" button on the page, which will trigger the process again, and fetch new mail ids.

3465


Write a test case of login window?

703


Can any1 tell me how to do and Integration test design and test cases for Order Inventory system for use cases. ALso how is that going to differ from System Testing. The system is similar to amazon.com online ordering system and you can place order by calling customer call center.

1917


can any body help me with providing a a case for usability testing...

1661