Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Login page Testcases

This is a discussion on Login page Testcases within the Testing Issues forums, part of the Software Testing category; Hi, I have a question.. Explain your process for testing a log-in page. Assume that there is one field for username and one field for password and no other information ...

Go Back   Geeks Talk > Software Testing > Testing Issues
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 10-22-2007
Junior Member
 
Join Date: Oct 2007
Posts: 2
Thanks: 1
Thanked 1 Time in 1 Post
kujar is on a distinguished road
Login page Testcases

Hi,

I have a question..

Explain your process for testing a log-in page. Assume that there is one field for username and one field for password and no other information is available on the interface.


What are the steps involved?

Thanks
Reply With Quote
The Following User Says Thank You to kujar For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 10-23-2007
Moderator
 
Join Date: Sep 2007
Location: Chennai, INDIA
Posts: 406
Thanks: 2
Thanked 195 Times in 89 Posts
sridharrganesan has a spectacular aura aboutsridharrganesan has a spectacular aura aboutsridharrganesan has a spectacular aura about
Re: Login page Testcases

For testing the log-in page following are the possible scenarios:1. The design of login page is as per the specifications
2. When the login page is opened the cursor is on the user name text box
3. Validating the user name text box with the following conditions:

i. It accepts alphanumeric characters along with the special characters
ii. Checks whether only the special characters like _, space, - are
allowed
iii. It accepts when only alphabets are given
iv. It does not accepts the numeric values alone
v. It does not accepts the void or null values
vi. When tab is pressed it goes to the password text box
vii. Checks whether the user name entered is available in the data base after the tab key is pressed
viii. Error message thrown for the wrong entry of user name
ix. When OK button in the error message is clicked the cursor should be on the user name text box

4. Validating the password text box with the following conditions:
i. Should allow the entry of alphanumeric and special characters
ii. When the entry is made it should encrypt and display as "*" to the users
iii. When tab or entry key is pressed it should go to the next page of the browser
iv. When wrong password is entered and does not matches with the values in the database the error message is thrown
v. When OK button in the error message is clicked the cursor should be on the user name text box

There may be more possible scenarios for testing this page....but these were the most common ones.
Reply With Quote
The Following 6 Users Say Thank You to sridharrganesan For This Useful Post:
  #3 (permalink)  
Old 10-29-2007
Junior Member
 
Join Date: Oct 2007
Location: Indore
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
alokg6 is on a distinguished road
Re: Login page Testcases

What are the differences between ISO, CMM and CMMi
Reply With Quote
  #4 (permalink)  
Old 06-17-2009
Junior Member
 
Join Date: Jun 2009
Location: delhi,india
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
er.saurabhswarpal is on a distinguished road
Re: Login page Testcases

plese send me all possible test cases for yahoo login page
Reply With Quote
  #5 (permalink)  
Old 06-18-2009
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,438
Thanks: 15
Thanked 147 Times in 138 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: Login page Testcases

Hai friend,

Few steps for login

1. Enter the correct user name and password will login and user private area will be shown

2. When username and password is in correct message will be shown as Invalid ID or password. Please try again using your full Yahoo! ID.

Thanks
Deepa
Reply With Quote
  #6 (permalink)  
Old 06-18-2009
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,438
Thanks: 15
Thanked 147 Times in 138 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: Login page Testcases

hai alokg,

CMM: A five level staged framework that describes the key elements of an effective software process. The capability Maturity Model covers best practices for planning , engineering and managing software development and maintenance.

CMMI: A framework that describes the key element of an effective product and maintenance Process. The capability Maturity model Integration covers best practices for planning, engineering and managing product development and maintenance. CMMI is the designated successor of the CMM.

Thanks
Deepa
Reply With Quote
  #7 (permalink)  
Old 06-30-2009
Junior Member
 
Join Date: Jun 2009
Location: hydrabad
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
swamy555 is on a distinguished road
Hi,what is regression testing.when it will conducting.

hi,

Plz Clarify.What is regression Testing.When It Will Conduct.

Regards
raja
Reply With Quote
  #8 (permalink)  
Old 06-30-2009
Expert Member
 
Join Date: May 2009
Location: Bangalore
Posts: 946
Thanks: 154
Thanked 416 Times in 197 Posts
rijus is just really nicerijus is just really nicerijus is just really nicerijus is just really nicerijus is just really nice
Re: Login page Testcases

Hi Swamy,

Regression means retesting the unchanged parts of the application.
Test cases are re-executed in order to check whether previous functionality of application is working fine and new changes have not introduced any new bugs.

Regression Testing attempts to verify:

1)That the application works as specified even after the changes/additions/modification were made to it

2)The original functionality continues to work as specified even after changes/additions/modification to the software application .

3) The changes/additions/modification to the software application have not introduced any new bugs

Why regression Testing?


Regression testing is initiated when programmer fix any bug or add new code for new functionality to the system.

It is a quality measure to check that new code complies with old code and unmodified code is not getting affected.


Most of the time testing team has task to check the last minute changes in the system.

In such situation testing only affected application area in necessary to complete the testing process in time with covering all major system aspects.

What we do in regression testing?

a)Rerunning the previously conducted tests

b)Comparing current results with previously executed test results.

Thanks & Regards,
Riju.
Reply With Quote
  #9 (permalink)  
Old 07-01-2009
Expert Member
 
