how to write the test case for 1 to 12 months in equivalence
partitioning?
Answers were Sorted based on User's Feedback
Answer / a.sivamani
equivalence partitioning is to test the alphanumeric
fields.EP is to reduce the number of test cases.Because we
cant write 1 to 12 test cases to test the months.
we need to partition the inputs....
1.test case with less than 1 - Invalid data
2.test case between 1 and 12 - valid data
3.test case with greater than 12 - Invalid data
Above there are three partitions....
Take one value from each partition to test the months
| Is This Answer Correct ? | 12 Yes | 0 No |
My previous ans consists of a small mistake.
There will be two types of test cases
1) will be with valid test data
2) will be with invalid test data
Here valid test data is min, min+1, max-1, max i.e 1,2,11,12
Invalid test data is min-1, max+1 i.e 0,13
for equivalence partition we also apply boundary value
analysis also
| Is This Answer Correct ? | 3 Yes | 1 No |
In equivalence partioning, equivalence classes are created.
In this example the range is from 1 - 12.
So we can write a single test case with any value between 1
to 12. If it gets passed then the application will work
with any of the values between 1 to 12.
If we want to perform boundry value analysis, then the
inputs that are required are
min value -> 1
min - 1 -> 0
min + 1 -> 2
max value -> 12
max - 1 -> 11
max + 1 -> 13
So total 6 test cases are required.
| Is This Answer Correct ? | 1 Yes | 0 No |
There will be two types of test cases
1) will be with valid test data
2) will be with invalid test data
Here valid test data is min, min+1, max-1, max+1 i.e 1,2,11,13
Invalid test data is min-1, max+1 i.e 0,13
for equivalence partition we also apply boundary value
analysis also
| Is This Answer Correct ? | 0 Yes | 4 No |
write test cases for this senario if a job fails it should get restarted again this should happen for three times if it fails again then it should quit?
What is Unit Testing ? What is Integration Testing ? What is acceptance testing ? What is Static testing? What is System testing? What is Load Testing? What is Smoke Testing? What is Soak Testing? What is Scalability Testing? What is Sanity Testing? What is Ramp Testing? What is Monkey Testing? What is Gray Box Testing? What is Functional Testing? What is Glass Box Testing? What is Dynamic Testing? What is Compatibility Testing? What is Concurrency Testing? What is Component Testing? What is Ad Hoc Testing? What is Agile Testing?
how do you write the test cases?
i am preparing for interviews in real time job what test cases we have to prepare please explain with example?
Which of the following defines the expected results of a test? Test case specification or test design specification.
what are the sanity test cases for a waterBottel?
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.
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.
how to write testcases for google registration screen? Please give me the answer ASAP.send me the answer to gutha_424@yahoo.co.in.
Explain the domain testing?
how to write test case on gmail for TO field in compose page? only for the particular field.what will different type of user do with it like student,doctor?
i was asked to generate test data for a equlateral triangle,please any one explain how to do & what are the process.