Software testing interview questions frequently tested by major companies such as ByteDance, Alibaba, Tencent, Baidu, Kuaishou, etc.

Below are 350+ frequently asked interview questions for software testing engineers based on my interview experience over the past few years and the information I collected before.

Interview questions that are frequently tested by major companies such as ByteDance, Alibaba, Tencent, Baidu, Kuaishou, and Meituan are all mentioned in the article.

Although this article is long, it is definitely worth clicking to save it.

Students who want to find a job, if you read this article and review it carefully before every interview, I believe you will be able to find a satisfactory job.

Tip: The interview questions I compiled are all written according to this mind map. I update them from time to time. There is a table of contents when scrolling down. I will continue to add reference answers later. Just click on the title to read. This article is valid for a long time. It is suitable for students who are looking for testing-related jobs. Be sure to collect it well. If you need complete documentation or answers, please leave a message in the comment area.

1. Opening remarks

Q: Please introduce yourself briefly.

Q: Project and internship experience? (Note the use of STAR rule expression)

2. Basics of software testing

Work content

Q: According to the test content, what are the types of tests?

Q: What is the process of software development (testing)?

Q: What is the bug that impressed you most?

Q: Tell me about your understanding of CI/CD

Q: Tell me about your understanding of DevOps

Q: What is BDD? What is TDD?

Q: How do you tell whether a page in an APP is a native page or an H5 page? Test Methods

Q: What are the methods of black box testing?

Q: What are the methods of white box testing?

Q: What is unit testing?

Q: What is integration testing?

Q: How to write and design test cases?

Q: What is gray box testing? test documentation

Q: What elements do test cases contain?

Q: What elements need to be displayed in the test report?

Q: How should the test schedule be estimated?

Q: Tell me about your experience in constructing data? automated test

Q: For example, what functions can be automated?

Q: How to judge whether a function can be tested automatically?

Q: What are the methods for locating xpath paths?

Q: How to position a dynamic element?

Q: How to position elements similar to those suspended on the web page (similar to the advertisements flying around on the web)

Q: List the automated testing tools and testing tools you know

Q: Let’s talk about the packet capture principle of fiddler

Q: How does fiddler capture https requests?

Q: What is in the header of the packet captured by wireshark? Performance Testing

Q: How is performance testing done?

Q: What aspects do performance tests need to focus on? Game testing

Q: Which game has made the deepest impression on you? What aspects appeal to you the most?

Q: What are the bugs in the games that impressed you most, and analyze the reasons.

Q: How to test a large map game? What testing points should be used?

Q: Which one is more serious: unreasonable test program design or perfect test program but tester errors?

Q: What do you think is the position and responsibility of game testing?

Q: What is the necessity for the game to adopt client and server architecture?

Q: What is the principle of LOL script?

Q: Why are there not as many RPG game scripts developed as competitive scripts like LOL?

Q: There is a BUG that has a very low trigger probability but is very fatal. The project must be launched tomorrow. How do you deal with it? You don’t have to solve it. Just ask me how to deal with this kind of thing.

Q: Why do you want to do game testing?

Q: If you were asked to make a game, which type would you rather make (MMORPG? MOBA? FPS? RTS?)

Q: Let’s talk about the history of gaming. What are your other hobbies besides gaming?

Q: List the testing tools you know for game testing

3. Practical Software Testing

Ideas for troubleshooting

Q: What is the reason for web page crash?

Q: A user reported that uploading avatar failed, analyze the reason?

Q: Why does the app crash?

Q: How to troubleshoot accidental crashes?

Q: What is the reason for web page lag?

Q: 10% of users reported that functions cannot be used. How do you troubleshoot?

Q: The login button cannot be clicked. How to troubleshoot the problem?

Q: During the stress test, QPS has been unable to improve. How would you troubleshoot?

Q: The APP prompts that it cannot connect to the network. How will you troubleshoot?

Q: How to determine whether a BUG is a front-end BUG or a back-end BUG? Practical cases

Q: Post updates on Weibo and design test points.

Q: Design test cases for a vending machine

Q: Design a test case for sending red envelopes on WeChat

Q: Design test cases for Douyin live streaming function

Q: Design test cases for WeChat scan code payment

Q: Design test cases for Baidu homepage

Q: How to test the like function of WeChat?

Q: Should WeChat red envelopes calculate the money that each person can get first or when the person clicks on it and then calculates it.

Q: How to test the comment function of WeChat Moments?

Q: How to test a new friend recommendation function launched on WeChat?

Q: Test the WeChat avatar changing function and design test cases

Q: What are the test points for the security test of Douyin videos?

Q: If the page cannot be opened by typing http://baidu.com into the mobile browser, how would you troubleshoot?

Q: Design input box test cases?

Q: Write a test case for the login interface?

Q: Write test cases for an interface

Q: How to test the search function?

4. Language Basics

Java

Q: What is polymorphism?

Q: What is GC?

Q: The difference between set and hashset

Q: The difference between map and hashmap

Q: The time complexity of searching, deleting and adding hashmap

Q: Find all java processes

Q: Kill java process

Q: Introduce the copy and four types of references in java

Q: What are the Java containers? Briefly introduce java arrays and linked lists