Join Date: Apr 2008
Location: Tamilnadu
Posts: 1,438
Thanks: 15
Thanked 147 Times in 138 Posts
deepasree has a spectacular aura aboutdeepasree has a spectacular aura about
Re: Login page Testcases

Hi swamy555,

If you have any query please start new thread, why you are messing with an existing thread.

Thanks
Deepa
Reply With Quote
  #10 (permalink)  
Old 09-03-2009
Junior Member
 
Join Date: Aug 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
Matty_123 is on a distinguished road
Re: Login page Testcases

In addition to the above cases, tester can copy "Username" and "password" from a word or an Excel sheet, and verify the username is appearing as decrypted and password is appearing as Encrypted when pasted on the login page.

2) After entering a valid username and password, verification can also be done for encryption of password stored in cookies.
Reply With Quote
  #11 (permalink)  
Old 09-10-2009
Junior Member
 
Join Date: Sep 2009
Location: Hyderabad
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
disguise is on a distinguished road
Re: Login page Testcases

Following things are to be tested:

1. Cursor position in username field.
2. Validations for wrong entry of username:
a. Case sensitivity can be tested
b. Cursor back to username field after being shown validation message.
3. Cursor position to Password field on pressing Tab key.
4. Validations for wrong entry of password.
a. Case sensitivity should be tested
b. Cursor back to password field after being shown validation message.
5. Focus to Login button on pressing Tab key.

Last edited by disguise; 09-10-2009 at 02:21 AM. Reason: Password encryption
Reply With Quote
  #12 (permalink)  
Old 09-11-2009
Expert Member
 
Join Date: Jul 2007
Location: Kolkata
Posts: 182
Thanks: 7
Thanked 17 Times in 16 Posts
animesh.chatterjee is on a distinguished road
Re: Login page Testcases

I agree with these points...
But there are some more testcases in terms of Software security perspective...
They can be...
level-1
Disable cookies
Convert GET to POST and vice versa (if possible)
Make form fields writable
Display form details
View cookie information
View response headers
Clear cache/authentication/cookies
Show comments

Level-2
developers can sometimes leave meaningful information in the source code when they don't think anyone will be looking at it, or when a company coding standard forces them to leave comments in the source code when updating. By reviewing the source code for comments such as usernames, passwords, backdoors, or even commented-out links, we can learn a lot about what the developer was thinking when writing the code (or maintaining it).

did you have a look into it ever....??
Reply With Quote
  #13 (permalink)  
Old 09-11-2009
Expert Member
 
Join Date: Jul 2007
Location: Kolkata
Posts: 182
Thanks: 7
Thanked 17 Times in 16 Posts
animesh.chatterjee is on a distinguished road
Re: Login page Testcases

Developers sometimes use hidden fields to maintain information about your session that they need to remember, but don't want you to see. For example, sometimes a loaded page will include hidden credentials, pricing information, or details about items ordered. This can be an easy way for developers to track information, but it's similarly easy for a hacker to edit the info. A couple of years ago at a conference, Herbert Thompson (coauthor of How to Break Software Security) related an experience in which he did something similar to this little trick, to the tune of a couple thousand dollars on a popular web site. It was only through his kind nature that the owners of the site were made aware of the mistake and were able to fix the problem. It was a compelling story.This is basically hidden field tempering....[]
Reply With Quote
  #14 (permalink)  
Old 09-14-2009
Expert Member
 
Join Date: Jul 2007
Location: Kolkata
Posts: 182
Thanks: 7
Thanked 17 Times in 16 Posts
animesh.chatterjee is on a distinguished road
Re: Login page Testcases

Authentication
* Disallow the user from directly accessing a page requiring the user to be logged in. If you are able to access a page requiring authentication and are currently not logged in, file a security ticket of severity 2-3 depending on the page.

Login
* If the username or password is incorrect do not display a message such as 'Your Username is Incorrect'. Instead ensure that a generic message stating 'Invalid Credentials' is displayed so as not to leak information about existing user accounts. If either the username or password is specifically mentioned file as a severity 3 issue.

Email Confirmation
* When emailing the order confirmation do not leak sensitive information such as the full credit card number, social security number, full name and address, or other similar sensitive information. If the card number or social security referenced in the email displays more than the last 4 digits (Unless otherwise defined) file a severity 2 issue.

Password Reset
* Ensure that if the password is reset that the temporary password expires after a reasonable amount of time as defined by the product manager (default is 48 hours). After 48 hours the temporary password will expire and will need to be regenerated.
Reply With Quote
  #15 (permalink)  
Old 4 Weeks Ago
Junior Member
 
Join Date: Sep 2009
Location: india
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
ajitkumarmails is on a distinguished road
Re: Login page Testcases

what fidler tool does?
Reply With Quote
Reply

  Geeks Talk > Software Testing > Testing Issues

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
I'm not able to write the script for login page Geek_Guest QTP 1 07-19-2007 02:25 PM
Testcases for Date bharathi_ark Test Cases 2 06-20-2007 09:06 AM
Winrunner is taking the entire web page as a single page Sridevi.P WinRunner 0 06-05-2007 11:26 PM
login page for multiple users greesh ASP.NET 1 05-02-2007 10:34 AM
Browse Button Testcases bharathi_ark Test Cases 1 12-16-2006 07:07 AM


All times are GMT -4. The time now is 03:40 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved