Chun recruited a byte and took 36K out, let me see the basic ceiling

This year's spring recruitment has basically entered the large-scale lottery season, and many friends have achieved good results and got their favorite offers.

In major forums and communities, many small partners have generously shared common interview questions and stereotyped essays. For this reason, we will also organize and classify them here, which is also a key point.

As the saying goes, stones from other mountains can be used to make jade, and it is helpful to read more and learn more. This time Tencent is also frantically recruiting people! After finishing this stereotyped essay, 36K is ready!

This summary covers a wide range of content, including 16 technology stacks:

1. Test theory

什么是软件测试?

  • The process of executing a program in order to find errors in it

软件测试的目标

  • Finding as many bugs as possible
    Testing is the process of running a program to find bugs.
    A good test case is one that is likely to find hitherto undiscovered bugs.
    A successful test is one that reveals hitherto undiscovered bugs.

怎么编写案例?

  • The writing of the case has a lot to do with the definition of the testing phase. The cases for system tests and unit tests may be different. Generally speaking, the test cases are determined according to the requirements of the system.

2. Linux Basics

Linux 中,一般怎么隐藏文件?

  • The file name starts with a .

在 Linux 系统中,一个文件的访问权限是 755,其含义是什么?

  • 755 means that the file owner has read, write, and execute permissions on the file, and the user in the file owner's group and other users have read and execute permissions on the file.

在 Linux 系统中,一个文件的访问权限是 755,其含义是什么?

  • 755 means that the file owner has read, write, and execute permissions on the file, and the user in the file owner's group and other users have read and execute permissions on the file.

3. MySQL Basics

什么是数据库?

  • Database (Database) is a warehouse that organizes, stores and manages data according to the data structure

简述什么是存储过程和触发器?

  • Stored Procedure: An object in the database, a precompiled collection of Transact-SQL statements that are stored under a name and processed as a unit. (It can be understood as a function in C language, with functional characteristics such as parameters and return values)

    A trigger is a special type of stored procedure that takes effect when data is modified in a specified table using one or more of the following data modification operations: UPDATE, INSERT, or DELETE.

Mysql 数据库中怎么实现分页?

  • select * from table limit (start-1)*limit,limit; where start is the page number and limit is the number of items displayed on each page.

4. Web testing

如何测试购买下单和退货流程

  • The product manager designed single product discounts, combination discounts, order discounts, coupon discounts (coupon discounts include general coupons, directional coupons, discount coupons, and discount coupons) and gift cards, among which gift cards need to be purchased separately. How to test the purchase order and return process, what should be paid attention to? (including data storage)

nginx,tomcat,apache 都是什么?

  • Nginx (engine x) is a high-performance HTTP and reverse proxy server, as well as an IMAP/POP3/SMTP server.

    Apache HTTP Server is a modular server derived from NCSA httpd server. Tomcat server is a free and open-source Web application server, which is a lightweight application server and is the first choice for developing and debugging JSP programs.

5. Interface test

什么是接口

  • Interface refers to the interaction points between external systems and systems and between internal subsystems.
    Including external interface, internal interface, internal interface includes: upper layer service and lower layer service interface, same level interface.

下个接口请求参数依赖上个接口的返回数据

  • This is very easy, different interfaces are encapsulated into different functions or methods, the required data is returned, and an intermediate variable a is used to receive it, and the subsequent interface can pass a

接口测试中依赖登录状态的接口如何测试?

  • Relying on the most stateful interface, in essence, every time a request is sent, it is necessary to bring a Session or Cookie with valid account information to send successfully, and add the necessary Session or Cookie when constructing a POST request

6. App testing

在查看 logcat 命令日志时候怎么内容保存到本地文件?

  • Output redirection: logcat >> log_file_name

Appium 都有哪些启动方式

  • 1. Client startup
  • 2. Command line startup

//*[contains(@text,”登录”)]”是什么意思

  • Locate the first element whose text attribute contains the login element

7. Basics of Python

字符串反序输出?

  • print(a_str[::-1])

判断回文?

  • astr[::-1] == a_str

简述你对 input()函数的理解?

  • In Python3, input() obtains user input, no matter what the user enters, it is of string type. There are raw_input() and input() in Python2, raw_input() and input() in Python3 have the same function, what data type is input by input(), and what data type is obtained.

