What details need to be paid attention to in web testing?
1. Page display part
(1) First, pay attention to whether the page can be displayed completely, including whether different browsers can display it completely. In actual tests, some pages or pop-up windows of the page are often found. Unable to fully display
(2) Whether the animation effects or font effects in the page can be displayed correctly
(3) Whether some form items, input boxes, input fields and drop-down boxes on the page exist Default prompts, whether there are some prompts and some no prompts
(4) Whether there are multiple pieces of data in the data list are displayed in paging, and whether the page jumps normally after the paging operation
2. Page Resolution:
Does the page layout display normally in the resolution mode of 640x400, 600x800 or 1024x768? Is the font too small to browse? Or is it too large? Are the text and images aligned?
Usually it is the default resolution of the computer, but there are still some old computers with 1024*768
3. Single function test
a: Continuous increase
Note: After the addition is completed, check the data list. Fields that are not displayed or are not yet displayed are checked to see if they have not been added.
b: Delete after adding
Note: If there is a prompt message when deleting, click Delete only after confirming
c: Add, delete and then add
d: Continuously delete
e: Add and then modify
Note: If you modify during the modification process If the drop-down box form item is selected, whether the corresponding data has changed
f: Continuous modification
4. Browser compatibility:
The browser is the core of the Web client Components, browsers from different vendors have different support for Java, javascript, ActiveX, plug-ins or different HTML specifications. One way to test browser compatibility is to create a compatibility matrix. In this matrix, the adaptability of browsers from different manufacturers and different versions to certain components and settings is tested.
5. Ease of use:
Some users like to use shortcut keys on the keyboard when browsing the web, so when testing, pay attention to whether the shortcut keys are set. The shortcut keys that usually need to be set are the following.
Use of the Tab key: Tab key switching is supported on the page
Use of the Enter key: Some OK buttons on the page can be replaced by the enter keyboard
Forward and back: User forwarding and backward may cause incomplete data submission, repeated submission, or other display problems
Before the user deletes a certain data, the user needs to be prompted whether to delete it. The default focus selection is "No"
Page prompt language, js prompt language, program prompt language:
The prompt style is different, or the expression is not clear enough
6. Microsoft language standard:
Full-width characters and half-width characters must be separated by a space
English and numbers must be separated by spaces
Chinese characters and English, numbers must be separated by spaces
If there are Chinese characters Use full-width characters
Do not mix full-width and half-width punctuation in the language
In the language, never use the word "you". When describing further steps, use " Please" the word
7. Text abbreviation and line wrapping: If the
input box submits very long characters without breaking the line, the page may be stretched very long after submission. , if you want to process some text after the text as ellipsis, you need to be careful not to cut the Chinese into half a character
8. Display and link of the picture:
Whether to add a link to the picture is usually developed People ignore
The display position of pictures usually displays pictures with different pixel sizes and proportions, so the picture processing strategy must be clearly defined
9. Repeated submission:
User submission On the data page, the user may click the submit button multiple times in succession, resulting in repeated submission of data
After the user clicks "Submit", the button will change to the Disable state
10. Input judgment issues:
All special characters entered by the keyboard can be saved normally
Need to deal with the problem of program errors caused by English single quotes, English double quotes, etc.
Need to deal with "< ;" "/" "\" and other symbols that are easy to save errors
Make character planning for special modules
11. When multiple IEs access at the same time:
Users It is possible to open different IEs and use the same account to perform operations, and the issue of data consistency and synchronization
If multiple IEs use different users, will cookie operations cause confusion in user information
12. Security considerations:
Do not display sensitive user information such as passwords in plain text in the URL
Even if you are passing password parameters, do not use parameter names such as pwd and passportd. Pass to prevent interception
Use the NoCache parameter in the operation of passing parameters to prevent the url parameters from being cached
13. Prevent Sql injection:
Do not put the database or How to display the error message of the program on the page
The best program can filter out the keywords select, update, and delete and prevent users from submitting information containing these data
Design in the database Use easy-to-understand names for table names and field names with operating permissions
Try to filter out characters like "<>" in the input box to prevent JavaScript attacks
14. About Cookies :
Cookies are usually used to store user information and user operations in an application system. When a user uses Cookies to access an application system, the Web server will send information about the user and store the information in the form of Cookies. On the client computer, this can be used to create dynamic and custom pages or store information such as logins.
Note:
Cookie has no expiration time set
There is no prompt message when IE does not support cookies
The sensitive information in the cookie is not processed Encryption
15. Release of various resource links:
Sometimes the system cannot be accessed inexplicably, it may be that the database link is not released
During the stress test, the connection If the release is not efficient, a large number of connection timeout failures may occur
Prevention: During the release process of system resources, it is best to supervise each other through code review
16. About Keepalive settings :
If you need to obtain multiple resources in one connection at the same time, you need to turn on the Keepalive parameter of apache or resin to On to improve the system's processing capabilities and reduce the resources consumed by establishing multiple connections. If a large number of If it is only a one-time connection, do not open it.
Prevention: In actual work, keepalive needs to be set to On or Off to verify which setting has better performance.
Log configuration after the system goes online:
After going online, close a large amount of useless debugging log information and do not open too many logs
The above is the detailed content of What details need to be paid attention to in web testing?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











