Relying on this "2022 Test Stereotype Essay" candidate counterattacked the interviewer, the offer was soft

"2023 Test Interview Stereotypes" 800 real software test interview questions, high-definition print version packaged and taken away, sweeping high-frequency software test interview questions, covering test theory, Linux, MySQL, Web testing, interface testing, App testing, Python, Selenium, Performance test, LordRunner, computer network, data structure and algorithm, logical thinking, human resources and other module interview questions, with a high hit rate, are definitely the gospel of testers and the strongest weapon for interviewers.

PS: In addition to the hundreds of thousands of words in the reference answer, not all the answers have been put up. The high-definition print version has more than 400 pages. Get it at the end of the article

1 Test theory

1.1 Basics of testing

  1. What is software testing?
  2. Purpose of software testing?
  3. Goals of Software Testing
  4. Principles of Software Testing
  5. Workflow for testing
  6. Responsibilities of a Test Engineer
  7. How many types of software are there?
  8. Classification of software
  9. Main aspects of testing

10. The object of software testing

11. What is a "test case"?

12. How to write a case?

13. Two methods of software testing

14. What are the criteria for the end of the test?

15. Software life cycle

16. What is the software life cycle?

17. Software testing is divided into three steps according to the process

18. How does object-oriented design affect testing?

19. Software brings errors for many reasons. What are the main reasons?

20. Some key points of software testing

21. What are the steps of software testing?

22. How to record test script?

23. The test method of how to test should be considered

24. How to estimate the testing workload?

25. Problems with test design

26. When an error occurs in the test process, what are the solutions?

27. Problems with test execution

28. Objectives of Test Evaluation

29. How to improve the test?

30. Advantages and disadvantages of C/S mode

31. Advantages and disadvantages of B/S mode

32. What are the criteria for the end of the test?

33. How can we fully test every point?

34. The relationship between development and testing

35. How to communicate with developers

36. Test process

37. Test exit criteria

38. Test Completion Criteria

39. What data was collected in the test activities?

40. How to choose a work product for user testing?

41. Where is the test environment description?

42. What documents or records were produced during the testing?

43. When do testers need to participate in needs analysis?

44. Who will release the product after testing?

45. The relationship between software testing and debugging

46. ​​What are the eight characteristics of quality? Definition of various characteristics?

47. What is the "quality" of software?

48. From what aspects should software quality be evaluated?

49. What is "software quality assurance"?

50. Why does the software malfunction?

51. What is UML?

52. What is CMM?

53, 55. Compare the differences and connections between black box testing, white box testing, unit testing, integration testing, system testing, and acceptance testing

54. Compare the difference between load test, stress test, capacity test and strength test

55. The three phases of the test execution process

56. What are verification, evaluation, preview and inspection?

57. What is compatibility testing? What aspects does compatibility testing focus on?

58. I have a program now, and it runs very slowly on Windows. How can I tell whether it is a problem with the program or a problem with the software and hardware system?

59. What are the testing strategies?

60. What are the characteristics of the orthogonal table test case design method?

61. Describe the process of using the bugzilla defect management tool to track software defects (BUG)?

62. Do you think there are any problems in the process of using bugzilla?

63. Describe the complete process of test case design?

64. What are the strategies for unit testing?

65. When using QTP for functional testing and recording scripts, how to verify the login/query status of multiple users?

66. What is the function of Action in QTP? How many kinds are there?

67. What functions does TestDirector have, and how to manage the software testing process?

68. What types of software testing are you familiar with? Please try to compare the differences and connections of these different test types (such as functional testing, performance testing...)?

69. What is included in the software defect (or Bug) record? How to submit high-quality software defect (Bug) records?

70. Who usually participates in software review? What is the purpose of this?

71. During the testing activities, if the requirement documents are found to be incomplete or inaccurate, what should be done?

72. What is the difference between stage review and project review?

73. Explain the definition of working version?

74. What is a stub module? What is a driver module?

75. What is fan-in? What is fan-out?

76. What do you think is the key to doing a good job in test planning?

77. What do you think are the basic quality requirements for the test?

78. What stages should a complete set of tests consist of?

79. What is the process of software testing?

80. Tell me about your understanding of SQA's responsibilities and work activities (such as software measurement):

81. What is the main content of unit testing?

82. Integration testing is also called assembly testing or joint testing. Please briefly describe the main content of integration testing?

83. Briefly describe the relationship between integration testing and system testing?

84. Document testing of software testing should run through the whole process of software life cycle, among which user documentation is the focus of document testing. So what does the user documentation of the software system include?

85. In addition to user documents in the software system, which documents should document testing focus on?

86. Briefly describe the key points of user documentation testing in the software system?

87. What is the main content of unit testing?

88. How to understand the strength test?

89. How to understand stress, load, and performance testing?

90. What is the system bottleneck?

91. What does the document test mainly include?

92. To what extent do functional test cases need to be detailed to be qualified?

93. What is the difference between configuration and compatibility testing?

94. What does the software documentation test mainly include?

95. Can black-box testing be performed without product manuals and requirements documents?

96. What is the "strange thing about pesticides" in the test?

97. In the configuration test, how to judge whether the defect found is a common problem or a specific configuration problem?

98. Why try not to allow time for rich employees to do some testing?

99. Is it possible to fully test the program?

100. Where are the risks of software testing mainly reflected?

101. The more defects found, does it mean that there are more software defects?

