当前位置:网站首页>I have used 20K for 5 years and met all major manufacturers. These high-frequency interview questions have helped you figure out

I have used 20K for 5 years and met all major manufacturers. These high-frequency interview questions have helped you figure out

2022-06-11 15:41:00 Two black

My first contact with automation was in 2018 year . At that time, I had just graduated for more than a year , The group has been doing pure manual function test , In about 2018 year 9 month , The department leader asked the test team to introduce automation . There has never been any automation in the group before , The test supervisor arranged a graduate colleague who had just joined the post to study .

At that time, I was a little narrow-minded and thought why others could study with salary , And you start first , Only functions can be tested , Overtime is the most . After that 3 Some of his frames were written around the week , Introduce us to , It's a pity that I'm too delicious , Don't understand, python, Never touched selenium and unitest.


At that time, I watched others make progress , Go see it yourself python book , It's a pity that I want to improve , Without enthusiasm , Can't concentrate , You can concentrate on it for more than ten minutes at most . I think I can reference the script written by others and write it automatically , At that time, I read the script and asked a silly question , It's still fresh in my memory , I asked “ Why are variables used in code , Some need parentheses after , Some don't ”. At that time, I didn't know class , I don't know the function , Only variables are known , The call variable can be found in the following code .

This is the first time to learn python And automation .

Involved in automation but not fully involved

2019 year 4 month 1 I joined the second company in my career , The test here is still based on function , Two automated tests have been carried out before and after , The first time I used robotframework frame , No one has the enthusiasm to participate , And the business data depends on the real-time collection of hardware , Citation automation has little effect on improving efficiency , Then it was suspended .

The second, 2020 In the second half of , The automation platform developed by the company went online , Unfortunately, it is not the personnel in the group who lead the interface automation , It's from other groups . The self-developed platform is visual , The bottom layer is encapsulated , Users only need to fill in URL, Parameters can initiate the call , Simply assert the status code . The interface I wrote in the whole process is not enough 50 individual , Although I participated , But I don't understand the principle .

I feel that I have grown a lot in the group in the past two years , therefore 21 year 4 When I was about to leave this month , Full of confidence , I think I should find a job soon , But it was a series of failures , It took me only a month and a half to meet two people .

A second interview Self examination

The biggest feeling at that time was , There are too few positions to choose , I feel like I'm going to be eliminated by this industry. Once I'm asked about interface automation , Interface Basics ,python I can't answer the basic questions myself . Some side passed , On the second side, some pits have also been eliminated frequently .

So I analyzed the reasons for the continuous failure :

  • I don't have any technical content on my resume , Although I have participated in interface testing , Because I don't understand the principle , I don't know the interface foundation , Can't expand write .

  • The whole resume is a long description of the project process , Daily work content . Cast 10 resumes , At most 1 An interview invitation .

  • I feel like I'm going to be eliminated by this industry , There are too few positions to choose from . Think clearly in the summary : I neglected that I didn't know technology ,5 It's been a purely manual test for years . And if the recruiter only wants to find one to test the function , Will choose 1-3 Candidates with years of experience , Because the salary must be higher than me 5 Less work experience .

  • The reason for being brushed frequently : Answer that you step on the pit and don't know . At that time, there was a company that wanted to go , Last HR The surface frequently steps on the pit ——

    The first question : Why quit ? I answer truthfully : Big workload , Low pay .HR Then asked : So now you're looking for a slightly more comfortable job , Or a higher paying job ? Which do you care more about money or workload ? As soon as you look at this problem, you know you've dug a hole for yourself , It's not good to choose either , Completely negating it is inconsistent with the previous reasons for leaving .

    The second question is : Now there are other Offer Do you ? I said there was , He then asked : How much did you get paid . I answered 2000 more than I gave ,HR Just say : This company can give so much . As soon as I heard it, my heart thumped , This HR I know the company , then HR There is no further question .


Based on the above non-stop review summary , Finally got a job . This job hopping hit me hard , One blow is to do 5 Year of testing , Don't understand the code 、 No automation , There is no advantage in going out to find a job .

Another blow is , Two of my college classmates and roommates also joined the company , We are all looking for jobs again , As a result, they found a job a week later than me , But found a new job before me , And get 20k+ Pay for , The position they are applying for is test open post , And they all know at least one code language . And me , Don't say 20k+, Even expected 18k No company can give .


I felt very anxious at that time , The same starting line , Such a big gap has been opened in only two years .

Why is there such a big gap ? I think the main reason is the past two years , I didn't take the initiative to learn and improve technology . See such a gap , At that time, I began to read automation related blogs on the website . There are tens of millions of online related blogs , But a blog is just a little bit of knowledge , And no one answered , You need to read a lot of blogs to make a knowledge point clear , What's more technical? I can't understand it myself , It's like being in the sea 、 There's no direction .