Q: How much do you know about Java collections?

Q: What are the three major features of Java?

Q: What is the difference between List and Map?

Q: Talk about the differences between List, Set, and Map?

Q: What is the difference between rewriting and overloading?

Q: What is the difference between HashMap and HashTable?

Q: What is the difference between ArrayList and LinkedList?

Q: Map’s put method

Q: Java encapsulation, what is the scope of the Java access permission keyword?

Q: Why does Java need to be programmed for interfaces?

Q: What is reflection?

Q: What is the difference between interface and abstract?

Q: Are you familiar with maven? Talk about your understanding of maven

Python

Q: Can the names of global variables and local variables be the same?

Q: What is the difference between is and == in Python?

Q: The creation and destruction process of Python variables

Q: Python’s garbage collection mechanism

Q: The difference between the underlying structure of dict and the underlying structure of tuple and list

Q: What is the difference between deep copy and shallow copy?

Q: What is a coroutine?

Q: What is a decorator? Give an example of a time when you used a decorator

Q: What are the differences between @classmethod and @staticmethod, and what usage scenarios are they used in?

Q: What is duck typing?

Q: What are the variable types in python?

Q: What are the common data types in Python?

Q: List the differences between python2 and python3

Q: What is a lambda function? how to use?

Q: Other programming languages ​​have ternary operators. How to express ternary operators in python?

Q: What is the difference between try...except...else and try...except...finally?

Q: What is an iterable object? What is the principle of iterable objects?

Q: What is the principle of with...as?

Q: Explain python’s GIL lock

Q: Is python single inheritance or multiple inheritance?

Q: What is the order of inheritance in Python?

Q: What is a metaclass?

Q: Why do people say python is slow?

Shell

Q: Under what circumstances is it suitable to write a Shell script to handle it? C++

Q: What is the difference between pointers and references?

5. Data structures and algorithms

linked list

Q: How to find the Kth largest node in an ordered linked list?

Q: How to find out whether these two linked lists intersect at any point?

Q: What is the difference between array and linked list?

Q: Linked list reverse order array

Q: How to merge two ordered arrays?

Q: What is the time complexity of finding two numbers whose sum is n in an array?

Q: How to sort an int array?

Q: How to remove duplicates from an int array? the complexity

Q: What is the time complexity?

Q: How to calculate time complexity?

sort

Q: What are the eight major rankings?

Q: The principle of quick sorting

Q: The principle of merge sort

Q: The principle of bubble sorting

Q: Principle of insertion sort

Q: The principle of selection sorting

Tree

Q: Definition of number, code implementation

Q: What is the height of a tree? How to ask for it?

Q: Calculate the number of binary tree nodes

Q: What is the root node? What are leaf nodes?

Q: Print binary tree recursively

Q: What is recursion?

Q: What is the time complexity of recursion? string

Q: Can the string length be changed?

Heap and stack

Q: What is the difference between heap and stack?

Q: Code to implement stack dynamic programming

Q: What is dynamic programming?

Advanced algorithms

Q: What is depth traversal? What is breadth traversal? Find

Q: What are the necessary conditions to implement binary search? Hashmap

6. Framework Development Framework

Django

Q: Briefly introduce the directory structure of Django

Q: Do you know what MVC is? Why is Django said to be an MTV model?

Q: The implementation process of a network request in Django

Q: What is uwsgi? What is the difference between using uwsgi and using Django's native startup method?

Q: Do you know ORM? A brief introduction to Django’s ORM mapping

Q: What is the difference between Django’s CBV and FBV? Which method would you use in actual projects? Why?

Q: How to synchronize Django modules to the database? Will there be any pitfalls during the synchronization process?

Spring

Q: Introduction to Spring framework

Q: What is IOC?

Q: What is DI?

Q: What is AOP?

testing framework selenium

Q: How does the selenium framework work?

Q: What are the methods for positioning elements in selenium? Appium

Q: Have you used Appium? What is the principle? Unittest Pytest TestNG Junit

7. Computer Basics Computer Network

TCP/UDP

Q: Briefly introduce the TCP three-way handshake (why not two or four times)

Q: What are four breakups?

Q: What is TCP congestion?

Q: How does TCP ensure security? Can UDP be as secure as TCP and how to do it?

Q: Do you know tcp’s reliability control strategy and retransmission mechanism?

Q: Which layer does the TCP protocol belong to? HTTP/HTTPS Q: Cookie and session mechanisms and differences

Q: The process between entering the URL and displaying it on the web page

Q: List the web page status codes you know

Q: What is the meaning of the network status code starting with 3? What is the difference between 302 and 304?

Q: What does the network status code starting with 4 mean?

Q: What does the network status code starting with 5 mean?

Q: What is HTTPS? What is the principle?

Q: What is the difference between GET and POST?

Q: What are the network request methods?

Q: Briefly introduce what is RESTful API Q: The difference between PUT and POST

Q: List common request headers

Q: What does an HTTP request message look like? (GET example)

Q: Do you know the length limit of GET?

If you need complete documentation or answers, please leave a message in the comment area.

Guess you like

Origin blog.csdn.net/Androidyuexia/article/details/133280180