write down test cases for "x>=1"

Answer Posted / phu

Test Cases:
1. Invalid: x is text, not is number
2. Valid: x is number
2.1. x = 1
2.2. x = 0
2.3. x = 2
2.4. x = very large number, to check overflow number
if 2.1,2.3 are Pass, 2.2 is Fail => x >= 1

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is gray box testing?

831


How to write test cases for the following scenario: The system shall limit the search result display to 200 records. Do we need to write test data for it. How do we create a test data for it.

1971


Why is it that the boundary value analysis provides good test cases?

868


Write a test case for computer keyboard?

881


1 Crystal Ball 1.1 Purpose This is a simple tool, for entertainment purposes only. 1.2 Scope Only for registered user. 1.3 User Interface Single page with graphic of crystal ball, and text box for typing question. User has to type her question in text box outside ball. Reports: - On ‘submit’, the system needs to access any one of the pre-stored responses at random and display in a graphical, visually appealing manner in the crystal ball. - Audio / graphical changes need to be built in, for added user experience enhancement, like music, sound effects, visual changes. Need to get details.

1745






Requirement from Market “Alice is talking to Bob. Bob thinks that Alice should talk to Chris for more information. Currently, Bob will pass on the directory number of Chris to Alice; Alice/Bob will disconnect the call and then Alice will initiate a new call to Chris. What we need need, Bob should be able to transfer the call to Chris, without Alice making another call.” Implementation done by Unified CM Development Team When a basic call is connected, a new softkey “Transfer” will be displayed on the IP Phone. User (say, Bob) can press that and dial a target (say, Chris). Bob has two options (1) wait for Chris to answer and then tell Chris about call from Alice and then press “transfer” again to complete transfer (2) press “Transfer” immediately; when Chris answers he will be connected to Alice Please come up with test cases thinking from a user perspective, let’s say from a Bank (there could be users such as receptionists, accountants, managers etc.) – in what all scenarios transfer can happen, any negative scenarios (cases where we don’t get a positive response always). If you think you need an enhancement to the feature, please go ahead and suggest that as well.

3200


write test cases for flipkart.

10594


Can any one please give me a test case for transaction of money thro' mobile phones. I really need it soon. i need the test case in ieee format.please anyone help me.

2124


"search"test cases on Linkedin website and how will you write test cases on it?

5817


Can some body help to write possible test cases for a credit card at POS (point of sale)

2436


Write the test case for a login page?

815


Explain transaction testing?

755


please give me different test scenario for uploading whatsapp status from gallery and camera

5609


Scenarios to test wireless Speaker via bluetooth

4910


Explain which test cases are written first black boxes or white boxes?

764