News from this site

 Rental advertising space, please contact the webmaster if you need cooperation


+focus
focused

classification  

no classification

tag  

no tag

date  

no datas

软件测试面试必杀篇:【2023软件测试面试八股文宝典】

posted on 2023-05-21 16:54     read(698)     comment(0)     like(11)     collect(2)


800 real software testing interview questions, high-definition print version packaged away, sweeping high-frequency software testing interview questions, covering testing theory, Linux, MySQL, Web testing, interface testing, App testing, Python, Selenium, performance testing, LordRunner, computer network , data structure and algorithm, logical thinking, human resources and other module interview questions, the hit rate is high, it is definitely the gospel of the tester, and the strongest weapon for the interviewer.

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, and you can get it directly by leaving a message

 

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. Use QTP to do functional testing. When recording scripts, it is necessary to verify the login/query status of multiple users. How to operate?

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 document is found to be incomplete or inaccurate, how to deal with it?

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 in charge of 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. During the project testing you participated in or were responsible for, what difficult problems occurred and how were they resolved? What did you do during this 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 are your usual design methods? How should you design to ensure the coverage of the test case?

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 are there 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请问功能测试和性能测试的区别是什么?(只总结了两个方面,有其他的自己补充)

21、 兼容性测试

22、 什么是易用性测试?

23、 什么是文档测试

24、 怎么做好文档测试

25、 文档测试要注意什么?

26、 什么是安全测试?

27、 什么时候适用自动化测试?

28、 什么时候不宜使用自动化的情况

29、 什么是性能测试?

30、 您在从事性能测试工作时,是否使用过一些测试工具?如果有,请试述该工具的工作原 理,并以一个具体的工作中的例子描述该工具是如何在实际工作中应用的。

31、 您认为性能测试工作的目的是什么?做好性能测试工作的关键是什么?

32、 性能测试什么时候开始最合适

33、 并发性能测试的目的主要体现在三个方面?

1.7 测试流程

  1. 软件测试的基本流程有哪些?
  2. 测试结束的标准是什么?
  3. 软件测试的原则是什么?

1.8 用例设计

  1. 什么是测试用例,测试用例的基本要素?
  2. 怎样写测试用例
  3. 描述测试用例设计的完整过程?
  4. 好的测试用例有哪些特点?
  5. 测试用例制定的原则?
  6. 测试用例是否纳入测试基线管理?测试用例发生变更的流程?测试用例如何进行标识?
  7. 什么时候编写测试用例?依据是什么?如何保证测试用例与需求的一致性?需要同行评审吗?
  8. 测试用例如何设计的?
  9. 如何保证用例覆盖到罕见缺陷?

10、 什么时候编写测试用例?依据是什么?如何保证测试用例与需求的一致性?需要同行评审吗?

11、 写测试用例时要注意什么问题

12、 如何在有限的情况下提高测试效率,保证产品的上线质量?

13、 如何降低漏测率

14、 测试用例的基本设计方法

15、 测试为什么要写测试用例

1.9 缺陷bug

  1. 什么是缺陷报告,缺陷报告的作用,缺陷报告的要点
  2. 缺陷报告的优先级别
  3. 简单概述缺陷报告
  4. 缺陷报告包括哪些项?
  5. 软件测试缺陷报告的 5C 原则
  6. 软件缺陷的生命周期?
  7. 缺陷描述(报告单)中应该包括哪些内容?
  8. 如何提高缺陷的记录质量?
  9. 如果一个缺陷被提交后,开发人员认为不是问题,怎么处理?

10、 软件缺陷的原则

11、 软件缺陷的特征。

12、 软件缺陷产生的原因

13、 什么是 Bug?

14、 缺陷处理流程

15、 缺陷的等级划分

16、 开发人员修复缺陷后,如何保证不影响其他功能?

17、 状态为已修改的缺陷,实际没有修改怎么办?

18、 生产软件的最终目的是为了满足客户需求,我们以客户需求作为评判软件质量的标准,认为软件缺陷( Software Bug )的具体含义包括哪些几个因素?

19、 如何进行缺陷评估

