Results 1 to 6 of 6

Thread: Login screen scenarios

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Answers
    16

    Login screen scenarios

    A login screen is there with two edit boxes as user id and password and two buttons ok and cancel.If we enter userid and password correct and click ok we need to go to other web page and it should display as welcome XXX where xxx is the userid we enter.

    For this how many scenarios we can write and what are they.
    What are important in that .


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

    Smile Re: Login screen scenarios

    Hi Arunna,

    Firstly it is pertinent that you differentiate Test scenarios from testcases.
    A Test scenario is a possible workflow which could comprise of testcases.

    For your prescribed Login page, there would be 3 valid scenarios -
    1) valid Login
    2) Invalid Login
    3) Negative Testing scenario

    I would categorize all 3 as important. Based on these scenarios you could develop tsetcases which would describe step-by step actions for testing each of these scenarios.

    Just to Highlight, when I state Negative scenario seperate from Invalid Login, I do so because When User enters incorrect user ID and password, system is expected to prompt you with an error message.

    But a negative testing scenario would be where you are trying to break the application - For Instance
    1) leaving Password blank,
    2) trying to navigate using the URL,
    3) using the forward button of the IE bypassing the Login page etc.....

    Cheers


  3. #3
    Junior Member
    Join Date
    Aug 2007
    Answers
    16

    Re: Login screen scenarios

    Hi ,

    Thanks for a very detailed answer.

    But they have asked the important scenarios?

    And we need to check also the webpage after clicking ok button as whether it is displayed as "welcome xxx" where xxx is userid.

    Thanks & Regards
    Aruna



    Quote Originally Posted by bizzzzzare View Post
    Hi Arunna,

    Firstly it is pertinent that you differentiate Test scenarios from testcases.
    A Test scenario is a possible workflow which could comprise of testcases.

    For your prescribed Login page, there would be 3 valid scenarios -
    1) valid Login
    2) Invalid Login
    3) Negative Testing scenario

    I would categorize all 3 as important. Based on these scenarios you could develop tsetcases which would describe step-by step actions for testing each of these scenarios.

    Just to Highlight, when I state Negative scenario seperate from Invalid Login, I do so because When User enters incorrect user ID and password, system is expected to prompt you with an error message.

    But a negative testing scenario would be where you are trying to break the application - For Instance
    1) leaving Password blank,
    2) trying to navigate using the URL,
    3) using the forward button of the IE bypassing the Login page etc.....

    Cheers



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

    Smile Re: Login screen scenarios

    Hey Arunna,

    Incase you really categorize, the important scenarios would be Valid Login and Invalid Login.

    Also the part of checking whether the next page display "Welcome XXX' would be covered as part of a testcase and not be listed as a seperate scenario.

    The testcase could be something like - On detail level :
    TestStep Description
    Enter UserID abc Expected - The entered text should be displayed in the UserId field

    Enter Password pertinent to UserID abc Expected - The entered password should be displayed as masked characters in Password field

    Click on Login button Expected - System should validate the entered UserID and password credentials and should display the next page. Page should display title as "Welcome" appended to entered user ID.

    Cheers.


  5. #5
    Junior Member
    Join Date
    Aug 2007
    Answers
    16

    Re: Login screen scenarios

    Thankq for the reply.


  6. #6
    Junior Member
    Join Date
    Nov 2008
    Answers
    1

    Re: Login screen scenarios

    Hi Umesh,

    As you said if on invalid user name or password system is supposed to throw an error message. But still by testing the system for invalid username and password we are trying to break the system. same is the case with mandatory fields(user name and Password) missed out. In this case also you are expecting a system to throw an error message. How come you differentiate both of them stating one as Invalid Login and the other as Negative scenario. By giving the invalid user name and password as invalid Log in and not in negative scenario you are terming it as a positive scenario indirectly. So dont you think it is wrong to give invalid user name and password under the positive scenario.

    Regards
    Thilak


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