102. Can all software defects be repaired? Do all software bugs have to be fixed?

103. Are software testers QA?

104. How to reduce the loss caused by testers' job-hopping?

105. What is the difference between test product and test project?

106. What are the points for attention in joint testing with users (UAT testing)?

107. How to write a test report submitted to the user?

108. What is the status of testing tools in testing work?

109. What is software testing and the purpose of software testing?

110. Briefly describe the difference between load testing and stress testing.

111. Write down the steps of bug report circulation, the person responsible for each step and the main work completed.

112. Write some necessary content in the bug report.

113. How to solve the problem that developers always make some low-level mistakes?

114. What is the difference between the software construction number and version number? BVT (Build Verification Test)

115. The role of testing in the development phase

116. What does a complete development process look like?

117. The relationship between testing and development stages

118. What are the 5 common problems in the software development process?

119. What are the solutions to the problems in the software development process?

120. What are the stages in the software life cycle? What are the common software life cycle models?

121. What is the difference between Beta testing and Alpha testing?

122. What do you think is the key to doing a good job in test cases?

123. Briefly describe the life cycle of defects?

124. From what aspects should software security be tested?

125. What is the situation and understanding of software configuration management work?

126. What do you think the standards for passing software testing should be?

127. What is the meaning of introducing test management?

128. What is version control, and what are the commonly used version control systems?

129. Briefly describe the relationship between software testing and software development?

130. Why should software testing work be carried out in a team?

131. What kind of work have you been engaged in in the past testing work? Which part of the job are you best at?

132. What types of software testing are you familiar with? Please try to compare the differences and connections of these different test types (such as functional testing, performance testing...)

133. What do you think is the key to doing a good job in test case design?

134. Please try to compare the differences and connections between black box testing, white box testing, unit testing, integration testing, system testing, and acceptance testing.

135. What is the purpose of the test plan? What is included in the test planning work? Which of these are the most important?

136. What are the test case design methods you are familiar with? Please use specific examples to illustrate the application of these methods in the design of test cases.

137. Tell me about your understanding of software configuration management?

138. Please use your past actual work as an example to describe in detail the complete process of a test case design.

139. Have you ever worked in performance testing? If so, please describe the complete process of your previous performance testing work in as much detail as possible.

140. Where is your greatest interest in testing? Why?

141. What was the testing process in your previous work?

142. When the developer says it's not a bug, how do you deal with it?

143. What items does the test summary report include?

144. Halfway through the test work, it is found that there is not enough time, how do you deal with it?

145. The relationship between development and testing

146. If you are the test team leader, how do you manage the project and team members

147. Classification of defect report severity levels

148. How to ensure that other functions are not affected after the developer fixes the defect

149. After discovering the problem, how do you judge whether it is a BUG, ​​and how do you submit it?

150. Repairing a BUG causes other BUGs to appear, how to deal with it

151. Defect handling process

152. The defect report includes those items

153. Introduce the overall project process

154. How do you make test plans in actual projects?

155. How did you formulate the time schedule during the testing process?

156. The test plan includes those items

157. What are the levels of bugs?

158. Tell me about your understanding of software configuration management.

159. Tell me about your understanding of software testing/quality assurance based on your experience?

160. What is the difference between QA and QC?

161. What is the purpose of software testing?

162. How to define the severity level and priority level of the submitted bug?

163. What are the similarities and differences between Web and APP testing?

164. How to understand regression testing? Have you ever thought about how to reduce the workload of regression testing?

165. What does a software defect (or BUG) include? please list in full

166. What are the classifications of software testing methods?

167. What are the main methods of designing test cases?

168. What is the focus of unit testing, integration testing, and system testing?

169、 How to become an excellent test engineer

170. What aspects should be arranged in the test plan?

171. Why is there a test report? What content usually needs to be explained in a daily test report?

172. In the project tests you participated in or were responsible for, what difficult problems occurred, and how were they resolved? What did you do in the process?

173. In the testing work, what testing methods do you often use? In what scenarios are they used?

174. What is a test case? When designing a test case, what design methods do you usually use? How should it be designed to ensure the coverage of test cases?

175. Black box testing is mainly to find those types of errors?

176. What is the process of testing work? What are the defect states? How many ways to design test cases?

1.2 Demand Analysis

  1. When do demand personnel need to participate in demand analysis?
  2. What if the requirements are changing all the time?

1.3 Test model

  1. What are the common test models?
  2. According to the "V" model, please summarize the work tasks of the testers in the requirements definition phase, design phase, coding phase, and system integration phase of the software and the corresponding generated documents?
  3. Description of the W model?
  4. Draw a V-model diagram of software testing.

1.4 Test plan

  1. What is the purpose of the test planning exercise? What is included in the test planning work? Which of these are the most important
  2. Six elements of test plan writing?
  3. During the execution of the project version, how do testers control the progress of the test?
  4. What issues need to be understood before developing a test plan?
  5. What does the test plan include?
  6. How to make a test plan?
  7. What are test resources
  8. What are the risks and problems of testing

1.5 Testing Strategy

  1. What is a "testing strategy"?
  2. What does the testing strategy include?
  3. What are the strategies for system testing?

