Home > Software > Testing > Manual-Testing
Interview Questions   Tutorials   Discussions   Programs   Videos   

Manual-Testing - Write test case for Gmail sign up page ?

asked marvit October 7, 2014 01:09 AM  

Write test case for Gmail sign up page ?


1 Answers

answered By shallu   0  

Test Requirements As we don’t have the official Google requirements for the login screen. We’ll come up with our own requirement set for the login screen. We’ll write the scenario based on these requirements. • Username should contain letter, number and period. • Username should not be left blank. • Username should not be more than 40 characters. • Username should not start with or contain any symbols. • Password should be atleast 6 characters. • Password should contain combination of letter, numbers and symbols. • Password should not contain spaces and period. • Password should not be more than 40 characters. Test Scenarios Write down the test scenarios based on the following test types: User Interface Here are some of the questions that can help you form test cases. • Where is the cursor focus in text area when you load the page? • Does enter key works as a substitue for the sign in button action? • Does username and password text field appears in order? • Does remmeber me check box selected by default? • Does the login page has register link for new users? • Does the user interface look as per the design specification? • Does login screen behaves responsively to mobile or tablet screen? • Do the link on page remain active or are dead? Functionality Login screen functionality varies with each type of application. So there is going to be a difference between yahoo login and gmail login. Here’s some general possible functionality scenarios. • Does the login form works successfully? • Is logout link redirects back to the login screen? Is logout link functional? • Does forgot password link works? Does it redirect to valid password recovery page? • Do forward and backward buttons work properly while logged in? and also for logged out user? • Does form works similar in every popular browser? • How errors are handled and displayed? Security Security of the form is very crucial and you can use following scenarios to form your test cases. • Does textbox offers masking of characters in password field? • Does masked characters allow deciphering if copied? • Is it possible to copy and paste the password? • is there any minimum password length? • is the form giving away security informtion if the source is viewed? • is the form vulnerable to SQL injection? • Does form allows accessing pages without logging in? • is URL manipulation allows access to members only area of mail? • is multiple accounts from same IP but different browser allowed at the same time? • are cookied allowed? are they disabled or allowed to be edited? Once you go through these scenarios, you need to come up with following possible positive and negative test cases. Positive test cases. • Enter valid username and password. • Click on forgot password link and retrieve the password for the username. • Click on register link and fill out the form and register username and password. • Use enter button after typing correct username and password. • Use tab to navigate from username textbox to password textbox and then to login button. Negative test cases • Enter valid username and invalid password. • Enter valid password but invalid username. • Keep both field blank and hit enter or click login button. • Keep username blank and enter password. • Keep password blank and enter username. • Enter username and password wrong.

   add comment

Your answer

Join with account you already have



Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!