1.10 测试案例

  1. 给你一个网站,你应该如何测试?
  2. 一个有广告的纸杯子,请设计测试用例?
  3. 一个身份证号码输入框,怎么设计用例?
  4. 登录功能怎么设计测试用例?
  5. 移动端和 web 端测试有什么区别
  6. 测试一个 C/S 客户端时,需要考虑的因素
  7. 测试电梯,请详细描述
  8. 对一只圆珠笔进行测试
  9. 游戏测试与软件测试的区别

10、 想象一个登录框,包括ID、密码、登录、取消,记住密码(复选框),尽可能的写出你想到的测试点?

11、 针对添加购物车这个测试点说一下你要怎么测试“添加购物车”

12、 网上银行转账是怎么测的,设计一下测试用例。

 

2 Linux 基础

  1. 说出10个以上的Linux命令
  2. 在RedHat中,从root用户切到userl用户,一般用什么命令?
  3. Linux中,一般怎么隐藏文件?
  4. 在Linux系统中,一个文件的访问权限是755,其含义是什么?
  5. 如何查看 CPU 信息?
  6. 查看占用 CPU 使用率最高的进程?
  7. 如何查看一个文件的末尾 50 行?
  8. 如何过滤文件内容中包含”ERROR“的行?
  9. 查看某端口号?

10、 查看某进程号?

11、 grep 和find 的区别?grep 都有哪些用法?

12、 查看IP 地址?

13、 创建和删除一个多级目录?

14、 在当前用户家目录中查找 haha.txt 文件?

15、 如何查询出 tomcat 的进程并杀掉这个进程,写出 linux 命令?

16、 动态查看日志文件?

17、 查看系统硬盘空间的命令?

18、 查看当前机器 listen 的所有端口?

19、 把一个文件夹打包压缩成.tar.gz 的命令,以及解压拆包.tar.gz 的命令?

20、 Xshell 工具如果想要实现从服务器上传或者下载文件的话,可以在服务器上安装什么包?

21、 以/etc/passwd 的前五行内容为例,提取用户名?

22、 在 linux 中 find 和grep 的区别?

23、 linux查看文件用什么命令,查看进程用什么命令

24、 查看日志常用什么命令,主要查看什么内容

3 MySQL基础

 

  1. 什么是数据库?
  2. 什么是关系型数据库,主键,外键,索引分别是什么?
  3. 写出表的增删改查SQL语法
  4. SQL的表连接方式有哪些?
  5. 表的连接查询方式有哪些,有什么区别?
  6. 什么三范式?
  7. SQL 的 select 语句完整的执行顺序?
  8. 说一下 Mysql 数据库存储的原理?
  9. 事务的特性?

10、 简述什么是存储过程和触发器?

11、 什么是数据库索引?

12、 数据库怎么优化查询效率?

13、 你用的 Mysql 是哪个引擎,各引擎之间有什么区别?

14、 如何对查询命令进行优化?

15、 数据库的优化?

16、 Sql 注入是如何产生的,如何防止?

17、 NoSQL 和关系数据库的区别?

18、 MySQL 与 MongoDB 本质之间最基本的差别是什么

19、 Mysql 数据库中怎么实现分页?

20、 Mysql 数据库的操作?

21、 优化数据库?提高数据库的性能?

22、 什么是数据的完整性?

23、 存储过程和函数的区别?

24、 怎么进行SQL的查询优化?

25、 索引的作用,聚集索引与非聚集索引的区别

4 Web测试

 

  1. 描述用浏览器访问http://www.baidu.com的过程
  2. 以京东首页为例,设计用例框架。(注意框架设计逻辑,区域划分,专项测试等,不需要详细用例,需要查看 PC 可直接和辨识管提要求)
  3. 如何测试购买下单和退货流程
  4. 什么是sql 注入,什么是跨站脚本,什么是跨站请求伪造?
  5. 给你一个网站怎么开展测试?
  6. 电商支付模块的测试如何展开?
  7. 如何开展兼容性测试?
  8. nginx,tomcat,apache 都是什么?
  9. apache 和 nginx 的区别?
  10. 0 Selenium 有哪些定位元素方法

5 接口测试

  1. 什么是接口
  2. 如果模块请求 http 改为了https,测试方案应该如何制定,修改?
  3. 常用 HTTP 协议调试代理工具有什么?详细说明抓取 HTTPS 协议的设置过程?
  4. 描述 TCP/IP 协议的层次结构,以及每一层中重要协议
  5. jmeter,一个接口的响应结果如下:
  6. 接口产生的垃圾数据如何清理
  7. 依赖第三方的接口如何处理
  8. 测试的数据你放在哪?
  9. 什么是数据驱动,如何参数化?