1.6 Types of tests

  1. Please list the types of software testing you know, at least 5?
  2. What are the differences and connections between black box testing, white box testing, unit testing, integration testing, system testing, and acceptance testing?
  3. What are the commonly used testing methods for black box testing and white box testing, for example?
  4. Briefly describe the advantages and disadvantages of black box testing and white box testing?
  5. Can black-box testing be done without product specifications and requirements documents?
  6. What are the strategies of unit testing and what are the main contents?
  7. Briefly describe the process of integration testing
  8. Guidelines for integration test entry? Exit criteria?
  9. Integration testing usually has those strategies?

10. What project documents do I need to refer to when designing a system test plan?

11. Does the system test plan need peer review and why?

12. The difference between Alpha testing and beta

13. What should I do if there are many low-level defects in the system testing stage?

14. What are the entry and exit criteria for system testing?

15. What should I do if there are many low-level defects in the system testing stage?

16. What aspects does system testing include?

17. What is acceptance testing?

18. What tests does the software acceptance test specifically include?

19. What is functional testing?

20. 2 What is the difference between functional testing and performance testing? (Only two aspects are summarized, there are others to supplement)

21. Compatibility testing

22. What is usability testing?

23. What is document testing

24. How to do a good job in document testing

25. What should be paid attention to in document testing?

26. What is security testing?

27. When is automated testing applicable?

28. When is it not appropriate to use automation

29. What is performance testing?

30. Have you ever used some testing tools when you were engaged in performance testing? If so, please describe how the tool works, and describe how the tool is used in real work with a specific working example.

31. What do you think is the purpose of performance testing? What is the key to doing a good job in performance testing?

32. When is the most appropriate time to start performance testing

33. The purpose of concurrent performance testing is mainly reflected in three aspects?

1.7 Test process

  1. What are the basic processes of software testing?
  2. What are the criteria for the end of the test?
  3. What are the principles of software testing?

1.8 Use case design

  1. What is a test case, the basic elements of a test case?
  2. How to write test cases
  3. Describe the complete process of test case design?
  4. What are the characteristics of a good test case?
  5. Principles of test case formulation?
  6. Are test cases included in test baseline management? Process for test case changes? How are test cases identified?
  7. When to write test cases? What is the basis? How to ensure the consistency of test cases and requirements? Need peer review?
  8. How are test cases designed?
  9. How to ensure that use cases cover rare defects?

10. When to write test cases? What is the basis? How to ensure the consistency of test cases and requirements? Need peer review?

11. What should be paid attention to when writing test cases

12. How to improve the test efficiency under limited circumstances and ensure the quality of the product on the line?

13. How to reduce the missed rate

14. The basic design method of test cases

15. Why write test cases for testing

1.9 Defect bugs

  1. What is a defect report, the role of a defect report, the main points of a defect report
  2. Priority levels for bug reports
  3. Simple overview of bug reports
  4. What does a bug report include?
  5. 5C Principles of Software Testing Defect Reporting
  6. The life cycle of a software defect?
  7. What should be included in the defect description (report)?
  8. How to improve the recording quality of defects?
  9. What if a bug is submitted and the developer doesn't think it's a problem?

10. Principles of Software Defects

11. Characteristics of software defects.

12. Causes of software defects

13. What is a bug?

14. Defect handling process

15. Classification of defects

16. How to ensure that other functions will not be affected after the developer fixes the defect?

17. What should I do if the defect whose status is modified has not been modified?

18. The ultimate goal of producing software is to meet the needs of customers. We use customer needs as the standard for judging software quality. What factors do we think the specific meaning of software bugs (Software Bug) includes?

19. How to conduct defect assessment

1.10 Test Cases

  1. Given a website, how should you test it?
  2. A paper cup with an advertisement, please design a test case?
  3. How to design a use case for an ID number input box?
  4. How to design test cases for the login function?
  5. What is the difference between mobile and web testing
  6. Factors to consider when testing a C/S client
  7. Test elevator, please describe in detail
  8. Test a ballpoint pen
  9. The difference between game testing and software testing

10. Imagine a login box, including ID, password, login, cancel, remember password (check box), and write down the test points you think of as much as possible?

11. For the test point of adding a shopping cart, tell me how you want to test "adding a shopping cart"

12. How to test online bank transfer, design a test case.

2 Linux Basics

  1. Name 10+ Linux commands
  2. In RedHat, what command is generally used to switch from the root user to the userl user?
  3. How to hide files in Linux?
  4. In the Linux system, the access permission of a file is 755, what does it mean?
  5. How to check CPU information?
  6. See which processes are consuming the most CPU?
  7. How to view the last 50 lines of a file?
  8. How to filter lines containing "ERROR" in the file content?
  9. Check a certain port number?

10. Check a process number?

11. What is the difference between grep and find? What are the uses of grep?

12. Check the IP address?

13. Create and delete a multi-level directory?

14. Find the haha.txt file in the current user's home directory?

15. How to check out the process of Tomcat and kill it, and write Linux commands?

16. Dynamically view log files?

17. What is the command to view the system hard disk space?

18. View all ports of the current machine listen?

19. What is the command to pack and compress a folder into .tar.gz, and the command to decompress and unpack .tar.gz?

20. If the Xshell tool wants to upload or download files from the server, what package can be installed on the server?

21. Taking the first five lines of /etc/passwd as an example, extract the user name?

22. What is the difference between find and grep in Linux?

23. What command is used to view files in Linux, and what command is used to view processes

24. What commands are commonly used to view logs, and what are the main contents to be viewed

