After interviewing more than 30 companies such as Byte, Meituan, and Tencent, I realized that software testing interviews are all about this routine...

1. Linux system application and environment configuration:
1. Tell me 10 operating commands of the Linux system. What tools are generally used to remotely connect to the Linux server?

2. Where are the logs stored in Linux? How to check the log content?

3. What is the difference between the top and ps commands in Linux?

4. How to write the result of running Linux commands into a file?

5. How to find strings that meet the requirements in Linux files?

6. How to view the network configuration information and IP address information of the Linux system?

7. How to set the firewall to pass through the Linux system?

8. How to configure the port number of Apache or Nginx in the Linux system?

9. How to use commands to download files in Linux system?

10. How to use a non-root account to run some commands that can only be executed by root in the Linux system?

Second, database technology
1, MySQL database technology application
1, mysql SQL statement to query all the data in a table? For example, to query all students in the student table

2. What is the SQL statement for mysql to perform fuzzy query? For example, query all students with the surname Zhang.

3. What is the SQL statement for mysql to sort and query? For example, query all the grades of a student, and sort them in reverse order of grades.

4. What is the SQL statement for mysql to perform aggregation function query? For example, query the total score and average score of all the grades of a student.

5. What is the SQL statement for mysql to perform group query? For example, query the sum of the grades of all subjects for all students.

6. What is the SQL statement for mysql to connect and query? For example, student information and student grades are not in the same table, and all grades of students in each class are queried.

7. What is the SQL statement for mysql to perform subquery? For example, query the name and gender of students whose gender is the same as that of Zhang San.

8. What is the SQL statement for adding data in batches in mysql? For example, the data of 25 courses of 100 students need to be added for testing, and the grades are still random numbers.

9. SQL statement for modifying data in mysql? For example, change student Zhang San's name to Zhang Sansan.

10. What is the SQL statement for mysql to delete data? For example, delete all the students with the same name as Zhang San in the student table, and only keep one.

3. HTML web page development technology
1. How many common tags are used in HTML?

2. What are the form tags in HTML?

3. There are several ways to submit forms in HTML, and what is the difference between them?

4. What is the function of iframe in HTML?

5. How is the JS code in HTML generally referenced to the page?

6. There are several forms of page pop-up windows in HTML, and what is the difference between them?

7. What is the difference between the class attribute and the style attribute of an element in HTML?

8. Elements in HTML can have some operation events and reactions, such as mouse click events, text box focus, and out-of-focus events?

9. How to set several radio buttons in HTML so that they cannot be selected at the same time?

10. How to set the check box as the default option in HTML?

4. General software testing technology
1. How to get the test requirements and how to analyze them?

2. What should be written in the test cases?

3. What are the commonly used test case design methods?

4. How to write a defect report and what is included?

5. What is the defect handling process like?

6. How to locate whether the found defects are front-end or back-end?

7. What should I do if the submitted defect is delayed in development and not revised in time?

8. How to determine the repair priority of defects?

9. How to determine the severity of defects?

10. How to determine whether it is a bug?

11. Is there a test plan, what is included, and who usually writes it?

12. Is there a test report after the test is over? What does it contain? Who usually writes it?

13. Is there any review in the project, how many times do you do it, how is the process, who usually hosts it, and who are the participants?

14. Which testing or defect management tools have you used/will you use?

15. What are the procedures for submitting test cases, defect reports, defect tracking, and defect status in ZenTao?

16. What are the procedures for submitting test cases, defect reports, defect tracking, and defect status in JIRA?

17. What are the procedures for submitting test cases, defect reports, defect tracking, and defect status in ALM/QC?

18. Do you want to do a smoke test, and how do you do it?

19. Do you want to do regression testing, and how do you do it?

20. Tell me about the testing process in detail?

5. Software project function test
1. Web project function test

1. What are the test points for the login and registration module tests?

2. What aspects of the page form (text box, single choice, multiple choice, drop-down list) are tested?

3. Do all hyperlinks on the page have to be tested? How to test?

4. How to test the paging function on the page?

5. What content should be tested when the articles published by the administrator are displayed on the page?