10、 下个接口请求参数依赖上个接口的返回数据

11、 依赖于登录的接口如何处理

12、 接口测试的步骤有哪些?

13、 接口测试中依赖登录状态的接口如何测试?

14、 依赖于第三方数据的接口如何进行测试?

15、 解释什么是SOAP?

16、 解释什么是REST API?

17、 API测试发现的Bug类型是什么?

18、 我们测试的接口属于哪一类?

19、 Cookie 保存在哪里?

20、 HTTP有哪些请求方法?

21、 接口自动化测试的流程?

22、 接口测试用例的编写要点有哪些?

23、 提到UI级别测试和API测试之间的关键区别?

24、 HTTPS的工作原理

25、 HTTPS有哪些优点?

26、 HTTPS的缺点

27、 HTTPS和HTTP的区别主要如下:

28、 POST和GET有什么区别?

29、 Session与Cookie有什么区别?

30、 TCP和UDP有什么区别

31、 什么是TCP/IP?

32、 在API测试中测试的常用协议是什么?

33、 cookie有什么作用?

34、 Cookie测试的测试点

35、 cookie的缺点

36、 cookie与session的区别

6 App 测试

  1. 什么是Android四大组件?
  2. 当点击 APP 图标启动程序,说明将要发生那些过程?
  3. APP 测试的内容主要包括哪些,如何开展?
  4. Android 的兼容性测试都考虑哪些内容?
  5. 针对 App 的安装功能,写出测试点?
  6. 常用的 ADB 命令?
  7. 在查看 logcat 命令日志时候怎么内容保存到本地文件?
  8. App 崩溃(闪退),可能是什么原因导致的?
  9. 如何测试监测 app 的内存使用、CPU 消耗、流量使用情况?

10、 弱网测试怎么测

11、 “//*[contains(@text,”登录”)]”是什么意思

12、 Appium 都有哪些启动方式

7 管理工具

  1. 简述常用的 Bug 管理或者用例管理工具,并且描述其中一个工作流程?
  2. 禅道和 qc 的区别?

8 Python 基础

 

8.1 Python基础

  1. 斐波那契数列求 N?
  2. 字符串反序输出?
  3. 判断回文?
  4. 统计python 源代码文件中代码行数,去除注释,空行,进行输出?
  5. python 调用cmd 并返回结果?
  6. 冒泡排序
  7. 1,2,3,4 这 4 个数字,能组成多少个互不相同的且无重复的三位数,都是多少?
  8. 4.给定一个整数 N,和一个 0-9 的数 K,要求返回 0-N 中数字 K 出现的次数
  9. 请用 python 打印出 10000 以内的对称数(对称数特点:数字左右对称,如:1,2,11,121,1221 等)

10、 判断 101-200 之间有多少个素数,并输出所有的素数

11、 一个输入三角形的函数,输入后输出是否能组成三角形,三角形类型,请用等价类划分法设计测试用例

8.2 输入与输出

  1. 代码中要修改不可变数据会出现什么问题? 抛出什么异常?
  2. print 调用 Python 中底层的什么方法?
  3. 简述你对 input()函数的理解?
  4. python 两层列表怎么提取第二层的元素

8.3 条件与循环

  1. 阅读下面的代码,写出 A0,A1 至 An 的最终值?
  2. range 和 xrange 的区别?
  3. 考虑以下 Python 代码,如果运行结束,命令行中的运行结果是什么?
  4. 在考虑以下代码,运行结束后的结果是什么?

8.4 字典

  1. 什么是字典
  2. 现有字典 d={‘a’:24,‘g’:52,‘i’:12,‘k’:33}请按字典中的 value 值进行排序?
  3. 说一下字典和 json 的区别?
  4. 什么是可变、不可变类型?
  5. 存入字典里的数据有没有先后排序?
  6. 字典推导式?
  7. 现有字典 d={‘a’:24,’g’:52,’l’:12,’k’:33}请按字 典中的 value 值进行排序?

8.5 字符串

  1. 什么是Python字符串
  2. 如何理解 Python 中字符串中的\字符?
  3. 请反转字符串“aStr”?
  4. 请按 alist 中元素的 age 由大到小排序