3 MySQL basics

  1. What is a database?
  2. What is a relational database, what are primary keys, foreign keys, and indexes?
  3. Write out the addition, deletion, modification and query SQL syntax of the table
  4. What are the SQL table join methods?
  5. What are the connection query methods of tables, and what are the differences?
  6. What three paradigms?
  7. What is the complete execution sequence of the SQL select statement?
  8. Tell me about the principle of MySQL database storage?
  9. The nature of the transaction?

10. Briefly describe what are stored procedures and triggers?

11. What is a database index?

12. How to optimize the query efficiency of the database?

13. Which MySQL engine do you use, and what are the differences between each engine?

14. How to optimize the query command?

15. Database optimization?

16. How does SQL injection occur and how to prevent it?

17. What is the difference between NoSQL and relational database?

18. What is the most basic difference between the essence of MySQL and MongoDB

19. How to implement pagination in MySQL database?

20. How to operate MySQL database?

21. Optimize the database? Improve database performance?

22. What is data integrity?

23. What is the difference between a stored procedure and a function?

24. How to optimize SQL query?

25. The role of the index, the difference between the clustered index and the non-clustered index

4 Web testing

  1. Describe the process of accessing http://www.baidu.com with a browser
  2. Taking the homepage of JD.com as an example, design a use case framework. (Pay attention to the framework design logic, area division, special test, etc., no detailed use cases are required, you need to check the PC and directly ask for the identification management)
  3. How to test the purchase order and return process
  4. What is SQL injection, what is cross-site scripting, and what is cross-site request forgery?
  5. How to test a website for you?
  6. How to test the e-commerce payment module?
  7. How to carry out compatibility testing?
  8. What are nginx, tomcat, and apache?
  9. The difference between apache and nginx?
  10. 0 What methods does Selenium have for locating elements

5 interface test

  1. what is an interface
  2. If the module requests http to https, how should the test plan be formulated and modified?
  3. What are the common HTTP protocol debugging proxy tools? Explain in detail the setup process for crawling HTTPS protocol?
  4. Describe the hierarchical structure of the TCP/IP protocol and the important protocols in each layer
  5. jmeter, the response result of an interface is as follows:
  6. How to clean up the garbage data generated by the interface
  7. How to deal with reliance on third-party interfaces
  8. Where do you put the test data?
  9. What is data-driven and how to parameterize it?

10. The request parameters of the next interface depend on the return data of the previous interface

11. How to deal with login-dependent interfaces

12. What are the steps of interface testing?

13. How to test the interface that depends on the login status in the interface test?

14. How to test the interface that depends on third-party data?

15. Explain what is SOAP?

16. Explain what is REST API?

17. What types of bugs are found by API testing?

18. Which category does the interface we test belong to?

19. Where are cookies saved?

20. What request methods does HTTP have?

21. What is the process of interface automation testing?

22. What are the main points of writing interface test cases?

23. Mention the key difference between UI level testing and API testing?

24. How HTTPS Works

25. What are the advantages of HTTPS?

26. Disadvantages of HTTPS

27. The main differences between HTTPS and HTTP are as follows:

28. What is the difference between POST and GET?

29. What is the difference between Session and Cookie?

30. What is the difference between TCP and UDP

31. What is TCP/IP?

32. What are the common protocols tested in API testing?

33. What is the function of cookies?

34. Test points for cookie testing

35. Disadvantages of cookies

36. The difference between cookie and session

6 App testing

  1. What are the four major components of Android?
  2. When clicking the APP icon to start the program, what processes will happen?
  3. What are the main contents of APP testing, and how to carry it out?
  4. What is considered in Android compatibility testing?
  5. Write a test point for the installation function of the App?
  6. Commonly used ADB commands?
  7. How to save the content to a local file when viewing the logcat command log?
  8. App crashes (flashback), what could be the cause?
  9. How to test and monitor the app's memory usage, CPU consumption, and traffic usage?

10. How to test weak network

11. What does "//*[contains(@text,"login")]" mean

12. What are the startup methods of Appium

7 Management Tools

  1. Briefly describe commonly used bug management or use case management tools, and describe one of the workflows?
  2. What is the difference between Zen Tao and qc?

8 Basics of Python

8.1 Basics of Python

  1. Fibonacci sequence to find N?
  2. String output in reverse order?
  3. Judgment palindrome?
  4. Count the number of lines of code in the python source code file, remove comments, blank lines, and output?
  5. python calls cmd and returns the result?
  6. Bubble Sort
  7. How many different and non-repeating three-digit numbers can be composed of the four numbers 1, 2, 3, and 4?
  8. 4. Given an integer N and a number K of 0-9, it is required to return the number of occurrences of the number K in 0-N
  9. Please use python to print out symmetric numbers within 10000 (symmetry number characteristics: numbers are symmetrical left and right, such as: 1, 2, 11, 121, 1221, etc.)

10. Determine how many prime numbers there are between 101-200, and output all prime numbers

11. A function that inputs a triangle, whether the output can form a triangle after input, and the type of triangle, please use the equivalence class division method to design test cases

8.2 Input and output

  1. What can go wrong if you want to modify immutable data in your code? What exception is thrown?
  2. What method does print call under the hood in Python?
  3. Briefly describe your understanding of the input() function?
  4. How to extract the elements of the second layer from the python two-layer list

8.3 Conditions and Loops

  1. Read the following code, write the final value of A0, A1 to An?
  2. What is the difference between range and xrange?
  3. Consider the following Python code. If it finishes running, what is the result of running it on the command line?
  4. Considering the following code, what is the result after running it?

