Results 1 to 7 of 7

Thread: GUI Testcase

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Answers
    1

    GUI Testcase

    Test Case

    GUI contains 2 fields

    Field 1 to accept the value of x and
    Field 2 displays the result of the formula a+b/c-d where a=0.4*x, b=1.5*a, c=x, d=2.5*b;

    Show the test cases you would write to test this scenario.


  2. #2
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Re: GUI Testcase

    Hi,

    Please find listed below some of the possible cases.

    Testcase1.
    Enter a valid Positive Number as 'x'. It could be a whole Number or a fraction. Expected - Field 2 should display output as per formula,

    Testcase2.
    Enter a Negative number as 'x'.
    Expected - Field 2 should display correct result as per formula calculation.

    Testcase3.
    Enter Field 1 as 0.
    Expected - Field 2 should also display result as 0.

    Testcase4.
    Leave Field 1 blank.
    Expected 2 - System should display an error message and not calculate any value in Field 2.

    Testcase5.
    Enter Alphanumeric or Textual characters in Field 1.
    Expected - System should display an error message but functionality should not fail.

    Testcase6.
    Check if you could directly edit Field 2 after formula calculation. In sense whether you could manually change the result of calculation.

    You could add to this list based on some more ideas....

    Cheers....


  3. #3

    Re: GUI Testcase

    Hi Umesh,

    You have given almost all the scenarios for the formula given by Vinesh. But a small change in the Test case 3:

    If you enter the input for Field 1 as 0,
    Then Expected result is - The system should throw an error message since "zero divided by zero is infinite" and Field 2 should display either no value or as "Infinite"


    Regards,
    Ganesan


  4. #4
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Re: GUI Testcase

    Thanks Sridhar....

    Too Much work is the cause I guess

    Cheers...


  5. #5

    Re: GUI Testcase

    i have a small doubt here..
    do we need to check the field lenght here?
    I mean the max length accepted by Filed1??


  6. #6

    Re: GUI Testcase

    Hi Animesh,

    Yes we can also test the Length of the Field 1 and Field 2 also, if there is a specification stating that the length of the field is limited to certain digits.

    Regards,
    Ganesan


  7. #7

    Re: GUI Testcase

    Thanks ganesan


  8.  Sponsored Ads
    Ad


     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact