Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the functional tests of Web?

2025-03-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains "what are the functional tests of Web". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what are the functional tests of Web"?

Interface display

Initial interface elements: title, content, default, required (red *)

The style is beautiful

Typesetting specification

Uniform font

The edit page has a cursor and navigates to the first editable text box

When there is too much content, scroll bar

Loading

Open and jump to the same page many times

Innumerable data can't be blank.

Zoom out window, responsive processing

Performance. Do not respond too slowly, otherwise you can write down bug directly.

Menu

Open the page to jump correctly

Click logo to jump to the home page

There is a selected identification

Menu switch, whether the page content is refreshed and reset

Text box

Chinese, English (uppercase and lowercase), numbers (positive, 0, negative, integer, decimal), special characters, full width

Front and back Spac

Hello, HEllo 10-30 0 0.5! @ # $% ^ & * _, null,',', ", [], {}, / r\ n, ces

(space)

Empty

Is 0

Length check

Exact fuzzy matching

Case sensitive

Interval text box, start > stop, from the current time, may not be allowed to check the data of the future time

Granularity, year, month, day, hour, minute, second

Manual input box

The day of the year is not in line with the reality. 2011-13-01. 2011-00-01. 2011-02-30.

Not satisfied with YYYY-MM-DD

Non-digital

Enter the year or month and bring it out automatically-

Time selection box

Open and close the selection box

Switch year

The month before and the next month

Switch month

Choose a certain day

Emptying date

Today

File upload and download

Text description of file format, size, etc.

Supported file format and size, valid equivalence class

Invalid equivalence class: unsupported file format, file size 0, file size exceeding

Upload the same file repeatedly

1. Not allowed

2. Coverage

Delete after upload, physically delete

Delete and then upload the same and different files

Maximum number of uploaded files

Show typesetting layout after uploading multiple files

File storage database / application server

Link download, can be opened normally, the content is correct

After selecting the file, open the file selection window again, click the cancel button, and submit directly. No error should be reported.

Import

Template

Using the template, the import is successful and the content is consistent with the file.

Non-template file, import failed

Do not select a file, click the Import button directly

Multiple records, overwriting all verification failure rules

Duplicate data import

Length check, measurable but unpredictable

Special characters, measurable but unpredictable

Maximum allowable number of entries

After the import fails, re-import correctly, and the import is successful

Export

File

1. File name

2. The format defaults to .xls or .xlsx

3. The content is complete, correct and free of garbled codes.

4. The table header is consistent with the page.

5. You cannot have an operation column

6. Name column cannot be code or code

Number of records = 0, indicating that countless data are exported

Export only the checked records, not all the records

Only export the data after drilling

Number of records > 2000, divided into multiple sheet pages

Performance, 2000, 65536

The appearance is different, and it needs to be divided into multiple equivalence classes, all of which need to be exported to take a look.

Different query conditions lead to different content and number of results, which also need to be tested.

Form

Alignment

Content caliber

1. Columns such as names cannot be displayed as code codes.

2. No data is displayed as--

3. Meet the needs

Format

1. Keep a few bits, and the missing position will be filled automatically.

2. Separated by commas every 3 digits

3. Date format YYYY-MM-DD

The ellipsis has a hint.

0 has no link

Sort

Default sort

Sort by column name

Sorting is not allowed for sequence number and operation column.

Highlight effect, radio / check

Sort

Positive order, from small to big

Reverse order, from big to small

Sort all results, not just the current paging

The task status column is sorted in reverse order by creation time, and then sorted by unsubmitted, audit not passed, audit pass, audit pass, that is, the action column has more available buttons in front.

Pagination

Non-last page, next page

Non-home page, previous page

Non-trailing page

Non-home page

Last page, next page, not clickable

Home page, previous page, not clickable

Last page, can't click

Home page, not clickable

Jump to a valid page number

Jump invalid page numbers, including non-numeric

Pagination, display the number of entries per page, turn the page after switching

The total number of records is correct

Non-trailing page, actual number of entries per page = number of pages per page

Support hitting enter key to jump

Batch operation

Check the single bar, operation

Check multiple entries, operation

Do not check, operate directly

Multiple entries, including those that are not allowed, cannot be operated in batches, and all are rolled back

Select all, and only deal with this part of the data queried.

Data check

Data stream

Data is missing, and data coverage is as wide as possible.

The problem of data reset

The data of some modules has not been reset, while other modules will bring out the old data, including icon status, etc.

Different function points, the same display field

Data initialization

Question on the 1st of each month

The number of households is heavy. Huji, don't weigh it.

Distinct problem

Single-line subquery

1. If the associated field of the child table is the primary key, there is no problem.

2. If the associated field of the child table is not the primary key, analyze the logic to check whether there is any possibility of duplicate data leading to the association and return multiple rows of records.

First set the data as invalid, and then get a piece of the same valid data. These two pieces of data cannot be judged as new data, because they have already been added, but they are only made invalid.

Financial data

The maximum fallback will only get bigger and bigger, not smaller or 0.

Addition, deletion, modification and query of the table

Tracking data flow

No data residue

Link

The link jumps correctly

Click on multiple identical links and there may be unexpected problems

If you open the same link from different pages, there may be a problem.

Tree structure

Expand to leaf node in turn, multiple branches

Unfold and fold

Node icon

It can be found at every node.

Queries or operations on parent nodes can also be applied to child nodes

There is no data display, can not be blank

Figure

Line chart, bar chart

Horizontal and longitudinal coordinates

Scale

Interval value boundary

Is the actual position consistent with the scale?

Breakpoint occurs

Multiple broken lines, some have data, some have no data, and the date is not aligned