8.4 Dictionaries

  1. what is a dictionary
  2. Existing dictionary d={'a': 24, 'g': 52, 'i': 12, 'k': 33} Please sort by the value value in the dictionary?
  3. Tell me the difference between a dictionary and JSON?
  4. What are mutable and immutable types?
  5. Is the data stored in the dictionary sorted?
  6. Dictionary comprehension?
  7. Existing dictionary d={'a': 24, 'g': 52, 'l': 12, 'k': 33} Please sort by the value value in the dictionary?

8.5 Strings

  1. What is a Python string
  2. How to understand the \ character in a string in Python?
  3. Please reverse the string "aStr"?
  4. Please sort by the age of the elements in alist from large to small

8.6 List

  1. What is a list in Python
  2. list increase
  3. Value and modify value: list name [index]: get the value according to the subscript.
  4. Delete del list name [index]: delete the data of the specified index.
  5. list name. remove(data): Delete the first occurrence of the specified data.
  6. list name. pop(): delete the data at the end, return value: returns the deleted element.
  7. list name. pop(index): Delete the data at the specified index and return the deleted element.
  8. list name. clear(): Clear the elements of the entire list.
  9. Sort list name. sort(): Sort in ascending order from small to large.

10. List name. sort(reverse=True): Sort in descending order from large to small.

11. List name. reverse(): The list is reversed and reversed.

12. len (list name): get the length of the list.

13. List name. count(data): The number of times the data appears in the list.

14. List name. index (data): The index when the data first appears in the list, if it is not found, an error will be reported.

15. if data in list: Determine whether a certain element is contained in the list.

16. Loop traversal

17. Write a list generator to generate an arithmetic sequence with a tolerance of 11

18. Given two lists, how to find the same elements and different elements?

19. Please write a piece of Python code to delete duplicate elements in a list?

20. Given two lists A and B, please use to find the same elements in A and B, and the different elements in A and B

8.8 Collection

  1. what is collection
  2. Quickly remove duplicate elements from a list
  3. Intersection: shared parts
  4. union: part of the total
  5. Subtraction: the part of another set that is not in the other set
  6. Symmetric difference (in either a or b, but not both)

8.9 File Operation

  1. How does 4G memory read a 5G data? (2018-3-30-lxy)
  2. Now we need to process a file with a size of 10G, but the memory is only 4G. If we only modify the get_lines function and keep other codes unchanged, how should we implement it? What are the issues that need to be considered?
  3. What is the difference between read, readline and readlines?

8.10 Functions

  1. When a Python function is called, is the parameter passed by value or by reference?
  2. Understanding of default parameters?
  3. Why function names can be used as parameters?
  4. What does the pass statement do in Python?

8.11 Built-in functions

  1. map function and reduce function?
  2. Condition for a recursive function to stop?
  3. Callback function, how to communicate?
  4. What are the main built-in data types in Python? The output of print dir( 'a ') ?
  5. Output of print(list(map(lambda x: x * x, [y for y in range(3)])))?

8.12 Lambda

  1. What are lambda functions? what is the benefit?
  2. What are lambda functions? What good is it? Write an anonymous function to find the sum of two numbers?

8.13 Object Orientation

  1. What are the characteristics, advantages and disadvantages of structured programming and object-oriented programming?
  2. Mutable and immutable objects in Python?
  3. Difference between is and == in Python?
  4. Python's magic method?
  5. How to implement read-only properties in object-oriented?
  6. Talk about your understanding of object-oriented?

8.14 Regular expressions

  1. What is the difference between match and search in Python?
  2. Python string find and replace?
  3. What is the difference between <. > and <. ?> when matching HTML g tags in Python ?
  4. Please write down the meaning of the following regular keywords?

8.15 Abnormal

  1. Will the code in finally be executed after return in except? How to throw a custom exception?
  2. Tell us about the function and usage of except?

8.16 Modules and packages

  1. What are the commonly used Python standard libraries?
  2. What is the difference between assignment, shallow copy and deep copy?
  3. What is the difference between init and new?
  4. How to generate random numbers in Python?
  5. Enter a certain month and day of a certain year, and judge whether this day is the day of the year? (available with the Python standard library)
  6. Shuffle a sorted list object alist?
  7. Explain what os.path and sys.path represent respectively?
  8. os module common approach in Python?
  9. Common methods of Python's sys module?

10. What are modules and packages?

8.17 Python features

  1. Is Python strongly or weakly typed?
  2. Talk about what is an interpreted language and what is a compiled language?
  3. Is there a log in Python? how to use?
  4. How does Python perform type conversion?
  5. Tool installation problem
  6. Regarding the running of Python programs, is there any way to improve performance?
  7. Scope in Python?
  8. What is Python?
  9. What are Python namespaces?

10. What is the code specification you follow? Please give an example of its requirements?

9 Selenium related

  1. What is Selenium?
  2. What is Selenium Webdriver
  3. S What is elenium IDE?
  4. 2. Commonly used automated testing tools and machine operating principles, write a piece of code for element search?
  5. How to build an automated testing framework?
  6. 4. How to design automated test cases:
  7. How does webdriver open and exit a browser?
  8. What is an automated testing framework?
  9. What is Selenium and what are the popular versions?

10. How do you start Selenium RC from the command line?

11. Port 4444 is not free on my machine. How can I use another port?

12. What is Selenium Server, and how is it different from Selenium Hub?

13. How do you connect to the database from Selenium?

