Software Testing interview questions

(1) What is software testing? The purpose and principles of software testing?

      Definition: Under the conditions specified in the program to operate, to discover bugs, measure software quality, and evaluate whether it can meet the requirements of the design process.

      The purpose: to discover the error, discovered the existence of the program code or business logic errors, verify whether products meet the needs of users and improve user experience.

      Principle: as 28 principles, the test should be started as soon as possible, to intervene.

(2) What is software quality?

      In line with a clear description of the degree of software functionality and performance requirements, development standards document explicitly described, as well as professional development of all software should have implied features.

(3) the software life cycle?

      Needs analysis planning stage ---- ---- ---- the design phase encoding test ---- ---- Operation and Maintenance

(4) and the software life cycle model?

      The entire life cycle include: defining and planning issues, needs analysis / assessment, software design, software coding, testing phase, operation and maintenance period of six

      Cycle model: waterfall model, iterative model

(5) that software testing is divided into several stages?

      Unit testing, inheritance testing, system testing, acceptance testing is a major stage

      Unit Test: usually carried out by a developer

      Integration Testing: The module assembled in accordance with the design requirements for testing, the main purpose is to identify problems related to interfaces

      System test: is carried out in succession after testing by the aim of fully operational system to verify whether the subsystems are working properly and complete the design requirements

      Acceptance test: on-line before the final test

(6) What is the test? Test Script? What is the relationship between the two is?

      Use Case: a set of a particular set of test inputs and the embodiment is not prepared, the execution condition, various environmental settings and expected results, and the desired result

      Scripts: a script for automated testing is written. Write test scripts must correspond to the corresponding test cases.

(7) At present the main test case design methods are there?

      White box: logical coverage, covering cycle, the basic path coverage

      Black box testing: boundary value analysis, equivalence partitioning, the error guessing method, a causal diagram, a state diagram, outline test method, a random test, the scene Method

(8) the difference between black box and white-box testing? Their advantages and disadvantages?

      Black Box Testing: Benefits - need to know the code and implement internal procedures, regardless of the internal software. From the user point of view, you can easily know which features users will use

                    Disadvantages - low coverage, probably only reach 30% of the total amount of code;

      White-box testing: the advantages - version of the software testers to increase the amount of code coverage, improve the quality of the code, find hidden problems in the code

                    Disadvantages: Based on the test code. Only test developers do team lost, but not know the design is correct or not, may miss some of the functional requirements.

                            When large systems, the test cost will be very large.

(9) black box test case design fee fee What?

      Equivalence partitioning, boundary value analysis, error guessing method, FIG cause, orthogonal table analysis, the scene analysis

(10) What task testers in the software development process is?

      Find a bug in the system as early as possible

      Avoid defects in the software development process

      Quality measure software quality, to ensure the system

      Attention to user needs, and to ensure that the system meets user needs

(11) bug elements?

      Status, type, project belongs, belongs to module defects commit time, the author defects, severity, priority, defect description, test procedure, pre-conditions, test data, expected results and actual results

(12) What test cases contain?

      Number, title, pre-conditions, steps, expected results, implementation date, the actual results, use case testing environment

(13) a software defect record contains what?

      bug number,

      bug severity, priority,

      bug generation module,

      bug summary,

      bug corresponding version,

      bug detailed description of the phenomenon, including some screenshots, videos, etc.

      Bug occurs when the test environment condition, resulting in a corresponding operation step, i.e.,

(14) How to submit high-quality recording software testing?

      ① common UI to be unified, accurate

      ② Expression make use terms and expressions conventional industry

      ③ Each defect report includes only one defect

      ④ non-reproducible defect should report

      ⑤ clearly indicate the type of defect

      ⑥ clearly indicate a serious defect level and time priority, a clear difference between the severity level and priority

      ⑦ description. Introduction, accurate, complete, revealing the essence of defects

      ⑧ The defect select whether the image capture

      ⑨ make use of phrases and punctuation, surface complex sentence sentences

      ⑩ using short line between automatic digital number, using the same font, font size, line spacing,

