Python automated testing technical interview questions

interview question notes

This article is a note on interview questions when interviewing a company's test development/automation test engineer

All written test content is not fully written, and only general technology-related written test interview questions are posted. As for the test theory and team management issues, they are all similar, and there is no practical reference value.

1. Directly write a Python class
2. Directly write a constructor
3. Immediately after the above code, write directly and complete the code, requirements:
4. The code is as follows: 5.
What are the high-order functions of Python, and what are their functions?
6. Briefly talk about generators, iterators, and decorators, and what are their functions?
7. How to convert a string to an integer in Python?
8. TCP three-way handshake and four-way handshake, please write them out directly.
9. What are the common status codes of HTTP? What do they all mean?
10. What is the core principle of webdriver?
11. What is Appium? What is it mainly used for? What is its core principle?
12. What is the difference between selenium1 and selenium2, why should selenium1 be abandoned? What are its defects?
13. What are the common element positioning methods?
14. Directly write a bubble sort and quick sort by hand, what is the time complexity? What is the space complexity? Is it stable?
15. How to query the Linux background log and write commands directly
16. How to check the current process?
17. What is a Dockerfile? How to create a Dockerfile?
18. Does Python have a garbage collection mechanism? And through what?
19. Familiar with TestNG? Then please tell me how to use it?
20. If you are familiar with Java, please write a singleton pattern directly?
21. Database addition, deletion, modification and query, handwritten SQL
22. What is Redis used for? What is Elastic Search? What is this for?
23. How to do the interface test? What if there are interface dependencies?
24. What is the difference between tuple and list?
25. In Python, what do *arg and *kwarg represent and what are their functions?
26. Have you ever written a crawler? Then please tell me what are the common anti-climbing mechanisms? If it is a dynamically loaded page and the data cannot be seen, how to crawl it?

Finally, I share this interview note, which basically covers all the core technical points of software testing: testing theory, Linux basics, MySQL basics, Web testing, interface testing, App testing, management tools, Selenium-related, performance testing, computer networks, composition principles, data structures and algorithms, logic questions, human resources, technical brain maps, etc. The quality is very high ! ! ! More than enough for technical interviews! [Click on the small card at the end of the article to receive it]

67fbc0acd74346a88d0b4ddea23bbaa0.png

 

The entire document has a total of 200 pages. It is definitely unrealistic to show you all of them. In order not to affect your reading experience, only part of the content is shown. I hope everyone will be happy with it. I hope it can help you review before the interview and find a good job, and save everyone’s time searching for information on the Internet to learn! I hope everyone can gain something!


 

 

Guess you like

Origin blog.csdn.net/HUA1211/article/details/131637180