14. How do you verify that an object exists on multiple pages?

15. What is the difference between using single slashes and double slashes in XPath?

16. How to write user extensions for Selenium IDE / RC?

17. How to verify the existence of elements after the page loads successfully?

18. What do you know about Selenium Grid? What functions does it provide?

19. How to start Selenium server from your Java Class?

20. What are the verification points in Selenium?

21. What is XPath? When should you use XPath with Selenium?

22. What is Selenium's CSS Locator Strategy? Explain with examples.

23. When there are many locators, such as ID, Name, XPath, CSS locator, which one should I use?

24. What is the mechanism for handling multiple popup windows in Selenium?

25. How do you handle AJAX controls using Selenium?

26. What are the advantages of Selenium Webdriver over Selenium RC?

27. What is the main difference between the "GET" and "NAVIGATE" methods?

28. What is the difference between implicit wait and explicit wait?

29. How would you handle alerts/popups in Selenium WebDriver?

30. How to solve the SSL authentication problem in IE?

31. What are the available locators in Selenium WebDriver?

32. How to deal with AJAX controls in WebDriver?

33. Roughly classify and compare TDD/BDD and DDD frameworks?

34. What is a data-driven framework? How is it different from Keyword Driven Framework?

35. Explain the benefits of using TestNG instead of JUnit framework?

36. What is the purpose of TestNG parameters related to @Test annotation?

37. Can TestNG be used to run a set of test cases?

38. Which implementation of WebDriver is the fastest and why?

39. Can I use Selenium RC API in Selenium 2.0?

40. Can Selenium Grid be used in Java, Dot Net or Ruby?

10 performance test

  1. What are the classifications of performance testing
  2. What do you think the purpose of performance testing is? What is the key to doing a good job in performance testing?
  3. From what angles are server-side performance analysis performed?
  4. How to understand stress testing, load testing and performance testing?
  5. How to judge whether there is a memory leak and the indicators of concern?
  6. Describe the causes of memory leaks in software and how to check them. (It can be described in combination with a development language)
  7. Briefly describe what is value transfer, what is address transfer, and what is the difference between the two?
  8. What is a system bottleneck?

11 LordRunner related

  1. 1. What is the working principle of LoadRunner?
  2. What are the three parts of LoadRunner?
  3. What is the process of testing with LoadRunner?
  4. What is concurrency? How to test concurrently in lordrunner? What happens if the rendezvous point fails?
  5. How are LoadRunner scripts recorded and written?
  6. What does Think Time in LoadRunner do?
  7. 4. Entering Chinese characters in the search engine can resolve to the corresponding domain name, how to use LoadRunner for testing?
  8. 5. What is the difference between a client with 300 clients and 300 clients with 300 clients putting pressure on the server?
  9. The customer delivered a performance test project, please explain your implementation process.

10. Explain the names and specific meanings of 5 commonly used performance indicators.

11. Write out 5 commonly used functions in Loadrunner, and illustrate the usage of 2 of them.

12. Briefly describe the working principle of LoadRunner?

13. What is a meeting point? What is the point of setting up a rendezvous point? Which function in LoadRunner sets the rendezvous point?

14. What is the difference between HTML-based script and URL-based script?

15. How to set up LaodRunner so that the rendezvous point only takes effect for half of the users?

16. What is the function of the Pacing parameter in the Controller component of LoadRunner?

17. How to monitor Windows resources in LoadRunner?

18. If you let QALoad simulate LoadRunner to iteratively test only the performance points you care about, what good method do you have?

19. What is load testing?

20. What is performance testing?

21. Explain the load testing process?

22. When do we do load and performance testing?

23. What are the components of LoadRunner?

24. Which component of LoadRunner do you use to record scripts?

25. Which component of LoadRunner do you use to play back scripts in multi-user mode?

26. Which component of LoadRunner do you use to play back scripts in multi-user mode?

27. What is a scene?

28. Explain the recording mode of the Web Vuser script

29. Why create parameters?

30. What is association? Explain the difference between automatic and manual correlation

31. What is association? Explain the difference between automatic linking and manual linking, where do you set the option for automatic linking

32. What function can capture the dynamic value of the Web Vuser script?

33. When do you disable logging in the Virtual User Generator, and when do you select standard logging and extended logging?

34. How do you debug LoadRunner scripts?

35. How do you write user-defined functions in LR? Write a few functions from your previous projects?

36. What changes can you set in the run-time setting?

37. Where do you set up iterations during Vuser testing?

38. How do you perform functional testing under load?

39. What is Ramp up? How do you set it up?

40. What are the advantages of running Vusers as threads?

41. If you want to stop the execution of the wrong script, how to do it?

42. What is the relationship between response time and throughput?

43. How do you identify performance bottlenecks?

44. If the web server, database server, and network are all normal, where might be the problem?

45. How do you find out about web server related problems?

46. ​​How do you find relevant questions in the database?

47. What is the difference between an overlay map and an association map?

48. How do you plan the load? What is the standard?

49. What does the vuser_init action contain?

50. What does the vuser_end action contain?

51. What is Think Time? How do you change this threshold?

52. Briefly describe the steps of using Loadrunner

53. What is a meeting point? What is the point of setting up a rendezvous point? Which is the function to set the rendezvous point in Loadrunner?

54. How do you perform functional testing in load testing mode?

55. What is incremental increase? How do you set it up?

56. What is the relationship between response time and throughput?

57. Explain how to configure the system counter in LR?