8.6 列表

  1. 什么是Python中的list
  2. 列表增加
  3. 取值和修改取值:列表名[index] :根据下标来取值。
  4. 删除 del 列表名[index]:删除指定索引的数据。
  5. 列表名.remove(数据):删除第一个出现的指定数据。
  6. 列表名.pop():删除末尾的数据,返回值: 返回被删除的元素。
  7. 列表名.pop(index):删除指定索引的数据,返回被删除的元素。
  8. 列表名.clear():清空整个列表的元素。
  9. 排序列表名.sort():升序排序 从小到大。

10、 列表名.sort(reverse=True):降序排序 从大到小。

11、 列表名.reverse():列表逆序、反转。

12、 len(列表名):得到列表的长度。

13、 列表名.count(数据):数据在列表中出现的次数。

14、 列表名.index(数据):数据在列表中首次出现时的索引,没有查到会报错。

15、 if 数据 in 列表: 判断列表中是否包含某元素。

16、 循环遍历

17、 写一个列表生成式,产生一个公差为 11 的等差数列

18、 给定两个列表,怎么找出他们相同的元素和不同的元素?

19、 请写出一段 Python 代码实现删除一个 list 里面的重复元素?

20、 给定两个 list A ,B,请用找出 A ,B 中相同的元素,A ,B 中不同的元素

8.8 集合

  1. 什么是集合
  2. 快速去除列表中的重复元素
  3. 交集:共有的部分
  4. 并集:总共的部分
  5. 差集:另一个集合中没有的部分
  6. 对称差集(在 a 或 b 中,但不会同时出现在二者中)

8.9 文件操作

  1. 4G 内存怎么读取一个 5G 的数据?(2018-3-30-lxy)
  2. 现在要处理一个大小为 10G 的文件,但是内存只有 4G,如果在只修改 get_lines 函数而其他代码保持不变的情况下,应该如何实现?需要考虑的问题都有哪些?
  3. read、readline 和 readlines 的区别?

8.10 函数

  1. Python 函数调用的时候参数的传递方式是值传递还是引用传递?
  2. 对缺省参数的理解 ?
  3. 为什么函数名字可以当做参数用?
  4. Python 中 pass 语句的作用是什么?

8.11 内建函数

  1. map 函数和 reduce 函数?
  2. 递归函数停止的条件?
  3. 回调函数,如何通信的?
  4. Python 主要的内置数据类型都有哪些? print dir( ‘a ’) 的输出?
  5. print(list(map(lambda x: x * x, [y for y in range(3)])))的输出?

8.12 Lambda

  1. 什么是 lambda 函数? 有什么好处?
  2. 什么是 lambda 函数?它有什么好处?写一个匿名函数求两个数的和?

8.13 面向对象

  1. 结构化程序设计和面向对象程序设计各自的特点及优缺点是什么?
  2. Python 中的可变对象和不可变对象?
  3. Python 中is 和==的区别?
  4. Python 的魔法方法?
  5. 面向对象中怎么实现只读属性?
  6. 谈谈你对面向对象的理解?

8.14 正则表达式

  1. Python 里 match 与 search 的 区 别 ?
  2. Python 字符串查找和替换?
  3. 用 Python 匹 配 HTML g tag 的 时 候 ,<.> 和 <.?> 有 什 么 区别?
  4. 请写出下列正则关键字的含义?

8.15 异常

  1. 在 except 中 return 后还会不会执行 finally 中的代码?怎么抛出自定义异常?
  2. 介绍一下 except 的作用和用法?

8.16 模块和包

  1. 常用的 Python 标准库都有哪些?
  2. 赋值、浅拷贝和深拷贝的区别?
  3. init 和 new 的区别?
  4. Python 里面如何生成随机数?
  5. 输入某年某月某日, 判断这一天是这一年的第几天?( 可以用Python 标准库)
  6. 打乱一个排好序的 list 对象 alist?
  7. 说明一下 os.path 和 sys.path 分别代表什么?
  8. Python 中的 os 模块常见方法?
  9. Python 的 sys 模块常用方法?

10、模块和包是什么

