Fourth Time Blog Assignment

Source: Internet
Author: User

                                First question

1, the background of a company's website management has a user registration function needs to test, the test is a black box test, please use a table to give the function of the test case (refer to the Textbook P107 page). The user registration function is described as follows:

(1) The administrator must first log in, to enter the site management, access to the background management interface can be user registration (assuming that the user registered URL address is http://www.fengt.com/Admin/UserRegister.jsp)

(2) User registration requirements to enter the user name, password, password confirmation, mailbox, these 4 items can not be empty

(3) The user name requires 6-10 characters, consisting of letters and numbers, and can only begin with a letter. The user name is unique.

(4) Password at least 6 digits, including letters, numbers and special symbols (such as:!) + ~ etc)

(5) The mailbox must comply with the mailbox rules

(6) Any requirement above the law should have a corresponding prompt

(7) Registration success must prompt "registration success, please remember password" and jump to the user login page to sign in (assuming the user login page is http://www.fengt.com/Admin/Login.jsp)

Use case ID

Scene

Test steps

Expected results

T1

Administrator Login

Enter login page, enter user name password to log in

Administrator successfully logged in

T2

Go to the Site Admin for user Registration

Select User Registration module for user registration, browser address http://www.fengt.com/Admin/UserRegister.jsp

Successfully entered the registration module

T3

Basic information Input--check

No input, direct click to register

Prompt not entered, please try again

T4

User name Input Checksum

Input 222233334444

Prompt for non-conformance specifications, please try again

T5

Password input Check

Enter the user name as the canonical YJX1122, enter the password that does not conform to the specification: 23456, do not click Submit

1.ajax Prompt user name is available, 2. The Red letter prompt password at the right of the input box is at least 6 digits, including letters, numbers and special symbols (such as:!). + ~ etc), please try again

T6

Two times password input check

Complete T5 's canonical user name, enter 321654 for the first time, enter QWEASD for the second time, and do not click Submit

1. Password strength via Ajax, 2. Red prompt password on the right of the input box two times inconsistent input, please check

T7

Mailbox validation Check

Enter a non-compliant mailbox [email protected], do not submit

The right prompt mailbox is not correct, please check

T8

Specification entry

Enter user name YJX1122, first password a ~9876543, second a ~9876543, email for [email protected], click Submit

Submit success, return prompt: Registration is successful, please remember the password

T9

Registration successful

Wait three seconds

Automatically enter the user login page

T10

User name does not repeat validation

Re-enter the user registration page, enter the user name YJX1122

The right Ajax prompt indicates that the user name already exists is not available, please re-enter

2, the use of Selenium2 for the LAB05 project login function to achieve functional automation testing.

Fourth Time Blog Assignment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.