(15) You found a bug in testing, development manager may think that's not a bug, you should be how to solve?

      We will submit the issue to the defect management library for backup

      According to some requirements specification, product description, prototype drawing, design documents, etc., to confirm whether actual results and plans to have inconsistencies, provide direct evidence of whether a defect is identified.

      If there is no document can be confirmed according to the general habits of the user. There are confirmed with designers, developers and so on.

(16) TCP three-way handshake?

      The client sends a connection request packet to the server

      After the server receives the request packet, if the same connection is a confirmation message

      After the client receives determine packet, but also acknowledgment is given to the server

(17) TCP four times waving?

      The client sends a connection release message, and stops sending data 1

      The server receiving the connection release release message, a confirmation 2

      Client after receiving confirmation request to the server, wait for the server sends a connection release message

      After the server has been sent, it sends a connection release message to the client final data    

      The client receives a link release message server, you must send a confirmation 3

      As long as the server received confirmation sent by the client, immediately close the connection into the state

(18) How to capture in linux and windows, using what tools?

      windows grabbed Bo has many tools, such as fiddler, charles, etc.

      The need to use the tcpdump capture linux, may also be saved, copied to graphical view analyzed in wireshark

      tcpdump is a linux system capture command set, the working principle is based on the flow of data packets in the network card to crawl on the card

(19) the difference between the web and wap?

      wap site using a mobile phone access, web sites with computer access

      wap is an acronym for wireless application protocol, an implementation of application protocol binding between the mobile phone and the number of Internet standards

      web now widely translated network, the Internet, three forms: hypertext, hypermedia, hypertext transfer protocol

      an ordinary web browser, usually with a browser can access

(20) TCP / IP protocol is how data transfer?

      TCP / IP uses a 4-layer structure level, application layer, transport layer, network layer, link layer

      Application Layer: Application layer key communication, such as the Simple Mail Transfer SMTP, file transfer protocol FTP, network and other remote access protocol TeInet

      Transport Layer: This layer provides data transfer services between nodes, such as Transmission Control Protocol TCP, User Datagram Protocol UDP, etc.

      Network layer: Copy provides basic packet data transfer function, so that every piece of data packets can reach the destination host, network protocol IP

      Link layer: the management of actual network media. Define how to use the network to transmit data.

(21) interface test tool is what tools, interface request error how to do?

      Interface test tool is generally used postman. First check to find the cause of the cause of the error request, the request inspection methods did not write right, and whether the type of request parameters such as missing

(22) bug submitted, the development did not solve, this project must be on the line, how should we do?

      First, the severity of the bug very clearly tell developers to avoid the line behind the project, the situation of poor user experience.

      Also repeatedly stressed that development is not a bug, it is possible to reflect on the issue to the top leadership, or by the team to make a final decision.

(23) If a project must be on the line, there is no test module is finished, how do you as a leader?

      Investigation of the entire testing process the name of the tester, comprehensive assessment, given conclusion, because too lazy or replication module Omission or other reasons.

      Warns against that testers, and issued a warning to the relevant test supervisor, project manager, product manager.

(24) on the issue if we feature the line, interface optimization problem, not the code, how do you convince developers to change?

      The code is wrong, the use of a direct impact on the function of surface optimization sister, just to further improve the quality of optimized code

(25) used the monkey do? Adb commands related operations

      adb devices to check whether the connection

      adb version View version

      adb install xxx Installation

      adb shell monkey -s 888 -v -v -v 500   

      adb shell pm list packages all the application package name

      adb shell pm list packages -3 package name all third-party applications

(26) of the test machine (e.g., calling), say 10 test

      ① different operators calling or called number (test switched network)

      ② hang up testing within the network

      ③ cross-network turning test

      ④ hang across the network test

      ⑤ different call mode (direct keyboard entry dialing, address book, select the called party number, dial the call log, the call information list) validity

      ⑥ test call within the network (with or without noise, echo, volume control, a call whether or perform other functions)

      ⑦ inter-network call test

       ......

Guess you like

Origin www.cnblogs.com/peipei-Study/p/12048284.html