9 software testing interview questions, wipe out 90% of software testers

 

Without any real skills or skills, no interview experience, and no knowledge of workplace routines, how do you pass five trials? How to beat the interviewer? How to get that coveted offer?

If your job-hopping intention has been confirmed, please read on!

The most important step in job hopping is naturally the interview. During the job hopping season, there are various interview questions on the Internet, which can make people dazzled for a while, and it is hard to tell which one to look for .
I have chosen 9 questions for you.

ask item

1. Question: What are the main types of tests for the project?

In most cases, this is the opening question of an interview. The interviewer asks this question mainly to examine your overview ability and global vision. First, carefully review the projects you have done. Then select the most valuable part, clarify the structure of the project, and answer from the perspective of business, project environment, process, and the role you play.

Business: For example, Atstudy is a comprehensive website with online live broadcasting and video recording and broadcasting as its main business. It is divided into three major modules: administrator, teacher, and student. It can also support web and mobile applications.

Project environment: The system is built on a Linux server, uses the mysql database, and uses the PHP back-end language.

Process: Learn what is the current version of Atstudy, how much development and testing the project team has, and then talk about the process of software testing.

My own role: I am responsible for which tests of which modules.

ps: The modules you are responsible for need to be developed in detail, such as the interface test or the integrated functional test of the module, what means are used to test, is it based on manual or with automation assistance; what automation tools are used during the period, or through What language to write automated test scripts and other technical issues; In addition, did you encounter difficulties during the test development process, and what method did you use to troubleshoot these difficulties; such things that can demonstrate your technical capabilities can be logically explained in this question Be clear.

ask the solution

2. Question: You found a bug in the test, but the development manager thinks it is not a bug, how should you solve it?

First, submit the problem to the defect management library for filing.

Then, to obtain the basis and criteria for judgment:

1) According to the requirements specification, product description, design documents, etc., confirm whether the actual result is inconsistent with the plan, and provide a direct basis for confirming the defect;

2) If there is no document basis, you can explain whether there is any inconsistency based on the general characteristics of similar software to confirm whether it is a defect;

3) According to the user's general usage habits, to confirm whether it is a defect;

4) Discuss with relevant personnel such as designers, developers and customer representatives to confirm whether it is a defect;

5) Make a reasonable discussion, explain the reasons for your judgment to the test manager, pay attention to being objective and rigorous, and do not mix personal emotions.

Finally, wait for the test manager to make a final decision. If there are still disputes, you can report to the superior through the channels provided by the company policy, and the superior will make a decision.

ask test skills

3. Question: Given you a website, how do you test it?

First, find relevant documents such as requirements description and website design, and analyze the testing requirements.

Make a test plan, determine the test scope and test strategy, generally including the following parts: functional test; interface test; performance test; database test; security test; compatibility test

Design test cases:

①Functional test

Can include, but not limited to the following aspects:

link test. Whether the link jumps correctly, whether there are empty pages and invalid pages, and whether there is an incorrect error message returned.

Submit a test of the function.

Whether multimedia elements can be loaded and displayed correctly.

Whether multilingual support can correctly display the selected language, etc.

②Interface test

Can include but not limited to the following aspects:

Whether the page style is uniform and beautiful

Whether the page layout is reasonable, whether the key content and hot content are prominent

Whether the control works normally

For controls that are required but not installed, whether to provide the function of automatic download and installation

word check

③Performance test

Generally, the following three aspects are considered:

stress test; load test; stability test

④Database test

It is necessary to decide whether it needs to be carried out. Databases generally need to consider connectivity, data access operations, and data content verification.

⑤Safety test

Checks for basic login functionality

Whether there is an overflow error, resulting in a system crash or permission leak

Common security issue checks for related development languages, such as SQL injection, etc.

If advanced security testing is required, be sure to get help from a professional security firm, outsource testing, or get support

⑥Compatibility test

According to the content of the requirements description, determine the supported platform combination:

browser compatibility;

operating system compatibility;

Compatibility of software platforms;