58. Why set thinking time and pacing in LoadRunner

59. How to understand TPS?

60. The difference between setting threads and processes in loadrunner

61. What is the difference between HTML-Based scr īpt and URL-Based scr īpt recording?

62. This time, loadRunner records SQL Server to introduce how to test the execution performance of a SQL statement or stored procedure.

63. How does LoadRunner create scripts?

64. How does LoadRunner set the Recording Options option? (Take single-protocol http/html as an example)

65. How does LoadRunner choose a protocol?

66. What common protocols does Loadrunner support?

67. What are the types of performance tests?

68. What are the common analysis points of Loadrunner?

69. What is the number of concurrent users? What is the relationship with the number of online users?

70. How to solve the problem that the LoadRunner request cannot be found?

71. What are the LoadRunner HTTP server status codes? How to solve?

72. What are the three types of HTTP timeouts?

73. Where to set the HTTP page filter?

74. How to set a virtual IP to correspond to a Vuser?

75. ≈What is contentcheck? How to use it?

76. What bandwidth is simulated in the speed simulation in the network?

77. What is the significance of generating a Web performance graph? It can be roughly described.

78. What does WAN emulation simulate?

79. What are the advantages of tree view and script view?

80. How many types of APIs are there in LR?

12 computer network

  1. What are LAN and WAN
  2. What is DNS and how does it work?
  3. Describe the hierarchical structure of the TCP/IP protocol, and the important protocols in each layer.
  4. Please briefly describe the meaning of ip address, gateway and subnet mask.
  5. Briefly describe the purpose of the subnet mask.
  6. The IP of a computer is 192.168.10.71 and the subnet mask is 255.255.255.64. Is it the same LAN as 192.168.10.201?
  7. Please briefly describe the concepts of DNS, active directory, and domain.
  8. What does 10M mega broadband mean? What is the theoretical download speed?
  9. What is an IP address?

10. What is the division of the OSI seven-layer network model?

11. What is the difference between TCP and UDP?

12. Which layer protocol does HTTP belong to?

13. What is the difference between HTTP and HTTPS?

14. What is the difference between cookies and session?

15. What is the difference between an HTTP get request and a post request?

16. What is the difference between HTTP1.0 and HTTP1.1

17. What is the TCP connection establishment process and disconnection process?

18. How does the client use DHCP to obtain an IP?

19. Write down the network address and broadcast address of a certain network segment?

20. What is *** and what types are there?

21. The difference between B/S and C/S

22. 21. What are the differences between TCP/UDP?

23, 22, ISO model? HUB, tch, and Router are which layers of ISO equipment?

24. The difference between threads and processes

25. Commonly used response codes

26. Manually modify the Tomcat port, in which file?

13 composition principle

  1. basic components of computer
  2. The execution process of an instruction in the CPU
  3. 3. Logical components of a computer
  4. Name more than 4 commonly used operating systems and their main application areas (except Microsoft's operating system).
  5. What is the role of the PATH environment variable in the Windows operating system?
  6. What are the currently popular operating systems? Please give an example to explain the precautions for installing the operating system?

14 Data Structures and Algorithms

  1. Bubble Sort
  2. insertion sort
  3. Hill sort
  4. direct selection sort
  5. heap sort
  6. merge sort
  7. radix sort

15 logic questions

  1. Burning an uneven rope takes a total of 1 hour from start to finish. Now there are several ropes of the same material, how to use the method of burning ropes to time an hour and fifteen minutes?
  2. You have a bucket of jelly, there are three types of jelly, yellow, green, and red. Close your eyes and grab two of the same color. How many can you grab to be sure you have two jellies of the same color?
  3. If you have an infinite amount of water, a 3 liter bucket and a 5 liter bucket, and the shape of the two buckets is uneven, how can you accurately weigh 4 liters of water?
  4. A fork in the road leads to the honest country and the liar country respectively. Two men came, one known to be from the honest country and the other from the liar country. An honest country will always tell the truth, and a lying country will always tell lies. Now you are going to the country of lies, but don't know which way to go, you need to ask these two people. How should I ask?
  5. There are 12 balls on a scale, and now we know that only one has a different weight from the others. How can we find that ball by weighing it three times? (Note that this question does not indicate whether the weight of the ball is light or heavy, so it needs to be carefully considered)
  6. In a 24-hour day, how many times do the hour, minute and second hands of a clock coincide exactly? What time are they? How did you figure it out?
  7. Known: Each aircraft has only one fuel tank, and the aircraft can refuel each other (note that it is mutual, there is no tanker). One tank of fuel can allow an aircraft to fly half a circle around the earth. Question: In order to make at least one aircraft circle the earth for one Circle back to the airport at the time of takeoff, at least how many planes need to be dispatched? (All planes take off from the same airport and must return to the airport safely, no midway landing is allowed, no airport in between)
  8. There are two prisoners in a cell. Every day, the prison will provide this cell with a can of soup for the two prisoners to share among themselves. At first, these two people often had disputes, because they always thought that the other party had more soup than their own. Later they found a way to get the best of both worlds: one person shares the soup and the other chooses first. So the dispute was settled. However, now a new prisoner has been added to this cell, and now there are three people sharing the soup. A new way must be found to keep the peace between them. what can we do about it? Press: psychological problems, not logical problems
  9. Place n round coins of the same size on a rectangular table. Some of these coins may not be completely in the table, and some may overlap each other; when another coin is placed and its center is in the table, the newly placed coin must overlap with some of the original coins. Prove that the entire tabletop can be completely covered with 4n coins.

10. There are five houses lined up in a row. All the houses have different exterior colors. All the owners are from different countries. All the owners have different pets; drink different drinks; smoke different cigarettes. Tips:

11. If 29 frogs catch 29 flies in 29 minutes, how many frogs are needed to catch 87 flies in 87 minutes?

12. A person bought a chicken for 8 yuan and sold it for 9 yuan. Then he thought it was not worth it, bought it back for 10 yuan, and sold it to another person for 11 yuan. How much money did he make?

13. Five students, A, B, C, D, and E, are likely to participate in the computer competition. According to the following conditions, determine who has participated in the competition?

14. One day a customer came to Zhang San's store and picked up an item worth 25 yuan. The customer took out 100 yuan, but Zhang San had no change and couldn't change it, so he went to the store next door to change the 100 yuan into change, and when he came back, he gave the customer 75 yuan in change. After a while, Li Si came back to Zhang San and said that the money just now was fake money. Zhang San immediately exchanged real money for Li Si. How much did Zhang San pay?

15. If the fraction of minutes from 9:00 am 20 minutes ago is equal to three times the number of minutes from 12:00 am now, how many minutes until 12:00 am now? )

