当前位置:网站首页>In the middle of the year, I have prepared a small number of automated interview questions. Welcome to the self-test
In the middle of the year, I have prepared a small number of automated interview questions. Welcome to the self-test
2022-07-03 10:57:00 【Software testing Intelligence Agency】
Programming grammar problems :
1、python What are the data types
2、 How to merge two dictionaries
3、python How to integrate json Write it in a file ?
4、 stay except In the sentence return Will it be executed after finally The code in ?
5、 What is variable 、 Immutable type ?
6、python Whether parameters are passed by value or by reference during function call ?
7、python The difference between deep copy and shallow copy
8、python Why use *args and **kwargs
9、 Yes Python Knowledge of inheritance and polymorphism ? Can a parent class use the methods of a child class ?
10、 Tell me what you know about packaging
11、Python Medium self What is the function of parameters ?
12、Python Medium os Common methods of module ?
13、 What do you use in your work python Built in libraries for , And third party libraries ?
14、 What is? PEP 8?
15、 Choose a class you define in your work , Explain how you encapsulated ? Under what circumstances does the external use your class .
Coding questions :
16、 Please use python Script implementation from 1 To 100 Sum of .
17、 Write an anonymous function , Make it possible to add , For example, input 1,2 The result can be calculated as 3
18、list_1=[1,2,1,2,15,4,3,2,1,2], Remove list_1 Duplicate values for , And sort from big to small .
19、 Count the number of words in the string , The words here refer to consecutive characters that are not spaces . Please note that , You can assume that the string does not contain any non printable characters .
【 Output 】 Input : “Hello, my name is John” Output : 5
explain : The word here refers to consecutive characters that are not spaces , therefore “Hello,” Count as 1 Word .
20、 How to use it? lambda Realization 11 +22 +3*3 …
21、 use python Realization of Fibonacci series
Automate basic competency assessment :
1、json The difference between English and dictionary
2、unittest Which modules does the framework include ?
3、python How to connect to the database ?
4、jemeter or postman Implement multi interface correlation test ? How to do Association ?
5、 Interface automation assertions
6、 If you need to delete an interface with an automated test , Assert how to do
7、 How to deal with the verification code in the process of Automation
8、 How to write automated test cases
9、pytest There are several ways to pre implement ?
10、Appium What are the starting methods
11、web ui Explicit wait in automation 、 What's the difference between implicit waiting
12、 Have you ever encountered an element that cannot be located ? How to deal with ?
13、 If the element does not id, And there's a lot of iframe, So write xpath There are also problems , Namely id and xpath It doesn't work , How do you position ?
14、 If the same browser opens two windows , Use selenium Which command in the command to switch ?
15、App Has automation been done ? Do you know which technical frameworks are used ?
16、App Is automation using a real machine or a virtual machine ?
17、 what PO Pattern , What is? page factory?
18、 sketch selenium Principle
19、UI Automated test cases are often unstable in the running process , That is to say, this time we can pass , There will be no way to pass next time , How to improve the stability of use cases ?
Evaluation of actual combat capability of automation project :
- Is automation a self built framework or an existing framework , Just some use cases written into it ?
- Talk about how to do automated testing at work ?
- If the company wants to do Automation , Let you do it , What would you consider ?
- In the process of automatic testing, the upstream and downstream interfaces have data dependence, and how to deal with it , Please specify in your framework , This part of the design logic details .
- Multiple environments ,pytest How to switch environments ?
- pytest Run all case in the future , How to clean up the database ?
- App Automation has built its own framework logger Are there any screenshots of use cases that fail ? Which library does the screenshot use ?
- The previously deployed automation framework is one machine running or multiple machines running ? Is it a machine to run or a master computer to operate each extension to run ?
- Login Where are these use case data taken ?excel Do you ? What method to use ? What third-party libraries ?
Cough , Welcome to reply to the self-test results in the comment area .
Friends who like software testing , If my blog helps you 、 If you like my blog content , please “ give the thumbs-up ” “ Comment on ” “ Collection ” One Key triple connection !
边栏推荐
猜你喜欢
DAY 7 小练习
Do you really need automated testing?
Detailed cross validation and grid search -- sklearn implementation
测试理论概述
MySql 怎么查出符合条件的最新的数据行?
QT: QSS custom qtableview instance
[combinatorial mathematics] pigeon's nest principle (simple form of pigeon's nest principle | simple form examples of pigeon's nest principle 1, 2, 3)
MAUI Developer Day in GCR
How does MySQL find the latest data row that meets the conditions?
QT: QSS custom qtreeview instance
随机推荐
最高月薪18K 拥有好的“心态和选择”, 成功就差“认真和坚持”~
2022 pinduogai 100000 sales tutorial
多路IO转接——前导
QT:QSS自定义QTableView实例
Qt:qss custom qstatusbar instance
8年测试总监的行业思考,看完后测试思维认知更深刻
QT:QSS自定义QMenu实例
Latest sales volume of pinduoduo
Data captured
QT: QSS custom qsplitter instance
测试理论概述
DAY 7 小练习
Flink < --> how to use redis +with parameter
软件测试必学基本理论知识——APP测试
年中了,准备了少量的自动化面试题,欢迎来自测
Game test related tests a hero's skills (spring moves are asked more questions)
Uni app learning 1 bottom menu and parent-child components
Snownlp emotion analysis
你真的需要自动化测试吗?
TypeScript学习总结