Eight, Selenium-related

什么是 Selenium?

  • Selenium is a suite of tools dedicated to automating web browsers. That's all! What you do with this thing is entirely up to you. Primarily used for automated web application testing, but certainly not limited to that. Boring web-based administrative tasks can (and should!) be automated too.

    Selenium has the support of some of the largest browser vendors who have taken (or are taking) steps to make Selenium a native part of their browsers. It's also the core technology behind countless other browser automation tools, APIs, and frameworks.

    The latest Selenium version is already 3.0 (officially released on October 13, 2016), but because it is a new technology, Selenium 3.0 is not widely used. The range of changes is not very large, mainly because it is more inclined to Webdriver, and more abandoned RC.

什么是 elenium IDE?

  • Selenium IDE is an integrated development environment for Selenium scripts. It is implemented as a Firefox extension (plugin) and allows you to record, edit and debug tests.

webdriver 如何开启和退出一个浏览器?

  • On: dr = webdriver.browsertype() Off: dr.quit()

insert image description here

9. Performance test

你认为性能测试的目的是什么?做好性能测试的工作的关键是什么?

  • The purpose of performance testing is to check whether the system meets the performance specified in the requirements specification. Performance testing often needs to be combined with strength testing, and often requires simultaneous testing of software and hardware.

    The main focus of performance testing is response time, throughput, occupied memory size (auxiliary storage area), processing accuracy, etc.

简述什么是值传递,什么是地址传递,两者区别是什么?

  • Transfer by value What the calling function passes to the called function is a copy of the value, not the original value; passing by address What the calling function passes to the called function is the address of the value. The difference is that the value transfer operation in the called function does not change the value of the calling function, but the address transfer is different.

LoadRunner 分哪三部分?

  • user action design;
  • Scene design;
  • test data analysis;

10. LordRunner Related

LoadRunner 分哪三部分?

  • user action design;
  • Scene design;
  • test data analysis;

简述 LoadRunner 的工作原理?

  • Loadrunner will automatically monitor the requests sent by the specified URL or application and the response returned by the server. It acts as a third party (Agent) to monitor all the conversations between the client and the server, and then record these conversations, generate scripts, and run them again While simulating the request sent by the client, capture the response from the server.

什么是 LoadRunner 的组件?

  • The components of LoadRunner are Virtual User Generator, Controller, Agent, LoadRunner Analyzer and Monitor, LoadRunner Online Help

11. Logic questions

在一天的 24 小时之中,时钟的时针、分针和秒针完全重合在一起的时候有几次?都分别是什么时间?你怎样算出来的?

  • 23 times, because the minute hand needs to rotate 24 times, the hour hand can only rotate 1 time, and the interval between the minute hand and the hour hand is obviously > 1 hour, they have 23 chances of coincidence, and the second hand has a chance of coincidence in each coincidence, so It is 23 coincidence times, which can be obtained by comparing with the watch, or by formulating.

12. Human resources

你的测试职业发展是什么?你自认为做测试的优势在哪里?

  • The more testing experience, the higher the testing ability. So my career development needs time to accumulate, step by step toward a senior test engineer. And I also have a preliminary career plan, accumulated testing experience in the first 3 years, according to the requirements of how to be a good test engineer, constantly update and correct myself, and do a good job in testing tasks.

  • The advantage lies in my unswerving confidence and enthusiasm for testing. Although I am not experienced enough, I am confident that the basic skills required by testing can be used in my work

好的测试工程师应具备的素质?

  • Communication skills, empathy skills, technical skills, self-confidence, diplomacy, sense of humor, strong memory, patience, skepticism, self-discipline, insight

请介绍一下你的项目

  • From several parts, first project scale, including project code scale, demand scale, use case scale, workload, schedule, quality and cost, then the overall testing process, then roles and responsibilities, and then the project In terms of their own characteristics, such as what they did best, when they encountered the greatest difficulties (how to solve them), what was the worst, and finally their experience.

There are too many contents and the space is limited. All documents and the knowledge system of PDF are displayed in the form of screenshots. All tutorial learning PDFs are only briefly introduced here, but the original copies of all tutorials are available for free download.

获取方式:

insert image description here

Guess you like

Origin blog.csdn.net/weixin_56331124/article/details/131236975