6. How to test the comment function on the page, and how to test the reply to the comment message?

7. How is the pageview data recorded on the page obtained and how to test it?

8. If you need to log in to view a certain page, can you view the information without logging in? How to test?

9. If there is a verification code input function on the page, how to test it?

10. The page will be forced to exit if it is not operated for a long time. How to test this function?

2. Mobile APP project function test
1. How to test the system gesture function used in the app? For example, double-click, long-press, double-press, two-finger, three-finger operation.

2. How is the cross-event test in the app applied? Such as telephone, voice, .

3. How to test the system permissions used in the app? Such as positioning, traffic, notifications, SMS, etc.

4. How to test the notification function of the app, and what is the reason for not receiving the notification?

5. If the app crashes during operation, how to check the crash information?

6. How to conduct app weak network test?

7. How is the update test of the app carried out?

8. What is the version update cycle and version naming convention of the app?

9. What is the process of app testing?

10. How is the compatibility test of the app carried out?

6. Development of language technology
1. Python language technology

1. What are the differences between tuples and lists in python?

2. How to intercept part of the string in python?

3. How does python convert a pure numeric string into an integer?

4. How does python implement bubble sort?

5. How does the function in python realize the transmission of an uncertain number of parameters?

6. For multiple elements in a list in python, how to get the subscript of an element?

7. How to get all the keys and values ​​of the dictionary in python?

8. How does python process CSV files and JSON files?

9. What is a python decorator?

10. How does python create an object?

2. Java language technology
1. What are the methods for creating objects in JAVA?

2. What is the difference between interface and class in JAVA?

3. Tell me about the difference between method overloading and method rewriting in JAVA?

4. What are the mapping data types of JAVA?

5. How does JAVA implement bubble sort?

6. What are the methods for JAVA to process strings?

7. What is the difference between the construction method in JAVA and the ordinary method? Can it be rewritten or inherited?

8. The difference between this and super in JAVA.

9. The difference between static methods and non-static methods in JAVA.

10. What is the difference between class variables and member variables in JAVA.

7. Interface testing technology
1. Computer network technology

1. How many layers does the OSI/RM reference model have? How many layers does the TCP/IP structure have?

2. What is the difference between the TCP protocol and the UDP protocol?

3. Explain the three-way handshake and four-way handshake of the TCP protocol.

4. How to view network information such as system IP address and physical address in Windows/Linux?

5. Do you know the ping command? Explain the purpose of the ping command and the detailed running process information. ?

6. Do you know the ping command? Explain the purpose of the ping command and the detailed running process information.

7. What are the types of IP addresses? How to classify? Each class says a representative IP address.

8. What is the subnet mask and what is its function?

9. How to judge whether two IP addresses belong to the same network segment?

10. How many network application layer protocols?

2. HTTP protocol basis

1. How many requests does the http protocol have?

2. What is the difference between a get request and a post request in the http protocol?

3. How to connect the request parameter and its data value during the get request of http?

4. What is the reason why the Chinese data is not displayed during the get request of http?

5. What is the difference between form data and JSON data sent by http post request?

6. What are the response status codes of http requests? What is the difference between 400 and 404?

7. After the http request is sent, what types of response content are there?

8. What is the difference between cookie, session and token in http request?

9. What are the requirements for the size of the requested data when HTTP sends get requests and post requests?

10. What is the difference between http and https when sending requests?

3. Postman/JMeter test tool application
1. How does Postman/JMeter send a get request? Where are the request parameters written?

2. How does Postman/JMeter send a post request? Where are the request parameters written?

3. How does Postman/JMeter test interface association?

4. How does Postman/JMeter implement assertion and parameterization?

5. How does Postman/JMeter implement batch running test scripts?

6. How does Postman/JMeter realize sending pictures or files?

7. How does Postman script run in newman?

8. What is the difference between global variables and environment variables in Postman?

9. How does Postman/JMeter implement sending requests in JSON format?

10. How does Postman/JMeter realize the sending of token data?

11. How to extract the data in the response in JMeter?

12. How is the Beanshell component used in JMeter?

13. How is the JSON extractor component used in JMeter?