8.17 Python特性

  1. Python 是强语言类型还是弱语言类型?
  2. 谈一下什么是解释性语言,什么是编译性语言?
  3. Python 中有日志吗?怎么使用?
  4. Python 是如何进行类型转换的?
  5. 工具安装问题
  6. 关于 Python 程序的运行方面,有什么手段能提升性能?
  7. Python 中的作用域?
  8. 什么是 Python?
  9. 什么是 Python 的命名空间?

10、 你所遵循的代码规范是什么?请举例说明其要求?

9 Selenium 相关

  1. 什么是Selenium?
  2. 什么是Selenium Webdriver
  3. S什么是elenium IDE?
  4. 2.常用自动化测试工具机器运行原理,写出一段元素查找的代码?
  5. 如何开展自动化测试框架的构建?
  6. 4.如何设计自动化测试用例:
  7. webdriver 如何开启和退出一个浏览器?
  8. 什么是自动化测试框架?
  9. Selenium是什么,流行的版本有哪些?

10、 你如何从命令行启动Selenium RC?

11、 在我的机器端口4444不是免费的。我怎样才能使用另一个端口?

12、 什么是Selenium Server,它与Selenium Hub有什么不同?

13、 你如何从Selenium连接到数据库?

14、 你如何验证多个页面上存在的一个对象?

15、 XPath中使用单斜杠和双斜杠有什么区别?

16、 如何编写Selenium IDE / RC的用户扩展?

17、 如何在页面加载成功后验证元素的存在?

18、 你对Selenium Grid有什么了解?它提供了什么功能?

19、 如何从你的Java Class启动Selenium服务器?

20、 Selenium中有哪些验证点?

21、 什么是XPath?什么时候应该在Selenium中使用XPath?

22、 什么是Selenium的CSS定位器策略?用例子来解释。

23、 当有很多定位器时,如ID、名称、XPath、CSS定位器,我应该使用哪一个?

24、 在Selenium中处理多个弹出窗口的机制是什么?

25、 你如何处理使用Selenium的Ajax控件?

26、 Selenium Webdriver优于Selenium RC的优点是什么?

27、 “GET”和“NAVIGATE”方法的主要区别是什么?

28、 隐式等待与显式等待有什么不同?

29、 你将如何处理Selenium WebDriver中的警报/弹出窗口?

30、 如何解决IE中的SSL认证问题?

31、 Selenium WebDriver中的可用定位器是什么?

32、 如何处理WebDriver中的AJAX控件?

33、 大致分类和比较TDD/BDD和DDD框架?

34、 什么是数据驱动框架?它与关键字驱动框架有什么不同?

35、 解释使用TestNG而不是JUnit框架的好处?

36、 与@Test注释相关的TestNG参数的目的是什么?

37、 可以使用TestNG运行一组测试用例吗?

38、 WebDriver哪个实现是最快的,为什么?

39、 是否可以在Selenium 2.0中使用Selenium RC API?

40、 可以在Java,Dot Net或Ruby中使用Selenium Grid吗?

10 性能测试

  1. 性能测试有哪些分类
  2. 你认为性能测试的目的是什么?做好性能测试的工作的关键是什么?
  3. 服务端性能分析都从哪些角度来进行?
  4. 如何理解压力测试,负载测试以及性能测试?
  5. 如何判断是否有内存泄漏及关注的指标?
  6. 描述软件产生内存泄露的原因以及检查方式。(可以结合一种开发语言进行描述)
  7. 简述什么是值传递,什么是地址传递,两者区别是什么?
  8. 什么是系统瓶颈?

11 LordRunner相关

  1. 1.LoadRunner 的工作原理是什么?
  2. LoadRunner分哪三部分?
  3. LoadRunner进行测试的流程?
  4. 什么是并发?在lordrunner中,如何进行并发的测试?集合点失败了会怎么样?
  5. LoadRunner 脚本如何录制和编写?
  6. LoadRunner 中的Think Time 有什么作用?
  7. 4.在搜索引擎中输入汉字就可以解析到对应的域名,请问如何用LoadRunner 进行测试?
  8. 5.一台客户端有三百个客户与三百个客户端有三百个客户对服务器施压,有什么区别?
  9. 客户交付一个性能测试项目,请阐述你的实施流程。

10、 解释5个常用的性能指标的名称与具体含义。

11、 写出5个Loadrunner中常用函数,并对其中2个举例说明用法。

12、 简述LoadRunner的工作原理?