Check the reasons for the misalignment of the date, and whether the relevant functional data are consistent.

Cause the telescopic frame to fail

Subtopic 5

Pie chart

Proportion and block size match

Reticular graph

The relationship between the nodes is correct.

Click the tab to show / hide

Put the mouse on it and display the floating box

You can't go blank without data.

There is a lot of data, so you can consider adding chart switching.

Chart switching

If there is data, it can be switched normally, and the data before and after switching is correct.

No data, unable to switch, give hint

Compatibility

Ordinate, according to the maximum and minimum value to determine the scale value, easy to watch

Save button

Tips for saving success

Data is written to the table

Cjsj, cjry and other fields

Loading

View after saving

Don't fill it in, just save it.

A goes to the new page, b completes a new addition, and a saves it again, which should be saved successfully (may result in a failure of saving due to repeated numbering)

Enter data that is duplicated with the existing data, such as code, name

Modify button

Tips for successful modification

Data is written to the table

Xgsj, xgry, yxbz and other fields

Loading

View after modification

Do not modify, save directly

Modify many times

Delete button

Confirm the prompt for deletion

Just refresh the page without deleting the success prompt.

The data is deleted completely and there is no omission

Loading

Logical deletion / physical deletion

Logical deletion, some functions may not be judged, resulting in the deletion of some functions can also find data

Favorites button

Favorites, add to favorites, button to cancel favorites

Cancel the collection, remove it from the collection, and change the button to the collection

Collect multiple pages to form multiple pages

Whether the order of the data displayed after collection is the same as the original

After the check gives a hint that adding is not allowed, the icon still becomes the added icon.

Cancel, return, "X" button

Open it directly again, and the content should not be retained

Open it again after modification, and it should be updated to the latest information

Login page

Interface display

User name, password, CAPTCHA text box

Format of CAPTCHA

Enter the password as *

Log in successfully with the correct user name, password and CAPTCHA

Quit

Confirm whether to exit the prompt

Log out to the login page

Verify the verification code first, and then verify the user name and password

Enter the wrong CAPTCHA, username and password and prompt them respectively

Verification code

After the input error, the CAPTCHA is automatically refreshed.

You can also click manually to refresh the CAPTCHA.

Forget the password.

Enter the password 5 times in a row, and the account is locked.

After being locked, other accounts can log in.

When it is time to lock, the locked account can log in.

Token, no login, time limit

Close the page

Close the browser

Log in again after offline

After logging in, copy the link access across browsers

Log in several times in a row

Log in to the same account with different ip

Forced login pop-up window

Interface display

Verification code

Input error, prompt

Forced login succeeded

Computer an and computer b use the same account and play back and forth several times

Login token conflicts between different projects in Aliyun environment, resulting in frequent offline

Log in

Token failure

What happens if the test does not manipulate the page for a period of time and then do it again?

Log in again and automatically jump to the login page

Page is blank and needs to be refreshed

If it is a third-party docking, test whether it affects the operation logic.

Modify the password

Interface display

Old password, new password, confirm password text box

Correct input and successful modification

Old password error

New password and confirmation password, input inconsistent

The new password is the same as the old one

After modification, login failed with the old password and succeeded with the new password

Format requirements for passwords

When the password modification fails, the password modification time field should not be updated

Query Statistics Page

Interface display

Default query / No query

Telescopic frame

Telescopic frame fold icon

Expansion box expansion icon

Expand and close the query condition

Query button

Default condition clicks are available

After the query, whether to put away the conditions

Enter key

Reset button

The default state is reset and the information remains unchanged

Reset after changing all values

Query after reset

Unit switching

Yuan, ten thousand yuan

Correct number of digits

The data is too small, showing 0.00

All query conditions are tested one by one

Form

Business caliber

Default condition, caliber and sort

Match fields and pass values one by one

All the conditions are brought in

Valid flag, delete flag. If there is this field in the table, you need to consider whether to add judgment.

Data permissions, login of users with different permissions

The query conditions are different.

The conditions are different after the reset.

The data permissions checked are different. Sanmenxia Gynecology Hospital http://www.0398hfyy.com/

Drilling

Drill down

Return

Last floor

The data is right.

Link

The page opens

Caliber and data are displayed correctly.

Whether the number of data items is correct or not

The caliber filtering conditions are the same.

Button

Add a page

Interface display, cursor

All fill in items

Save button

Reset

Default state reset

Reset after changing all items

Reset the cursor after

Reset after saving to the saved value

Return, the returned query conditions, the number of entries per page and the page number should be brought out.

Repeat add

Modify the page

Interface display

Modify button

Bring out the information, especially the long data.

Reset

The default state is reset to the value brought out and cannot be emptied.

Reset after changing all items

Reset the cursor after

Reset after modification to the modified value

Modify only, do not save, modify again after exit, reset unsaved data

View the page

Interface display

Page distortion

Special character

Edit controls to make a gray non-editable effect

Attachments cannot have "X"

The caliber is correct

Users with different permissions log in, and the scope of data permissions is different.

Bottom button

If you are opening a new window, close

If you are overwriting the original page, return

Review and approval page

Single audit

Fill in the item

Review opinions, yes / no, select

Audit description, audit is not required, audit is not required

OK button

The audit passed, and the audit status changed to the audit pass.

The audit failed, 1. The audit status changed to the audit failure. 2. The rollback of the processing status is pending.

Re-processing after failure of examination and approval is equivalent to modification

Go through the process, handle-> fail audit-> handle-> audit pass

Thank you for your reading, the above is the content of "what is the functional testing of Web"? after the study of this article, I believe you have a deeper understanding of the functional testing of Web, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report