Guide to Gui testing for Windows Applications

Source: Internet
Author: User
--- Mikhail rakh.pdf Original General guidelines for gui testing of any windows Based Application " --- Kiki Translated on 2005/6/7  When testing Windows applications, consider the following:
  • The GUI in the application should be consistent, which is the most basic.
  • It should look and feel the same as other standard Windows Applications
  • Use standard keyset in Software
  • Exiting the system should be clean and agile
Test Windows programs can be divided into the following types of tests: · standardized testing · GUI testing · validation testing · functional testing Standardized Testing: Standardization means that the application being developed should have a standard appearance and feel the same as other window applications. 1. at the beginning, the application should display the "about system" Screen 2. most screen/dialog boxes should have the minimization, recovery, and close buttons 3. indicates the correct icon of the application. 4. all screens and dialogs should have the correct title corresponding to the content. 5. the application can be displayed in the Windows Task Bar and status bar. Gui (GUI) test: This part cannot be solidified because once a GUI guide is set, it may be blindly followed. Different companies have different GUI standards. However, you can still set some general guidelines to have a comprehensive understanding of how to start GUI testing. These guides are mainly applicable to the screen/dialog box of the application. 1. All dialogs should have a consistent appearance that can be separated from other applications. 2. each field on the screen should be labeled accordingly. each screen should have the OK and cancel buttons that match the function 4. the color combination should be attractive. 5. the order of tabs between fields should be horizontally moved. In some cases, the order of tabs can be set to vertical movement. 6. mandatory fields must be marked with a red asterisk. the default <enter> key of the dialog box should be set on the OK button 8. the default <ESC> key of the dialog box should be set on the OK button. Confirm Test :Confirm that the test depends on the fields in the dialog box and the required functions. 1. you can only enter the text box field of the numeric value. You must check the following: · only numbers are allowed, but letters are not allowed. If the field can only accept numbers such as all dates, phone numbers, and zip codes, therefore, 0 and negative numbers are not allowed. 2. only text box fields with letters and numbers can be entered. Check the following: · only letters and numbers are allowed. If a field can only accept first name, middle name, last name, city, and country ,, then you must verify that the first character can only be a letter (sometimes special characters such as-, _, and so on can be accepted ). 3. the combo box field must be tested as follows: · check that there are values in the drop-down box, not empty. · The values of Larry must be sorted alphabetically. This may change as needed, but the standard practice should be in alphabetical order. For example, select a data type from the list: date, integer, string, and text. · The same selected value is displayed when you close or open the same dialog box. Some strings such as "selected value" or "_____" are displayed by default. This is because this allows the user to know that this field should select a value. Avoid displaying the first value in the list. 4. For the list box field, check as follows: · check that there are values in the list box, not empty · the values in the list box must be sorted in alphabetical order and displayed. This may be changed as needed, but the standard practice should be in alphabetical order. · If multiple values are supported in the list box, check whether multiple values can be selected. 5. If the field is an option box, check: · check that all values are required. For example, if you select the date format, the following values may be displayed: mm/DD/YYYY, DD/MM/YYYY, mm/DD/YY, dd/mm/yy, yyyy/mm/DD, etc. · the same selected value 6 is displayed when the same dialog box is closed or opened. numerical Control Test in test function Function Testing1. First, check whether the software includes the features mentioned in the Software Requirement Specification or Feature Specification; 2. Identify the dependent fields in the dialog box. Checks the availability and unavailability of fields. For example, create a contact address in the application. To create a contact address, you must be able to add, delete, and update information. The contact address includes information such as first name, last name, address1, address2, city, state, country, zip, and phone. You can also add other information. This form has mandatory fields and buttons for adding, deleting, and updating. · At the beginning, only the Add button is available. Delete. The update button should be unavailable. This is because no data can be deleted or modified at the beginning (unless a new one is added ). Simply put, unless there is an available record, it cannot be modified or deleted. · Only a record is selected from the list. The Delete and update buttons can be used, and the Add button becomes unavailable. · when the delete and update operations are performed, confirmation information is required. Deleted items should not be displayed in the delete operation list.

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.