Method of interface testing

xiaoxiao2021-03-06  69

Method of interface testing

Many years of development, test experience, below, I have organized some methods and points on interface testing, for your reference, if there are different opinions or better supplements, welcome email to discuss with me, let's test together Technical aspects continue to advance to improve our overall test level.

Contact: esan@sunistudio.com

First, the point of test of the interface:

1, title bar

a, the correctness of the title text

B, the title bar (maximize, minimize, close) button, depending on the characteristics of the window, if the window does not maximize or minimizes the status, the maximum and minimization button should be displayed, or the button Disable status is displayed.

2, text

(1) Accuracy of text description:

A. Check the description of the text and whether the corresponding function is consistent;

b, check the wrong word.

(2) Consistency of text language:

(Menu, interface buttons or label et al, Tooltip, window title)

For example, the option settings, the buttons in the main interface can go to the Options Settings dialog, or there are menu items in the menu to enter the Options Settings dialog box, then, buttons, menus, dialogs should be unified, such as " Options or "Settings", and cannot use "option" and use "setting", or there are other words.

(3) In order to fully check all text, you should check all the text resources in the program, because some dialogs may be more difficult to appear in black box testing.

3, control

(1) Control is aligned:

a, the control between the side-by-side relationship should be left aligned, and the controls of the peers should be laterally aligned.

b, the control with the relationship should be indented.

(2) Control status:

A. The status of the can't operate should be disable, so that the interface also acts as a result of booting the user's use operation.

b, have dependencies, such as (several options for choice (Che)

CK

Box or Radiobox, each option has a separate setting (other controls: Edit, COM

BOBO

X, Che

CK

Box, etc.), then the following control should be disable when the option is not selected, the following control should be DISABLE. See below as the example.

When the option is selected, the following control is an enabled legend.

When the option is not selected, the following control is the legend of Disable.

(3) Taborder of the control

The Taborder of the control should sequentially, from the left to right, the default Taborder should fall on the control of the first Enable status on the interface.

(4) Right-click menu support for control

Allow input controls should support the right-click menu, easy to use users with right-click menus, cut, paste, and select.

(5) Way of operation of the control

a, in the Edit input box of single-line text, support for the Enter: Enter the default operation is the function of the "OK" button in this window.

b, in the operable list control (List, listview), the mouse double-click operation, the keyboard operation should have a corresponding default operation. For example, in the figure below, double-click a list, the default action is the operation of the Modify button; double-click the blank place in the list, the default action should be the action of the Add button; select the item in the list, press the delete key The default operation should be the operation of the Remove button. (6) EDIT control judgment on the validity of the input

a, type determination: Integer, floating-point data input box, other strings (such as ABCD or other characters, etc.) are not allowed to input non-representation data;

B, size judgment: Data type data If there is a size range limit, it is necessary to judge the size of the input (eg, in the input box of the month, only the number of 1-12 can be allowed.

C. Length determination: If it is a length restriction of the string of the program processing, the input box does not limit the length of the input box, which may cause the program error, or the resulting result and the input is incompatible.

d, correctness judgment: Indicates the input box of the path or the full path of the file, and determines if the input path is a valid path, such as: input AAAA or C: Wait is incorrect input.

4, picture

The space displayed is not too big.

5, the overall color of the interface

6, the system menu on the window on the taskbar

Each application, such as a window with a reduction icon on the system taskbar, should have a system to support (restore, maximize, minimize, etc.), to test the correct enable and disable status of each item in the right-click menu. The correctness of sex and functionality.

Second, the prompt dialog test key points:

1, the correctness of text description

2, the correctness of the icon display:

a, program error, error, prohibition operation, etc. Tips: MB_ICONH

AN

D, MB_ICONSTOP, MB_ICONERROR

B, inquiry prompt: MB_ICONQUESTION

C, lament, warning tips: MB_ICONEXCLAMATION, MB_ICONWARNING

D, normal information Tips: MB_ICONASTERISK, MB_ICONINFORMATION

----------------

Esan

2004-3-29

In Shenzhen

转载请注明原文地址:https://www.9cbs.com/read-85058.html

New Post(0)