testcases for biggest of three numbers?plz give the answer
Answers were Sorted based on User's Feedback
Answer / vikas pujar
I feel. Since code is already in place to verify biggest of
3 numbers we just need to input some combinations:
1) All three same numbers check wat is the result. Eg:
999,999,999
2) Two numbers same and verify result : Eg - 500,500, 400
3) Bounday Value Analysis Eg: 499,500,501
Is This Answer Correct ? | 27 Yes | 2 No |
Answer / smitha
1.Try to enter 4 numbers and submit, the form/field should
not accept more than 3 numbers.
2.Try to enter 2 numbers and submit,the form/field should
not accept less than 3 numbers.
3.Do not enter anything and see the result....it should
prompt to enter numbers.
4.Enter alphabets,special characters and check the result.
5.Enter integers(negative and positive),decimal numbers etc.
6.If the three numbers are of integer data type, try
entering float data type.Check with other data types also.
7.Enter very large numbers/small numbers and check.
Like this we can add many more test cases depending on the
Specifications or Requirements document.
Is This Answer Correct ? | 12 Yes | 5 No |
Answer / pravin
First Compare 3 numbers if first one is bigger than other 2
numbers then 1 number is biggest else campare other 2 value
and check whether second number is grater or third no. is
grater. if 2nd number is grater than 3rd number then 2no. is
the biggest number else 3number is the biggest number.
Is This Answer Correct ? | 2 Yes | 3 No |
Answer / jagadish
the guys both answered is not correct as the question it
self says no boundaries of text box but asked as the biggest
of three numbers.
this is try to check the biggest of three no by if else
conditions checking each one by other thats all
if more clarity mail me at jagadishk.9454@gmail.com
Is This Answer Correct ? | 2 Yes | 5 No |
test cases for biggest 3 numbers
1> 999 = valid
2> 9999 = invalid
3> 99 = invalid
4> 009 = invalid ( as it is same as 9)
5> space = invalid
6> alphabets / special characters = invalid
7> negative number = invalid
8> decimals = invalid
Is This Answer Correct ? | 5 Yes | 15 No |
Below is a user story where Dave, a dispatcher, wants to use a console system to talk to Fred, a person in the field. Create a list of test cases to verify these requirements have been properly met. User Story 3004 - Dave wishes to call Fred using a phone. Dave needs the ability to dial digits for an outbound call to Fred. The dial pad will have a display area for the digits being dialed. The dial pad will have the following functionality: Recall Dial Tone, Recall Last Number, Backspace Current Digit, and Phonebook (Contacts) Access. The dial pad must be touchable and the “Dial” button will be used to initiate the call. A prototype version of the dial pad is attached below. The dial pad will have the following configurable properties: Display Color, Display Font, Foreground Color, Location and Size.
how can write testcase for admin role? can u tel me detail
Explain the state testing?
Write test cases for orkut?
What is Initial Configuration?
what is difference between repeatable and reusable test case?and what is self cleaning test cases?
if software faild in customer environment what we called a)error b)fault c)defect d)failure
what are the test case scenario for epos/pos testing,and how to initiate the process
ATM REQUIREMENT TO BE TRANSLATED INTO TEST PLAN AND TEST CASES ATM REQUIREMENT AS FOLLOWS: Requirements Statement for Example ATM System The software to be designed will control a simulated automated teller machine (ATM) having a magnetic stripe reader for reading an ATM card, a customer console (keyboard and display) for interaction with the customer, a slot for depositing envelopes, a dispenser for cash (in multiples of $20), a printer for printing customer receipts, and a key-operated switch to allow an operator to start or stop the machine. The ATM will communicate with the bank's computer over an appropriate communication link. (The software on the latter is not part of the requirements for this problem.) The ATM will service one customer at a time. A customer will be required to insert an ATM card and enter a personal identification number (PIN) - both of which will be sent to the bank for validation as part of each transaction. The customer will then be able to perform one or more transactions. The card will be retained in the machine until the customer indicates that he/she desires no further transactions, at which point it will be returned - except as noted below. The ATM must be able to provide the following services to the customer: A customer must be able to make a cash withdrawal from any suitable account linked to the card, in multiples of $20.00. Approval must be obtained from the bank before cash is dispensed. A customer must be able to make a deposit to any account linked to the card, consisting of cash and/or checks in an envelope. The customer will enter the amount of the deposit into the ATM, subject to manual verification when the envelope is removed from the machine by an operator. Approval must be obtained from the bank before physically accepting the envelope. A customer must be able to make a transfer of money between any two accounts linked to the card. A customer must be able to make a balance inquiry of any account linked to the card. A customer must be able to abort a transaction in progress by pressing the Cancel key instead of responding to a request from the machine. The ATM will communicate each transaction to the bank and obtain verification that it was allowed by the bank. Ordinarily, a transaction will be considered complete by the bank once it has been approved. In the case of a deposit, a second message will be sent to the bank indicating that the customer has deposited the envelope. (If the customer fails to deposit the envelope within the timeout period, or presses cancel instead, no second message will be sent to the bank and the deposit will not be credited to the customer.) If the bank determines that the customer's PIN is invalid, the customer will be required to re-enter the PIN before a transaction can proceed. If the customer is unable to successfully enter the PIN after three tries, the card will be permanently retained by the machine, and the customer will have to contact the bank to get it back. If a transaction fails for any reason other than an invalid PIN, the ATM will display an explanation of the problem, and will then ask the customer whether he/she wants to do another transaction. The ATM will provide the customer with a printed receipt for each successful transaction, showing the date, time, machine location, type of transaction, account(s), amount, and ending and available balance(s) of the affected account ("to" account for transfers). The ATM will have a key-operated switch that will allow an operator to start and stop the servicing of customers. After turning the switch to the "on" position, the operator will be required to verify and enter the total cash on hand. The machine can only be turned off when it is not servicing a customer. When the switch is moved to the "off" position, the machine will shut down, so that the operator may remove deposit envelopes and reload the machine with cash, blank receipts, etc. The ATM will also maintain an internal log of transactions to facilitate resolving ambiguities arising from a hardware failure in the middle of a transaction. Entries will be made in the log when the ATM is started up and shut down, for each message sent to the Bank (along with the response back, if one is expected), for the dispensing of cash, and for the receiving of an envelope. Log entries may contain card numbers and dollar amounts, but for security will never contain a PIN.
Explain the monkey testing?
how many checkpoint u have to used
What is the difference between System testing and System Integration testing?