16 Human resources

  1. What is your testing career progression? What do you think are the advantages of doing testing?
  2. When you are looking for a job, what is the most important consideration?
  3. Why should we admit you?
  4. Please tell us about your personal best feature.
  5. What qualities and skills should a test engineer possess?
  6. Also, how do you ensure the quality of the software, that is to say, how do you think the quality of the software can be guaranteed to the greatest extent?
  7. Why did you choose to test this line?
  8. Why is it worth their company to hire?
  9. If I hire you, what contribution can you bring to the department?

10. How to see from your work that you are an automatic self-conscious person

11. Is your work usually completed within the time limit? (I want to ask what is her motivation for asking this question)

12. How do you usually react to others criticizing you?

13. If you knew it was wrong to do so, would you still follow the instructions of the supervisor?

14. What are your personal and professional goals in five years?

15. How do you make your career choices?

16. How much is the salary when you leave?

17 other

  1. What qualities should a good test engineer possess?
  2. What kind of happiness does software testing bring you?
  3. Why do testing work in a team?
  4. What specific tasks have you worked on in your previous testing jobs? Which part of the job are you best at?
  5. Please introduce your project
  6. During the test, when encountering a blockage, how to advance?
  7. What was your previous testing process like?
  8. Why did you choose to test this line?
  9. What if there is not enough time to conduct adequate testing?

10. Do you know the software testing process of the companies you worked in the past? If yes, please describe what work is required in this process? What are the different roles to accomplish these tasks?

11. What types of software testing are you familiar with? Please try to compare the differences and connections of these different test types (such as functional testing, performance testing...)

12. What do you think are the advantages of testing?

13. You found a bug in testing, but the development manager doesn't think it's a bug. what should you do

14. How do you develop a time schedule?

15. Introduce the overall project process

16. How did you develop the time schedule for the testing process?

17. Halfway through the test work, you found that there was not enough time. How did you deal with it?

18. How to ensure that the module you are responsible for has passed the test?

19. Division of responsibilities between software testers and test team leaders

20. If you are the test team leader, how do you manage the project and team members?

21. When will the test environment be built? Who built it? How to integrate products?

22. What testing methods are used in your projects? Do regression tests?

23. How does your superior check your work?

24. How does QA check your work?

25. Is there a project process that needs to be tested in the project you are doing? Yes, please introduce.

26. How to ensure that the module you are responsible for has passed the test?

27. How did you learn about the members of your project?

28. Has an independent testing group been set up? What is the tester's role in testing in the project?

29. How about the test result analysis? How is it generated and recorded?

30. What do you think are the more common difficulties in the software testing process? How to effectively overcome these difficulties? (Written according to the situation encountered in my actual test)

31. How do you make test plans in actual projects?

32. When did you start developing a test plan? Has there been a change? How to make changes?

33. What are the test case design methods you are familiar with? Please use specific examples to illustrate the application of these methods in the design of test cases.

34. What do you think is the key to doing a good job in test case design?

35. In your previous work, what was included in a software defect (or Bug) record? How to submit high-quality software defect (Bug) records?

36. What are your personal and professional goals in five years?

37. How to make your own career choice?

38. Reasons for resignation

39. The interviewer will usually ask, is there anything else you want to ask?

"2023 Test Interview Stereotypes" 800 real software test interview questions, high-definition print version packaged and taken away, sweeping high-frequency software test interview questions, covering test theory, Linux, MySQL, Web testing, interface testing, App testing, Python, Selenium, Performance test, LordRunner, computer network, data structure and algorithm, logical thinking, human resources and other module interview questions, with a high hit rate, are definitely the gospel of testers and the strongest weapon for interviewers.


2023最全软件测试资料合集篇https://mp.weixin.qq.com/s?__biz=Mzg5OTc3ODQxMg==&mid=2247483693&idx=1&sn=0453e43892f03834fd4fa39f80726fc5&chksm=c04f532ef738da38aa1b587ce6b126a7e1c7526e4eb40db81b12806a2bb6a8239ebbe67ef7a3&token=1136338420&lang=zh_CN#rd

Guess you like

Origin blog.csdn.net/a448335587/article/details/128960846