Database Compatibility

Tests are performed and defects are recorded. Reasonably arrange and adjust the test schedule, obtain the resources required for testing in advance, and establish a management system (for example, requirements changes, risks, configurations, test documents, defect reports, human resources, etc.).

Regularly review, evaluate and summarize the test, and adjust the content of the test.

Ask the database

4. Question: Are you familiar with databases? Do you usually use the database a lot?

Are you familiar with databases?

Relatively familiar, for example, DML statements have additions, deletions, changes, and queries: (speak out in an orderly way)

1 insert into table name values ​​(value 1, value 2, value 3,...)

2 delete from table name where condition

3 update table name set column name = new value

4 select * from table name

The longest query statement is select * from table name where condition group by column name having grouped condition order by column name.

Do you usually use the database a lot? (About 1/4 of the test process is checking the database)

It’s okay, generally there is a problem, and you don’t necessarily have to go to the database to query when encountering a BUG.

Examples can be:

For example, when it is necessary to verify whether the front-end and back-end data are updated synchronously in a timely manner, and the integrity of the data, it is necessary to enter the background database to check the data in the corresponding data table. For another example, for large-scale test data construction, it is also necessary to construct test data in batches through the insert statement.

In addition, (for example, when Taobao pays, after entering the payment password, the prompt message of successful payment has been returned, but the order query on the interface is still pending payment. At this time, you need to query the data in the order table to find the transaction you just made. For that order, analyze the error, if it is confirmed that it is a BUG , ​​you can directly submit it to the development in the BUG system)

ask linux

5. Question: What command does Linux use to view files, and what command does it use to view processes?

Answer: The command to view the content of the file is more less head tail cat

View process: ps -ef | grep process number

Commonly used to view log files: less, view

Ask common commands

6. Question: What commands are commonly used to view logs, and what are the main contents to be viewed?

1) To view logs, the less command or the view command is commonly used.

2) Mainly check the running records of the program. For example, if the payment fails, an error message will be printed to the .log log file in the background, and the problem can be preliminarily determined by analyzing the log information. (Supplement: Also query the database, analyze order data, check payment status, etc.)

PS: The log is the text file of .log, which belongs to the text file like .txt. The vi or vim editor is a notepad software and is generally not used to view logs.

Ask Use Case Design

7. Question: software test case design/test case content/management tools?

Reference: Scenario (story)-driven test design, and the selection of test data is usually combined with equivalence class division, causal diagram, boundary value, and error speculation.

The content of the test case: title, test environment, test input data, test steps, expected results, test results, test time, testers

Management tools: Zen Road, QC

ask test interest

8. Where is your greatest interest in testing? Why?

There is no fixed and unified answer to this interview question, but it may be asked by many companies. Provide the following answer reference:

The greatest interest, feeling that this is a challenging job;

Testing is an experience industry. The longer you work, the more difficult and fun it is to do a good job of testing.

Through my own work, I can make software products more and more perfect, and experience the fun from it.

Pay attention to the following points when answering these questions:

1) Express your interest by matching the technical route of the recruiting company as much as possible. For example, if the company is a database application company, then express your interest in database testing and hope to improve your database mastery through testing.

2) Indicate that the purpose of your testing is to improve your ability and to do a better job in testing; improving your ability is not for future development or other things, unless the employer has such an arrangement.

3) Don't express your interest too much outside the scope of the recruiting company. For example, the recruiting company is doing financial software, but you have shown interest in game software; or the recruiting company is doing JAVA development, but your interest is in the development of C language programs.

Ask Career Development

9. What is your testing career development?

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, accumulating testing experience in the first 3 years, asking myself how to be a good test engineer, constantly updating and correcting myself, and doing a good job in testing tasks.

 

These materials should be the most comprehensive and complete preparation warehouse for [software testing] friends. This warehouse has also accompanied tens of thousands of test engineers through the most difficult journey. I hope it can help you too! 

 

Guess you like

Origin blog.csdn.net/lzz718719/article/details/130687167