Functional testing framework for software project

  Functional testing framework may include: friendly interface testing, functional testing, link test, fault tolerance testing, stability testing, routine performance testing , configuration testing, algorithm testing and so on.
   1.1.1 user-friendly test
  Style, style, color, whether coordination
  Interface layout is neat, coordination (show all out to ensure, as far as possible not to use the scroll bar
  Interface operation, Title Description is appropriate (described ambiguity, note whether there misspellings)
  Whether the operation in line with people's habits routine (did not have a similar function controls put together, easy to operate)
  Prompt interface for compliance (should not be displayed in English cancel, ok, should determine the Chinese display, etc.)
  Each interface controls are aligned
  Controls whether the date can be edited
  The length of the date control is reasonable to modify when it can display the time all subject
  Query results list column width is reasonable, whether the label describes reasonable
  Query results list is too wide no horizontal scrolling tips
  For information on longer text, text boxes provided there is no automatic vertical scroll bar
  Are the controls easy data entry
  There is no support for the Tab key, key sequence to be organized, do not bounce
  There does not provide relevant hotkeys
  Description Control prompt is correct
  Module call is unified, the same module whether to invoke the same interface
  Use the scroll bar to move the page, the page is displayed normal controls
  Date should be correct format XXXX-XXXX or XXXX-XX-XXXX: XX: XX
  Are there extra buttons or page label
  Unified whether the window title or icon in the menu bar
  Maximize window, minimize, whether performed correctly
  For normal function, users do not have to read the User Manual will be able to use
  When the execution risk operation, confirmation, delete it and other tips
  The sequence of operations is reasonable
  Check the correctness: form on the review page, button, table, header, footer, message, there are other characters spelling, grammar, sentence is correct.
  Warning system should be performed before the error in the operation of the user, prompt information.
  Check the resolution of a page, the browser friendliness in various resolution system checks the system interface.
  Sanity check: After doing delete, update, add, cancel, back and other operations, see the information back to the page is reasonable.
  Localization by checking whether: the English version of the information should not have Chinese, English translation accurate and professional.
  Frozen gray background
   1.1.2 Functional Test
  Use all defaults for testing
  According to the contents of all product documentation, help in the documentation are to be traversed test
  Input judgment
  All screen appears and is no logic to the test
  Exception Handling
  Sensitive words
  All flowchart path traversed a flowchart requirements document
  The contents of the program, the logical traversal of points if elif else switch to traverse
  Various interface Control Test
   The input box for testing:
  First, the character input box:
  Character input box: English full-width, half-width English, numbers, or empty spaces, special characters "! ~ @ # ¥% ...... & * [] {}?" With particular attention to single quotes and ampersands. When the ban on direct input special characters, use "paste, copy" function attempts to enter.
  Check the length: minimum length, maximum length, minimum length -1, +1 maximum length, such as character input over the entire working paper copy of the past.
  Check the box: enter a space between characters, there are spaces before the character after a space character, a space character before and after
  Multi-line text box, enter: allow carriage return line, and then save the display format of the input can be saved, just enter a carriage return line feed to check whether saved correctly (if checked to save the results, if not, to see if there is a normal prompt),
  Security Check: Enter the special string
  (null,NULL,,javascript,<script>,</script>,<title>,<html>,<td>)、输入脚本函数(<script>alert("abc")</script>)、doucment.write("abc")、<b>hello</b>)
   Second, the numerical input box:
  Boundary values: maximum, minimum, maximum value + 1, the minimum value -1
  Digits: minimum number of digits, maximum number, minimum number of bits -1 +1 maximum number of bits, the input value is long, the input integer
  3. outliers, special characters: enter a blank (NULL), a space, or "~ @ # $% ^ & * () _ + {} | []:!" <>; ', /;:.?'? - = system error may result in other characters, special characters prohibit direct input, to see whether the copying attempt to use the normal paste submitted, word of special features, copied to clipboard entry boxes, page breaks, section breaks down similar formulas standard, such as special symbols, such as the value of [Sigma, ㏒, ㏑, Π, +, -, etc.,
  Input negative integer, negative (in the case where a decimal rounding before 0:00, a plurality of decimal point) decimal fraction, the input letters or characters, decimal number 0 for the first, 01, 02, such as, scientific notation 1.0E2 support, full-width and half-width digital numbers, mixed numbers and letters, hexadecimal, octal value, currency type input (allowing several decimal point),
  Security check: You can not just copy direct input
   Third, the date input box type:
  :( check the legitimacy of input Day 0, 1, 32 days), monthly input [1,3,5,7,8,10,12], the date input [31], on input [4,6,9,11 ], daily input [30] [31], the input non-leap year, month input [2], the input date [28, 29], the input leap year, month input [2], the input date [29, 30], month input [0 , 1,12,13]
  Consider starting date compared with the end of the calendar, especially in query time.
  Outliers, special characters: enter a blank or NULL, enter ~! @ # ¥% ...... & * () {} [], etc. may result in system errors characters
  Security check: You can not directly enter, you copy, whether data validation error?
   1.1.3 Business Process Testing (main function test)
  Business processes, data generally involve multiple modules, so when the business process testing, we must first ensure the correctness of individual modules function, followed by the necessary data transfer between each module test, which is often prone to problems place, be sure to test different design data for testing.
  The functional module having a basic CRUD function, the following tests is required:
  Single function test (add, modify, query, delete)
  Increase -> Add -> Add (continuous increase test)
  Increase -> Delete
  Increase -> Delete -> Add (consistent with the new additions to delete content)
  Increase -> Edit -> Delete
  Modify -> Modify -> modified (modified continuous test)
  Modify -> Add (new additions before the content is consistent with modifications)
  Modify -> Delete
  Modify -> Delete -> Add (new additions to delete the contents of the same)
  Delete -> Delete -> Delete (Delete continuous test)
   1.1.4 Link Test
  The main link is to ensure the availability and accuracy, it is also a test site in a more important aspect.
  You can use a tool such as XENU to link test.
   1.1.5 Fault Tolerance Test
  The system does not allow the input data as input
  Related to a module or subsystem stopped, verify the impact of the current system
  Profile deleted or misconfigured
   Database inject erroneous data
   1.1.6 stability test
  Non-stop operation (7 * 24), verify that the memory leaks, system resources if other leaks exist
  If it is an emergency on the line, you can run a night or weekend run two days.
  General under great pressure, the number of database connection problems, memory leaks will be exposed more quickly but may not reflect the deadlock, it depends on the importance of systems, such as the 12306 stability is best 24/7
   1.1.7 General Performance Test
   Connection speed test
  Users connect to the Web application's speed varies depending on the way the Internet, they may be a telephone dial-up or broadband Internet access. When downloading a program, the user can wait for a long time, but only if a page would not have access. If the Web system response time is too long (eg more than 5 seconds), because users will not have the patience to wait and leave.
  In addition, some pages restricted overtime, if the response is too slow, the user may not have enough time to browse the content, you need to re-landed. Moreover, the connection is too slow, and may cause loss of data, allowing users to get real page.
   Load Test
  Web load test is to measure a load on the system level performance, to ensure that the Web system to normal within range of needs work . Load level may be at some point the number of users simultaneously accessing Web systems, can also be a number of online data processing. For example: Web applications can allow the number of simultaneous users online? If you exceed this number, What will happen? Web applications can handle a large number of user requests for the same page?
   pressure test
  Load testing should be scheduled, tested in a real network environment after the Web publishing system. Because an enterprise internal staff, especially the project team is always limited, and the number of requests a Web system can simultaneously process will be far beyond this limit, therefore, only on the Internet, accept the load test, the result is correct credible.
  Stress testing is the actual destruction of a Web application reflects the system, the test system. Stress testing is to limit the ability to test and fault recovery system, that is, Web application testing system will not collapse, in what circumstances would collapse. Hackers often the wrong data load until the Web application system crash, then gain access when the system is restarted.
  Stress testing area includes forms, landing pages and other information transmission, etc.
   1.1.8 usability testing
  Whether the system interface controls can traverse through the tab key, and reasonable order
  Whether the operation of the inlet and main functions readily appreciated
  Whether the interface layout is reasonable, whether the function is easy to find and use
  Steps
  Operating practices
  There are enough message, and the message text accurately describe
   1.1.9 Compatibility Test
  Compatibility tests not only refers to the interface in a different operating system or browser compatible at some function tests should take into account compatibility,
  Including the operating system and application software compatible compatible, it may also include hardware compatibility
  For example involves ajax, jquery, javascript and other technologies , should take into account the compatibility issues with different browsers.
 
forward from:

Guess you like

Origin www.cnblogs.com/ray-mr-huang/p/10926830.html