13、 什么是集合点?设置集合点有什么意义?LoadRunner中设置集合点的函数是哪个?

14、 HTML-based script与URL-based script的脚本有什么区别?

15、 如何设置LaodRunner才能让集合点只对一半的用户生效?

16、 LoadRunner的Controller组件中Pacing参数的作用是什么?

17、 LoadRunner中如何监控Windows资源?

18、 如果让QALoad模拟LoadRunner中只对关注的性能点进行迭代测试,你有什么好方法?

19、 什么是负载测试?

20、 什么是性能测试?

21、 说明负载测试过程?

22、 我们什么时候做负载和性能测试?

23、 什么是LoadRunner的组件?

24、 你用LoadRunner的哪个组件录制脚本?

25、 在多用户模式下你用LoadRunnner的哪个组件来回放脚本?

26、 在多用户模式下你用LoadRunnner的哪个组件来回放脚本?

27、 什么是场景

28、 解释Web Vuser脚本的录制模式

29、 为什么创建参数?

30、 什么是关联?解释自动关联和手动关联的区别

31、 什么是关联?解释自动关联和手动关联的区别,你在哪里设置自动关联的选项

32、 什么函数可以捕捉到web Vuser脚本的动态值?

33、 什么时候你在虚拟用户产生器中禁用日志,什么时候选择标准日志和扩展日志?

34、 你如何调试LoadRunner的脚本?

35、 你怎么写LR中用户自定义的函数?写几个你以前项目中的函数?

36、 在run-time setting里你可以设置哪些改变?

37、 你在哪里设置Vuser测试时迭代?

38、 你如何在负载下执行功能测试?

39、 什么是Ramp up?你如何设置?

40、 Vuser作为线程运行的优势是什么?

41、 如果你想停止执行出错的脚本,怎么做?

42、 响应时间和吞吐量间的关系是什么?

43、 你如何识别性能瓶颈?

44、 如果web服务器、数据库服务器、网络都一切正常,那么哪里可能有问题?

45、 你如何找出web服务器相关的问题?

46、 你是怎么找到数据库中的相关问题?

47、 覆盖图和关联图之间的区别是什么?

48、 你是怎么计划负载的?标准是什么?

49、 vuser_init动作包含什么?

50、 vuser_end动作包含什么?

51、 什么是Think Time?你如何改变这个阈值?

52、 简述使用Loadrunner的步骤

53、 什么是集合点?设置集合点有什么意义?Loadrunner中设置集合点的函数是哪个?

54、 你如何在负载测试模式下执行功能测试?

55、 什么是逐步递增?你如何来设置?

56、 响应时间和吞吐量之间的关系是什么?

57、 说明一下如何在LR中配置系统计数器?

58、 在LoadRunner中为什么要设置思考时间和pacing

59、 如何理解TPS?

60、 loadrunner中的设置线程和进程的区别

61、 HTML-Based scrīpt 和URL-Based scrīpt 录制的区别?

62、 本次通过loadRunner录制SQL Server介绍一下如何测试一个sql语句或存储过程的执行性能。

63、 LoadRunner如何创建脚本?

64、 LoadRunner如何设置Recording Options 选项?(以单协议http/html为例)

65、 LoadRunner如何选择协议?

66、 Loadrunner支持哪些常用协议?

67、 性能测试的类型都有哪些?

68、 Loadrunner常用的分析点都有哪些?

69、 并发用户数是什么?跟在线用户数什么关系?

70、 LoadRunner请求无法找到如何解决?

71、 LoadRunner HTTP服务器状态代码都有哪些?如何解决?

72、 HTTP的超时有哪三种?

73、 在什么地方设置HTTP页面filter?

74、 如何设置可以让一个虚拟IP对应到一个Vuser?

75、 ≈什么是contentcheck?如何来用?

76、 network中的speed simulation是模拟的什么带宽?

77、 生成WEB性能图有什么意义?大概描述即可。

78、 WAN emulation是模拟什么的?

79、 树视图和脚本视图各有什么优点?

80、 LR中的API分为几类?

