The basics of software testing software testing industry has just entered, as I learned to do the following summary.

Software testing (comparison process between the actual output and expected output)

Software Testing: describe a process correctness, completeness, safety and quality of the software used to facilitate the identification. In other words, software testing is an audit or a comparison between the actual output and expected output process . The classic definition of software testing is: under the conditions specified in a program operation , to discover bugs, measure software quality, and evaluate whether it can meet the requirements of the design process.

Simply put, software testing is through product demand analysis to find the BUG program to see if the program needs to achieve.

The basic flow testing: Testing Requirements Analysis - Test Plan - test design - test execution - Test Evaluation

Testing requirements analysis phase: Read product demand, understand the requirements, mainly the business of learning, needs analysis points to participate in needs assessment meeting

Test the planning stage: The main task is to write the test program, refer to the software requirements specification, project master plan, including the distribution test environment, test scope, schedule, human and material resources, the development of the overall test strategy. Risk assessment and measures to avoid a making.

Test design phase: The main is to write test cases, will make reference to the requirements document, outline design, detailed design documentation will be reviewed after the completion of the preparation of use cases.

Test execution phase: build environment, perform the smoke test (pre-test) - and then into the formal testing, bug management until the end of the test.

Testing and evaluation stages: a test report, confirm whether the line.

First test plan includes test environments.

1. Test environment : include hardware and software environment, the necessary hardware environment refers to the test environment server, client, network connection device, and a printer / scanner devices and other auxiliary hardware configuration; software environment refers to the software under test runtime operating system, database and other application software constitute the environment.

Set up on the test environment, one is responsible for the development or operation and maintenance building and maintenance, and the other is to test personnel to build and maintain. If the operation and maintenance is built, it has to be set up and maintain, manuals generally have a fixed maintenance method according to the installation manual provided by the development. If the test is set up, operation and maintenance, and in fact almost dry.

2. Function Test on measurement range : "user needs Instruction Manual" and "The needs analysis specification," Analysis of each module. Tested against various functional modules.

Link Test

    Link is a Web a major feature of the site, which is to guide the user to switch and go to some unknown address of the page the primary means between pages, the content of links to the test:

   If (1) Test all links on demand link to the page should link;

      (2) test the linked page exists;

      (3) ensure that no orphaned pages on the Web site.

      The so-called orphaned pages that are not link to the page only know the correct URL (Uniform Resource Locator) address for access. Link test can be carried out manually, it can be automated. Link test must be completed in the integration testing phase, that is to say, to link test after all pages throughout the Web site developed.

Form Test

 Forms are some online display and fill in the required form. There are some standard form operations such as confirmation, save, submit and so on.

 Accuracy and standardization of the main test form, if appropriate common form of usage; primary test method: Test boundary value, equivalence class test, and an abnormal type test.

Cookies Test

   okie is a very small text file placed on your hard disk by a web server, it is essentially the same as proof of your identity, and not like the code that is executed or used to spread viruses. It can only be you and can only be read by the server. The kies purpose: to help you save time. If you customize pages, or register your product or service. cookie to remember your identity, when again the next time your visit will show the information you need to help you fill in any questions you've already answered before. Content Test Cookies: operation sequence normally used to store user information and user applications on some systems, when a user visits a particular application Cookies systems, Web server sends information about the user, and sends the information to Cookies It is stored on the client computer, which can be used to create dynamic and custom page or store the login information.

If (1) Cookies normal work ;

  (2) Cookies whether to save a predetermined time.

   (3) Cookies refreshed by what impact.

  Database Testing

 (1) Data Check: according to business rules, the user needs to input for verification, it must ensure that these calibration functions work properly.

 Consistency error and output error of general test data.

 (2) Data consistency error: mainly due to the user submits the form information is not correct and caused;

(3) output error: mainly due to network problems or programming speed caused by

      Usability Testing

 Availability / usability testing manual testing method generally judge.

 Navigation tests

Navigation test described navigation mode user operating within a page, between different user interface controls such as buttons, dialog boxes, windows list and the like; or a different connection between pages. Often by hand for web browsing, to be judged according to the general user's browsing habits.

 Navigation test content:

 (1) whether the visual navigation

 Whether the main part (2) Web system can be accessed through the home page

 If (3) Web systems need to site map, search engine or other navigation Help

 (4) whether the lack of return on a directory navigation (although can be achieved through direct clicks, but adding this feature will be more convenient, because most users are the first to find a directory to find the same problem or documents)

 (5) navigation bar, menu, style is consistent connection

 (6) tips are accurate, to ensure that users intuitively know whether there is content, content in any place. Generally best to let the end user participation navigation test, the effect will be more obvious.

 Graphics Test

A Web site may include graphic images, animations, borders, colors, fonts, backgrounds, buttons and so on. Page test pattern is a beautiful part of the test, often used in manual testing.

 Graphic content of the test:

 (1) To ensure that there is a clear use of graphics, pictures or animations do not stack together at random, to avoid waste of transmission time. Image size should be as small as possible, and to be able to clearly explain something

 (2) Verify that all pages in the same font style

 (3) should be the background color and font color and foreground color matched

 (4) the size and quality of the pictures is also a very important factor, generally use the JPG or GIF compression

 Content Test

 Content of the test system used to test web sites provide correctness, accuracy and relevance of information. Such as whether the title text and text content, the presence of unwanted text, whether there is a corresponding operation prompt information (success, failure, does not meet the check, etc.)

Often used way interface to browse.

 Overall interface test

 Page structure designed to test the entire site system meets user requirements specification. General often by way of the browser interface, preferably with end-user involvement. For example, when a user browses Web site, you should consider whether to feel comfortable? Whether intuitively know where to find the information? Whether the entire Web application system design consistent?

 Compatibility Test

 Platform testing

 Using different operating system platform for the site to be tested. The most common are Windows , Unix, Macintosh, Linux  and so on. Which operating system end-users actually use Web site, depending on the configuration of the user's system.

 The same application may be able to operate correctly under some operating systems, but in other operating systems might fail. Therefore, prior to Web publishing systems, the need for compatibility testing of Web systems in a variety of operating systems.

 Browser Testing

 Use a different browser to test the site to browse, view website compatibility issues in different browsers. Web browser is the core of the system client software, browsers from different vendors have different support for Java ,, JavaScript, ActiveX, plug-ins or a different HTML.

 In addition, the framework and hierarchy of styles in different browsers have different display, or simply can not be displayed. Not the same in different browsers and Java security settings.

 Resolution Test

 To adjust the screen resolution of the display to view the website in different resolutions, such as; text display screen resolution is too low, and too high-resolution time and some text.

 Page layout is displayed correctly in 640x400,600x800 or 1024x768 resolution mode?

 Finally, add this: pay attention to use F12 to debug the test, some errors interface is not, but there will be when debugging.

 

Guess you like

Origin www.cnblogs.com/lj12/p/11224054.html