Results 1 to 7 of 7

Thread: username, password, date and amount

  1. #1
    Junior Member
    Join Date
    Feb 2007
    Answers
    3

    username, password, date and amount

    Given a screen with username, password, date and amount, What are the test cases we need to come up with. Please tell me some real time test cases.Thankyou very much.


  2. #2
    Contributing Member
    Join Date
    Feb 2007
    Answers
    48

    Re: Test cases for QTP

    It really depends on the client's requirements like:
    01. What would be the maximum size for user name & password?
    02. Valid and invalid inputs for both the fields?
    eg: some clients say that
    a) The password should be at least 8 chars and at the most 10 chars
    b) Password must contain at least 1 numeric char
    c) Password should not contain user name, etc


  3. #3
    Expert Member
    Join Date
    Apr 2007
    Answers
    147

    Re: Test cases for QTP

    1. Password is vied as special charecter
    2. Date field takes the date in the desired Date Format
    3) Amount is taken in which currency format.
    4) Each field is enabled


  4. #4
    Junior Member
    Join Date
    Apr 2007
    Answers
    1
    Quote Originally Posted by puja123 View Post
    Given a screen with username, password, date and amount, What are the test cases we need to come up with. Please tell me some real time test cases.Thankyou very much.
    Hi!
    I think that will help you out .


    1.Testing without entering any user name and password
    2.Test it only with user name
    3.Test it only with password
    4.Password with wrong user name
    5.Right user name and right password
    6.Try copy / paste in password test
    7.After successful sign-out try back option from your browser.Check whether it gets you the signed in page.
    8.Check Amount MIn / MAX
    9.Check amount is taken in which currency .
    10. Check amount in decimal

    Last edited by jainbrijesh; 09-18-2007 at 07:10 AM.

  5. #5
    Junior Member
    Join Date
    Nov 2007
    Answers
    2

    Re: username, password, date and amount

    verify whats the max and min alphacharacters the username accepts
    verify by entering spl characters
    verify whats the min characters the password accepts
    verify if the password and username can be same
    verfiy if the password is in encrypted form
    verify if the date field has default sys date
    verify by giving invalid date month/year
    verify the amount is in numeric
    you can add on many more test cases..these are just few


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

    Smile Re: username, password, date and amount

    Hi Puja,

    Based on the trial mail you must have got a fair idea of the test scnearios we could come up with for testing a screen with the mentioned fields.

    Just remember before test scenario design, divide your cases into Positive as well as Negative testcase scenarios.

    All those cases which deal with positive functionality of the application / valid
    functionality would be clasiified as positive cases.
    Those cases which are trying to break the application by carrying out invalid operations would be Negative testcases.

    Positive Cases
    1) verifying if Valid UserID and Password navigates the user to Next screen
    2) Check if Password is encrypted
    3) Checking for Valid Date format etc
    4) Password Length validation
    5) Checking if all fields are enabled and editable.

    Negative Cases
    1) Using the Back button once logged into application to check if session authentication is maintained
    2) Trying to pass only UserName or Password and using the Forward button
    3) Copy / Paste of password into text file to break encrytion etc

    Cheers......


  7. #7
    Junior Member
    Join Date
    Dec 2007
    Answers
    8

    Re: username, password, date and amount

    nice info!!!!!!!!


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