14. How to analyze the reason of request failure in JMeter?

15. How to run and export the test report in HTML format in JMeter?

4. Application of packet capture tool Charles/Fiddler
1. How does Charles/Fiddler enable packet capture?

2. How does Charles/Fiddler capture HTTPS protocol packets?

3. How does Charles/Fiddler edit and send the request?

4. How does Charles/Fiddler edit and send the response?

5. How does Charles/Fiddler set up data filtering?

6. How does Charles/Fiddler set up to capture the data packets of mobile APP?

7. How does Charles/Fiddler set the network speed adjustment (weak network mode)?

8. How does Charles/Fiddler set up to capture the package of the specified application?

9. What are the possible reasons for garbled characters in the captured packets of Charles/Fiddler? How to solve?

10. How does Charles/Fiddler set the proxy mode?

Automated testing technology
1. Automated testing of UI layer Web/APP

1. What are the methods for element positioning in Selenium/APPium?

2. What attributes of page elements can be obtained in Selenium/APPium?

3. What are the commonly used behaviors of browsers in Selenium/APPium?

4. How to handle mouse double-click and drag events in Selenium/APPium?

5. How to handle browser new page jumps in Selenium/APPium?

6. How to handle frame/iframe jumps in Selenium?

7. How to handle form data submission in Selenium/APPium?

8. How does Selenium process and execute custom Script statements? For example setting and modifying element attributes?

9. How to handle browser scroll bars in Selenium, including horizontal and vertical?

10. How to implement batch parameterized input and operation in Selenium/APPium?

11. What is the syntax for batch fetching elements in Selenium/APPium? How to extract multiple elements?

12. How to use the unittest framework to write test scripts in Selenium/APPium?

13. How does Selenium/APPium implement the POM mode for scripting?

14. How does Selenium/APPium apply the data in the data file to the script?

15. How to realize the generation of test result report in HTML format in Selenium/APPium?

16. How does Selenium/APPium realize the generation of test logs in automated testing?

17. What are the ways of waiting for elements in Selenium/APPium?

18. What are the common script exceptions in Selenium/APPium?

19. If Selenium/APPium cannot locate the element, what might be the reason?

20. What are the contents of setting the properties of the browser object in Selenium/APPium?

2. Application of ADB
1. How does ADB upload and download files?

2. How does ADB install and download APP applications?

3. How does ADB view the running log of the APP and output the log to the specified file?

4. How does ADB view the main interface of the APP? APP version number?

5. How does ADB check the app list of the device?

6. How ADB operates the app, controlling its running times and content mode.

7. How does ADB repeat the execution of APP with the same event?

8. How does ADB set the time interval between operation events?

9. How does ADB output detailed APP running status and information to the specified file?

10. How does ADB check hardware information such as power, memory, and screen size of the device?

3. Automatic testing technology of requests interface
1. What are the requests supported by requests?

2. What does the default response result of requests contain?

3. How do requests send a get request with parameters? How to set form data request, how to set JSON data request?

4. How do requests send a psot request with parameters? How to set form data request, how to set JSON data request?

5. How can requests send file data as parameters?

6. How to extract and transform the JSON response data of requests?

7. How does requests implement associated interface testing?

8. How does requests realize the parameterization of interface request data?

9. How to implement MD5 encryption when requests send request data?

10. How does requests implement sending requests with request headers?

11. How does requests apply the unittest framework?

12. How does requests realize the assertion of the response result?

13. How does requests generate a test report?

14. How does requests generate test logs?

15. What is the difference between testing with requests and testing with Newman?

The above content are high-frequency questions for junior and intermediate software test engineers, junior automation test engineers interviews, and written test questions. The follow-up will continue to be updated. For the above knowledge points, after a long period of sorting out, documents and explanation videos have been formed. Some screenshots are given below:

 This document should be of great help to those who are preparing for the Gold, Three, Silver and Four interviews this year . I hope everyone can receive a satisfactory offer. If you find it useful, remember to like and save it, and click on the small card below can be shared .   

Guess you like

Origin blog.csdn.net/2201_76100073/article/details/130169566