Function to automation This time I only used 16 Zhou

By chance , Added to a test communication group for learning automation (785128166), Accidentally saw the push from the live broadcast room , At that time, it was used by my first company selenium, At that time, I really wanted to find a learning direction 、 Learning methods , I entered the live broadcast room with a try attitude

After that, I listened to live teaching on time every day ,4 I have gained a lot in the last month . Now I have cultivated the habit of learning , If you haven't learned input for a period of time, such as a whole week , I'll start to worry .

Through this study , It turns out that I can also master a code language , That's the same , I can also master other languages , And it's faster to learn other languages now . It seems to open the world of my study , I have made a lot of study plans for myself now , There are advanced courses , Measured open , Performance is acceptable , There are other extracurricular books . It turns out that learning can really make people happy .

2021 year 11 In June, I applied to my favorite company , Got the expected salary 20K+. This goal was originally planned 2022 Achieved in the first half of the year , Now it's realized ahead of time . In addition to learning automation ,python Out of language , And free study linux Instructions , And some interview skills , I know how I stepped on the pit .

Take the 20k+ Share the questions asked

Next, I would like to share with you my second job interview experience , Most of the companies looking for me this time are testing and opening posts , And it used to be a ceiling company , Like Ali 、 NetEase 、 Huawei 、 Ant 、 byte , I didn't even have the courage to send my resume before , This time, many recruiters took the initiative to come to me , And the resume has passed .

Another obvious difference is that every round of interview , Automation related accounts for at least half , There are two whole sides that are asking automation related questions , It used to be about business function testing , Here are some questions you were asked about this job search :

1. What are the request methods of the interface , What do you mean by them

2.POST and get Difference in request mode

3.http and https The difference between agreements

4. Several status codes of the interface are introduced

5. Tuples , list , The difference between dictionaries (python Basic high frequency questions , Asked several times )

6. How to convert a string to json body ( Examination json.loads(),eval())

7. Give a file , Find a string of characters in it ( Test the of regular expressions findall() and sub())

8. What do you deal with the request header of the interface

9. How to make assertions

10. How to design interface use cases

11. How to do interface test

12. How to deal with the association of interfaces

13. Automate how to filter regression use cases , Smoke use case

14. Which hook functions have been used

15. Which have been used? python Interpreter

16.pytest What is the principle of

17.pytest What frameworks have been used

18. How to deal with reports in Automation

19.python Interpreter , iterator , Has the generator learned about

20.ui What are the positioning elements

21. How to position variable elements

22.ui Some use cases in automation fail , Can you attach screenshots ?

23. How many automated use cases

24. What is continuous integration

25. How to achieve fixed-point automatic implementation of continuous integration

26.linux Check the instructions of the file

27.linux Which command to edit the file is used ? What shortcuts have you used

28. How to start a thread

29. What's the difference between threads and processes

30. There are several ways to start threads. Have you ever known

31. Know the basic performance indicators

32. How to judge whether the performance index is normal ?

33. Introduce your framework

34. What do you think are the advantages of your framework

35. What do you think are the shortcomings of your framework compared with other frameworks

36. Enter a... From the page url Describe the process of loading data to the page ( Byte round of interview questions )

37. What are the difficulties you encounter in automation , How?

38. Write code on site 1: Given two ordered lists , Regroup and sort

39. Write code on site 2: Give a string , Each list is flashed out

40. Write code on site 3: Given a string , Output palindrome string ( Byte side program problem )

41. How to ensure the delivery quality of the products you are responsible for

42. What are the problems you encountered in this project

43. What is the biggest problem you have encountered in your current job

Maybe people will ask me why I remember so many questions , Is it the face Scripture copied online . Here's a positive answer for you , These are all questions asked during the job interview , Because every time I finish , I'll make a reply , What technical questions were asked , Answer them yourself , Didn't answer what , If you don't answer, review and consolidate again .

one's innermost thoughts and feelings At the end

Finally, I'm nagging , If you want to take testing as your long-term career goal , You need to keep learning all the time , To be competitive , Must master a code language .

But don't worry , At present, I can master automation systematically , Be able to test code language , In fact, there are not so many .

So no matter how many years you work now , Just act , You already have an advantage , Well, that's it , Wish you all 2022 I can get a promotion and a raise every year , I got it from my favorite company offer, Everything goes well .

Learning resource sharing

Finally, thank everyone who reads my article carefully , Watching the rise and attention of fans all the way , Reciprocity is always necessary , Although it's not very valuable , If you can use it, you can take it

These materials , For those who want to engage in 【 software test 】 For our friends, it should be the most comprehensive and complete war preparation warehouse , This warehouse also accompanied me through the most difficult journey , I hope it can help you ! You can get it for free by joining our communication group below , I hope that's helpful …….

原网站

版权声明
本文为[Two black]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206111534316997.html