In this post, I’m listing test cases for yahoo signup registration page. The test cases for the yahoo! signup page were asked in many interviews and also requested by reader of my blog. Considering this sort of question asked commonly in quite a few of the interviews, I decided to list the test cases here.
We are assuming some of the requirements for the test cases mentioned below.
Requirements for Test Case
- First name and Last Name is required field.
- Username is required field.
- Password is required field.
- Mobile number is required field.
- Birthday is required field.
- User must choose gender.
- Password should be 6 characters long.
- Password should be mix of characters, numbers and one symbol.
You can see the screenshot of the Yahoo! Registration page as of today’s date.
Based on the requirements above, let’s write down some of the test cases for our use.
- Verify if you can select the language for the form from the top drop down menu.
- Verify if the default language of the sign up form is English (united states).
- Verify if you can keep username blank and submit the form.
- Verify if you can keep first name and last name blank and submit the form.
- Verify if you can keep mobile number blank and submit the form.
- Verify if you can keep birthday field blank.
- Verify if you can keep the gender field unchecked and submit the form.
- Verify if you can keep password blank and submit the form.
- Verify if you can type numbers and special characters in the firstname and last name field.
- Verify if you can keep all the fields blank and submit the form.
- Check if you can keep the username less than 3 characters long.
- Check if you can use special characters other than underscores in the username.
- Check if you can type username more than 20 characters and submit the form.
- Check if you can type password less than 6 characters long.
- Check if you can type password in all capital characters.
- Check if you can type password without any special characters and submit the form.
- Check if you can select invalid date using the birthday date field.
- Check if you can type invalid mobile number w.r.t country code.
- Check if you can type correct number but different country in selection.
- Check if you can keep the gender radio box un-selected during submitting the form.
- Check if you can show and hide the password by clicking on “show password” button inside password text box.
- Check if you can switch between yahoo or ymail as email domain name.
- Check if the mobile phone number in recovery number is validated.
- Check if the “Create account” button if pressed leads to new page.
- Check if the “Create account” button if pressed without filling out the data leads to errors.
You can come up with even more test cases depending on the requirement and as you fill out the form, you find more warnings. So the more validation means more testing for you to do. If you choose to do the automated testing, you can do even better with some of the test cases mentioned above. Use library like beautifulsoup for python and you can verify some tests in the above mentioned paragraph.
I hope you find this post useful. Feel free to let me know your suggestions and comments. I’d appreciate your comments and social share of this article. 🙂
Satish N says
Artical is very googd….
Thnks for ur effortsss…:)
Ashawali says
its really good
I would like to know if we have to search a person on eg: facebook or employee details what test cases and scenarios can be prepared?
Ajin says
check when press button create account page move to 404 error page