12 计算机网络

 

  1. 什么是局域网和广域网
  2. DNS是什么,它是如何工作的?
  3. 描述TCP/IP协议的层次结构,以及每一层中重要协议。
  4. 请简述 ip 地址,网关,子网掩码的含义.
  5. 简述子网掩码的用途。
  6. 一台计算机的 IP 是 192.168.10.71 子网掩码 255.255.255.64 与 192.168.10.201 是同一局域网吗?
  7. 请简述DNS、活动目录、域的概念。
  8. 10M 兆宽带是什么意思?理论下载速度是多少?
  9. 什么是IP 地址?

10、 OSI 七层网络模型的划分?

11、 TCP 和 UDP 有什么不同?

12、 HTTP 属于哪一层的协议?

13、 HTTP 和 HTTPS 的区别?

14、 cookies 和session 的区别?

15、 HTTP 的get 请求和post 请求的区别?

16、 HTTP1.0 和 HTTP1.1 有什么区别

17、 TCP 的连接建立过程,以及断开过程?

18、 客户端使用 DHCP 获取IP 的过程?

19、 写出某个网段的网络地址和广播地址?

20、 什么是 VPN 都有什么类型?

21、 B/S 和 C/S 的区别

22、 21、TCP/UDP有哪些区别?

23、 22、ISO模型?HUB、tch、Router是ISO的第几层设备?

24、 线程和进程的区别

25、 常用的响应码

26、 手工修改 Tomcat 端口,在那个文件里?

13 组成原理

  1. 计算机基本组成
  2. 一条指令在CPU 的执行过程
  3. 3.计算机的逻辑部件
  4. 说出4种以上常用的操作系统及其主要的应用范围(微软的操作系统除外)。
  5. Windows操作系统中PATH环境变量的作用是什么?
  6. 目前流行的操作的系统有哪些?请举例说明安装操作系统的注意事项?

14 数据结构与算法

  1. 冒泡排序
  2. 插入排序
  3. 希尔排序
  4. 直接选择排序
  5. 堆排序
  6. 归并排序
  7. 基数排序

15 逻辑题

 

  1. 烧一根不均匀的绳,从头烧到尾总共需要1个小时。现在有若干条材质相同的绳子,问如何用烧绳的方法来计时一个小时十五分钟呢?
  2. 你有一桶果冻,其中有黄色、绿色、红色三种,闭上眼睛抓取同种颜色的两个。抓取多少个就可以确定你肯定有两个同一颜色的果冻?
  3. 如果你有无穷多的水,一个3公升的提捅,一个5公升的提捅,两只提捅形状上下都不均匀,问你如何才能准确称出4公升的水?
  4. 一个岔路口分别通向诚实国和说谎国。来了两个人,已知一个是诚实国的,另一个是说谎国的。诚实国永远说实话,说谎国永远说谎话。现在你要去说谎国,但不知道应该走哪条路,需要问这两个人。请问应该怎么问?
  5. 12个球一个天平,现知道只有一个和其它的重量不同,问怎样称才能用三次就找到那个球呢?(注意此题并未说明那个球的重量是轻是重,所以需要仔细考虑)
  6. 在一天的24小时之中,时钟的时针、分针和秒针完全重合在一起的时候有几次?都分别是什么时间?你怎样算出来的?
  7. 已知:每个飞机只有一个油箱,飞机之间可以相互加油(注意是相互,没有加油机)一箱油可供一架飞机绕地球飞半圈,问题:为使至少一架飞机绕地球一圈回到起飞时的飞机场,至少需要出动几架飞机?(所有飞机从同一机场起飞,而且必须安全返回机场,不允许中途降落,中间没有飞机场)
  8. 一间囚房里面关押着两个犯人。每天监狱都会为这间囚房提供一罐汤,让这两个犯人自己分。起初,这两个人经常会发生争执,因为他们总是有人认为对方的汤比自己的多。后来他们找到了一个两全其美的办法:一个人分汤,让另一个人先选。于是争端就这么解决了。可是,现在这间囚房里又加进来一个新犯人,现在是三个人来分汤。必须寻找一个新的方法来维持他们之间的和平。该怎么办呢?按:心理问题,不是逻辑问题
  9. 一张长方形的桌面上放n个一样大小的圆形硬币。这些硬币中可能有一些不完全在桌面内,也可能有一些彼此重叠;当再多放一个硬币而它的圆心在桌面内时,新放的硬币便必定与原先某些硬币重叠。请证明整个桌面可以用4n个硬币完全覆盖。

