How many Test-Cases can be written for the calculator
having 0-9 buttons,Add,Equalto buttons.The testcases should
be focussed only on add-functionality but mot GUI.What are
those test-cases?
Answers were Sorted based on User's Feedback
Answer / rajendra prasad reddy penumall
Test-Cases for the calculator
so here we have 12 buttons total
ie 0,1,2,3,4,5,6,7,8,9,ADD,Equalto -12 buttons
here u can press atleat 4 buttons at a time minimum
for example
0+1=
for zero u should press 'zero' labled button
for plus u should press '+' labled button
for one u should press 'one' labled button
for equalto u should press 'equalto' labled button
0+1=
here + and = positions will not vary
so first number position can be varied from 0 to 9 i.e
from permutation and combinations u can fill that space in
10 ways
in the same way
second number position can be varied from 0 to 9 i.e
from permutation and combinations u can fill that space in
10 ways
Total number of possibilities are =10x10=100
This is exhaustive testing methodology and this is not
possible in all cases.
In mathematics we have one policy that the the function
satisfies the starting and ending values of a range
then it can satisfy for entire range of values from
starting to ending.
then we check the starting conditions i.e
one test case for '0+0='
(expected values you know thatis '0')
then another testcase for '9+9='
(expected values you know thatis '18')
only two testcases are enough to test the calculator
functionality.
if you still have any doubt feel free to mail me at :
rajendra_penumalli@yahoo.com
or call me:9885162742(hyd)
| Is This Answer Correct ? | 9 Yes | 3 No |
Answer / raghu
we can write 3 test caes...following are the test cases
--Check for the enabled property of buttons from
0,1,2,3,4,5,6,7,8,9 and Add , Equal to.
--Click on all thebuttons from 1 - 9 and check whether the
respective no's are displayed or not.
--Enter the valus as per the valid input the table,click on
ADD button and check whether the actual value is matching
ith the expected value.
s.no values Actual Expected
value Value
1 0+1 1
2 0=2 2
till 9
In the same way for all the values we can write table and
calculate the actual values.
| Is This Answer Correct ? | 2 Yes | 2 No |
How to do manual testing of a E-insurance project (end to end process)
What is the good qualities of test enginner
1. fault based testing is reversed of which testing? option.1 conventional software testing Option 2Operations and classes that are critical or suspect Option 3 Use-case validation Option 4White-box testing of operator algorithms 2. Testing OO class operations is made more difficult by Option 1 Encapsulation Option 2 Inheritance Option 3 Polymorphism Option 4 Both Inheritance and Polymorphism 3. Which of these techniques is not useful for partition testing at the class level Option 1 attribute-based partitioning Option 2 category-based partitioning Option 3 equivalence class partitioning Option 4 state-based partitioning 4.Client/server architectures cannot be properly tested because network load is highly variable. Option 1 true Option 2 false 5. Real-time applications add a new and potentially difficult element to the testing mix Option 1 performance Option 2 reliability Option 3 security Option 4 time 6.Which one is not key term used in internal control and security Option 1 Threat Option 2 Risk Control Option 3 Vulnerability Option 4 Exposure 7.Acceptance testing occurs only at the end point of the development process; it should be an ongoing activity that test both interim and final products. Option 1 true Option 2 false 8.Static testing requires...? Option 1 Binaries Option 2 Source code Option 3 Product Option 4 Executables 9.etesting is testing the application with multiple sets of data is called retesting Option 1 true Option 2 false
What are the typical risks that you identify during test planning and their mitigation plan and Contengency plan.
If you are the Test Team Leader and one of the Team Member is not supporting and not working according to your expectations what would you do? how will u handle him?
what is the format of test case document? any one can send test case excel sheet format? my id :chinna.4494@yahoo.com
online demo for bug tracker tool(let me know the website)
Who are responsible for writing test plan? When does it start after or before writing test case???
my mail id is mudaseer20@gmail.com if i type email id as MudAseEr20@gmail.com and password correctly then what is the output?does it display inbox page
how to find the bugs and log the test cases?
Can the system testing be done at any stage?
what is meant by web service testing and what is the use of web service testing ?