1. Log output to file using module: logging can generate a custom level log, and can output the log to a specified path. Log level: debug (debug log) = 5) {clearTimeout (time) // If all results obtained 10 consecutive times are empty Log clearing scheduled task}return}if(data.log_type==2){//If a new log is obtained for(i=0;i

Introduction to Caddy Caddy is a powerful and highly scalable web server that currently has 38K+ stars on Github. Caddy is written in Go language and can be used for static resource hosting and reverse proxy. Caddy has the following main features: Compared with the complex configuration of Nginx, its original Caddyfile configuration is very simple; it can dynamically modify the configuration through the AdminAPI it provides; it supports automated HTTPS configuration by default, and can automatically apply for HTTPS certificates and configure it; it can be expanded to data Tens of thousands of sites; can be executed anywhere with no additional dependencies; written in Go language, memory safety is more guaranteed. First of all, we install it directly in CentO

Using Jetty7 for Web Server Processing in JavaAPI Development With the development of the Internet, the Web server has become the core part of application development and is also the focus of many enterprises. In order to meet the growing business needs, many developers choose to use Jetty for web server development, and its flexibility and scalability are widely recognized. This article will introduce how to use Jetty7 in JavaAPI development for We

Form validation is a very important link in web application development. It can check the validity of the data before submitting the form data to avoid security vulnerabilities and data errors in the application. Form validation for web applications can be easily implemented using Golang. This article will introduce how to use Golang to implement form validation for web applications. 1. Basic elements of form validation Before introducing how to implement form validation, we need to know what the basic elements of form validation are. Form elements: form elements are

First of all, you will have a doubt, what is frp? Simply put, frp is an intranet penetration tool. After configuring the client, you can access the intranet through the server. Now my server has used nginx as the website, and there is only one port 80. So what should I do if the FRP server also wants to use port 80? After querying, this can be achieved by using nginx's reverse proxy. To add: frps is the server, frpc is the client. Step 1: Modify the nginx.conf configuration file in the server and add the following parameters to http{} in nginx.conf, server{listen80

Face-blocking barrage means that a large number of barrages float by without blocking the person in the video, making it look like they are floating from behind the person. Machine learning has been popular for several years, but many people don’t know that these capabilities can also be run in browsers. This article introduces the practical optimization process in video barrages. At the end of the article, it lists some applicable scenarios for this solution, hoping to open it up. Some ideas. mediapipeDemo (https://google.github.io/mediapipe/) demonstrates the mainstream implementation principle of face-blocking barrage on-demand up upload. The server background calculation extracts the portrait area in the video screen, and converts it into svg storage while the client plays the video. Download svg from the server and combine it with barrage, portrait

Web standards are a set of specifications and guidelines developed by W3C and other related organizations. It includes standardization of HTML, CSS, JavaScript, DOM, Web accessibility and performance optimization. By following these standards, the compatibility of pages can be improved. , accessibility, maintainability and performance. The goal of web standards is to enable web content to be displayed and interacted consistently on different platforms, browsers and devices, providing better user experience and development efficiency.

nginx can not only hide version information, but also supports custom web server information. Let’s take a look at the final hidden result. How to achieve it? It’s actually very simple. Please look down 1. Official website to download the latest stable version wgethttp://nginx.org/ download/nginx-1.14.1.tar.gz2 Unzip tar-xfnginx-1.14.1.tar.gzcdnginx-1.14.13 Modify the c file (1) vimsrc/http/ngx_http_header_filter_module.c #Modify line 49 staticu_charngx_http_