10、 有五间房屋排成一列 所有房屋的外表颜色都不一样 所有的屋主来自不同的国家 所有的屋主都养不同的宠物;喝不同的饮料;抽不同的香烟 提示:

11、 如果29只青蛙在29分钟里捕捉到了29只苍蝇,那么,要在87分钟内捉到87只苍蝇,需要多少只青蛙才行?

12、 一个人花8块钱买了一只鸡,9块钱卖掉了。然后他觉得不划算,花10块钱又买回来了,11块钱卖给了另外一个人,请问他赚了多少钱?

13、 A、B、C、D、E五名学生有可能参加计算机竞赛,根据下列条件判断哪些人参加了竞赛?

14、 一天张三的店里来了一位顾客,挑了25元的货。顾客拿出100元,张三没零钱找不开,就到隔壁店里把这100元换成零钱,回来给顾客找了75元的零钱。过一会,李四回来找张三,说刚才的钱是假钱,张三马上给李四换了真钱,请问张三赔了多少?

15、 如果20分钟前离上午9点钟的分数钟,等于现在离上午12点的分钟数的3倍,那么现在离上午12点还有多少分钟?)

16 人力资源

 

  1. 你的测试职业发展是什么?你自认为做测试的优势在哪里?
  2. 你找工作时,最重要的考虑因素为何?
  3. 为什么我们应该录取你?
  4. 请谈谈你个人的最大特色。
  5. 一个测试工程师应具备那些素质和技能?
  6. 还有问一下你是怎样保证软件质量的,也就是说你觉得怎样才能最大限度地保证软件质量?
  7. 为什么选择测试这行?
  8. 为什么值得他们公司雇用?
  9. 如果我雇用你,你能给部门带来什么贡献?

10、 如何从工作中看出你是个自动自觉的人

11、 你的工作通常能在时限内完成吗.(我想问一下就是她问这个问题的动机是什么)

12、 通常你对于别人批评你会有什么样的反应

13、 如果明知这样做不对,你还会依主管的指过去做吗?

14、 你在五年内的个人目标和职业目标分别是什么?

15、 你怎样做出自己的职业选择?

16、 离职时候工资多少?

17 其他

  1. 好的测试工程师应具备的素质?
  2. 软件测试给你带来什么样的快乐?
  3. 为什么要在一个团队中开展测试工作?
  4. 你在以往的测试工作中都曾经具体从事过哪些工作?其中最擅长哪部分工作?
  5. 请介绍一下你的项目
  6. 测试过程中,遇到阻塞时,该如何推进?
  7. 你们以前测试的流程是怎样的?
  8. 为什么选择测试这行?
  9. 如果时间不够,无法进行充分的测试怎么办?

10、 你是否了解以往所工作的企业的软件测试过程?如果了解,请试述在这个过程中都有哪些工作要做?分别由哪些不同的角色来完成这些工作?

11、 你所熟悉的软件测试类型都有哪些?请试着分别比较这些不同的测试类型的区别与联系(如功能测试、性能测试……)

12、 你自认为测试的优势在哪里?

13、 你在测试中发现了一个 bug,但是开发经理认为这不是一个 bug。你应该怎么做?

14、 你是如何制定时间进度表的?

15、 介绍一下整体项目流程

16、 你是如何制定测试过程中的时间进度表的?

17、 测试工作进行到一半时,发现时间不够,你是如何处理的?

18、 怎样保证你所负责的模块通过了测试?

19、 软件测试人员和测试组长的职责分工

20、 如果你是测试组长你是如何对项目及组员进行管理的?

21、 什么时候开始搭建测试环境?由谁搭建?如何进行产品的集成?

22、 你所做的项目中采用了哪些测试方法?进行回归测试吗?

23、 上级如何检查你的工作?

24、 QA 是如何检查你的工作的?

25、 在你所做的项目中有需要测试的项目过程吗?有,请介绍。

26、 怎样保障你所负责的模块通过了测试?

27、 你是如何了解到你说项目中的成员?

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 the test plan? Have there been changes? 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?

full message



 



Category of website: technical article > Blog

Author:python98k

link:http://www.pythonblackhole.com/blog/article/25302/18c05c6b1957676e1200/

source:python black hole net

Please indicate the source for any form of reprinting. If any infringement is discovered, it will be held legally responsible.

11 0
collect article
collected

Comment content: (supports up to 255 characters)