Software testing: finishing interview questions with answers, a little summary

Not much to say, I'm just a humble and cute newcomer who likes to sort out software test-related interview questions, and I will go directly to the dry goods.

If you want to discuss with me how to learn software testing, click here to sign CSDN

Question: You found a bug in the test, but the development manager believes that this is not a bug. How should you solve it?

First, submit the problem to the defect management database for record.
Then, it is necessary to obtain the basis and standards for judgment:
according to the requirements specification, product description, design documents, etc., confirm whether the actual results are inconsistent with the plan, and provide a direct basis for confirming the defects;
if there is no document basis, you can use similar software The general characteristics explain whether there are any inconsistencies to confirm whether it is a defect;
according to the user’s general usage habits, confirm whether it is a defect;
discuss with designers, developers, and customer representatives and other relevant personnel to confirm whether it is a defect;
reasonable Discuss, explain to the test manager the reason for his judgment, pay attention to being objective, rigorous, and not mixed with personal emotions.
Wait for the test manager to make the final decision. If there is still a dispute, you can report it to the superior through the channel provided by the company policy, and the superior can make a decision.
Insert picture description here

Q: Give you a website, how do you test it?

First, look for relevant documents such as requirements descriptions and website design, and analyze test requirements.
Develop a test plan, determine the test scope and test strategy, which generally include the following parts:
functional testing; interface testing; performance testing; database testing; security testing; compatibility testing
Design test cases:
functional testing can include, but not Limited to the following aspects:
link testing. Whether the link jumps correctly, whether there are empty pages and invalid pages, whether there are incorrect error messages returned, etc.
Submit a functional test.
Whether the multimedia elements can be loaded and displayed correctly.
Whether the multi-language support can correctly display the selected language, etc.
Interface testing can include but is not limited to the following aspects:
whether the page style is uniform, beautiful,
whether the page layout is reasonable, whether the key content and hot content are prominent,
whether the control is used normally
For the necessary but installation space, whether to provide automatic download and installation function
Text inspection
Performance testing is generally considered from the following two aspects:
stress testing; load testing; strength testing.
Database testing needs to be specifically determined whether it needs to be carried out. Databases generally need to consider aspects such as connectivity, data access operations, and data content verification.
Security test:
1. Check the basic login function. 2. Check whether there is an overflow error, which causes the system to crash or leak the authority. 3. Check the common security problems of related development languages, such as SQL injection. 4 If you need advanced security testing, be sure to get the help of a professional security company, outsource testing, or obtain support.
Compatibility testing, according to the content of the requirements, determine the supported platform combination:
browser compatibility; operating system compatibility ; Compatibility of software platform; Compatibility of database
Carry out tests and record defects. Reasonably arrange and adjust the test schedule, obtain the resources required for the test in advance, and establish a management system (for example, demand changes, risks, configurations, test documents, defect reports, human resources, etc.).
Periodically review, evaluate and summarize the test, and adjust the content of the test.

Entering Chinese characters in the search engine can be resolved to the corresponding domain name, how can I use LoadRunner to test.

Establish test plans, determine test standards and test scope.
Design test cases for typical scenarios, covering common business processes and uncommon business processes, etc.
According to test cases, develop automatic test scripts and scenarios:
record test scripts and
create a new script (Web/HTML protocol) )
Click the record button and enter "about:blank" in the URL of the pop-up dialog box.
After the normal operation process is performed in the opened browser, the recording ends.
Debug the script and save it. You may want to notice the association of character sets.
Set up test scenarios Set test scenarios
for performance, mainly to determine whether the average transaction response time of the system meets the standard under normal conditions.
Set test scenarios for stress load, mainly to determine whether the system is at full load for a long time or exceeds the capacity of the system. Will collapse.
Perform tests, obtain test results, analyze test results
Insert picture description here

Question: What is the difference between a client with 300 clients and 300 clients with 300 clients exerting pressure on the server?

300 users on a client, it will take up more resources of the client, and affect the test results.
Interference may occur between threads, and some exceptions may occur.
300 users are on one client, which requires more bandwidth.
For IP address issues, you may need to use IP Spoof to bypass the server's limit on the maximum number of connections to a single IP address.
All users are on one client, no need to consider the issue of distributed management; while users are distributed on different clients, you need to consider using a controller to deploy users on different clients as a whole. At the same time, you also need to give the corresponding authority configuration and firewall settings.

What are the concepts and characteristics of software? The meaning of software reuse? What are the components?

Software is another part of a computer system that is interdependent with hardware. It is a complete collection including programs and documents.
Software reuse (Software Reuse) is the use of various relevant knowledge of existing software to build new software to reduce the cost of software development and maintenance. Software reuse is an important technology to improve software productivity and quality. Early software reuse was mainly code-level reuse. The reused knowledge specifically referred to the program, and later expanded to include domain knowledge, development experience, design decisions, architecture, requirements, design, code, and documentation.
Software components that can be reused are generally called reusable components

What is the software life cycle and its model?

The software life cycle is the structural framework of the entire software development process, activities and tasks. It is the process from feasibility study to requirements analysis, software design, coding, testing, software release and maintenance.
After experiencing requirements, analysis, design, implementation, and deployment, the software will be used and enter the maintenance phase, until it gradually disappears due to lack of maintenance costs. Such a process is called the "Life Cycle Model" (Life Cycle Model).

What is software testing? The purpose and principles of software testing

The process of using manual or automatic means to run or test a system. Its purpose is to test whether it meets the specified requirements or to clarify the difference between expected results and actual results.
The purpose of software testing:
testing is the execution of the program, aims to discover the error
of a successful test is found wrong so far not found
a successful test is found wrong so far found no test
to ensure the completion of the product or its commitment The published functions and the functions that users can access have clear written instructions.
Ensure that the product meets performance and efficiency requirements.
Ensure that the product is robust and adaptable to the user's environment.
Principles of software testing:
teaching material:
software testing should be carried out as soon as possible and throughout the entire software life cycle.
Software testing should be traceable. Requirements
testing should be conducted by a third party It
is impossible to construct exhaustive tests. To follow the Good-enough principle, the
expected output (or result)
must be determined. Each test result must be thoroughly checked
. The clustering phenomenon in the test must be fully paid attention to.
The 28th theorem of defects
strictly implement the test plan and exclude the test arbitrariness
attention lawful and reasonable input, but also pay attention to illegal unintended input
to check whether the procedures done should not do
the test should be "small-scale" began gradually to "large-scale"
repeated use of the same test software would have Resistance to
focus on repairing defects

The role of software configuration management? What does the software configuration include?

As a necessary link in the software development process and the basis of software development management, software configuration management runs through the entire software life cycle. It also plays an important role in supporting the macro management of the software development process, that is, project management. A software development organization that truly and effectively implements software configuration management will make the software development process more predictable, make the system repeatable, and greatly improve the competitiveness of the software organization.
Software configuration includes the following contents:
configuration item identification,
workspace management,
version control,
change control,
status report,
configuration audit

What is software quality?

Software quality: The characteristics of the software product can meet the user's function and performance requirements.

What is the current main test case design method?

White box test:
logical coverage
loop coverage
basic path coverage
black box test:
boundary value analysis method
equivalence class division
error guessing method
causality diagram method
state diagram method
test outline method
random test
scenario method
Insert picture description here

From which aspects should the security of the software be tested?

Software security testing includes program and database security testing. The test strategy is also different according to different system safety indicators.
The user authentication security test should consider the question:
clearly distinguish the different user permissions in the
system will there be user conflicts in the
system will the system cause confusion due to the change of the user's permissions,
whether the user login password is visible and can be copied
through absolute means Log in to the system (copy the link after the user logs in and directly enter the system) After the
user logs out of the system, whether all authentication marks are deleted, and whether the back key can be used to enter the system without entering a password
. The test of the system network security should consider the problem and
the protective measures taken by the test Whether it’s properly assembled, whether the relevant system’s patches are applied to
simulate unauthorized attacks, to see whether the protection system is sturdy,
adopt mature network vulnerability checking tools to check system related vulnerabilities (that is, use the most professional hacking tools to try it out. Now the most commonly used is NBSI series and IPhacker IP)
use various Trojan horse inspection tools to check the system Trojan horse situation.
Use various anti-plug tools to check the external vulnerabilities of each group of programs in the system.
Database security considerations:
whether the system data is confidential (for example, for banking systems, this is particularly important , The general website is not too demanding)
the integrity of the system data (the enterprise real-name verification service system I just finished has data incompleteness, which has obstacles to the realization of the function of this system)
system data manageability
system Data independence
System data can be backed up and restored (whether the data backup is complete, can be restored, can the restoration be complete)

What is a test case and what is a test script? What is the relationship between the two?

A specific set of input data, operations or various environmental settings and expected results provided to the tested system for the implementation of the test.
Test scripts are scripts written for automated testing.
The writing of test scripts must correspond to the corresponding test cases,

Briefly describe what is static testing, dynamic testing, black box testing, white box testing, alpha testing, beta testing

Static testing is the process of looking for possible errors in the program code or evaluating the program code without running the program itself.
Dynamic testing is to actually run the program under test, enter the corresponding test instance, check the difference between the running result and the expected result, determine whether the execution result meets the requirements, so as to check the correctness, reliability and effectiveness of the program, and analyze the system operation efficiency and Robustness and other performance.
Black box testing is generally used to confirm the correctness and operability of software functions. The purpose is to check whether the various functions of the software can be realized. The program under test is regarded as a black box, regardless of its internal structure. In the case of the relationship between the input and output or the function of the program, rely on the software specification to determine the test cases and infer the correctness of the test results.
White box testing is based on the analysis of the internal logic structure of the software. It is a code-based test. Testers judge the quality of the software by reading the program code or by using single-step debugging in the development tool. Generally, the black box testing is performed by the project manager. It is implemented by programmers.
Alpha testing is a test performed by a user in a development environment, or a controlled test performed by an internal user in a company that simulates the actual operating environment. Alpha testing cannot be completed by programmers or testers.
Beta testing is a test performed by multiple users of the software in the actual use environment of one or more users. Developers are usually not on the test site, and Beta testing cannot be done by programmers or testers.
Insert picture description here

What is the software quality assurance system? What are the several standards related to quality assurance management in the national standard? What are their number and full name?

SQA consists of a set of software engineering processes and methods to ensure (software) quality. SQA runs through the entire software development process, (it) should include requirements document review, code control, code review, change management, configuration management, version management and software testing.
What are the quality characteristics of software products?
Functionality: adaptability, accuracy, interoperability, compliance, and security.
Reliability: maturity, fault tolerance, and recovery.
Usability: easy to understand, easy to learn, easy to operate.
Efficiency: time characteristics, resource characteristics.
Maintainability: easy to analyze, easy to change, stable, easy to test.
Portability: adaptability, easy installation, compliance, and easy replacement.

At last

I will write here for the time being today, and come back another day~
Thank you all for your patience. I have also compiled a copy of "Software Testing Interview Questions + Resume Template". Those who need it can click here to get it directly Remarks CSDN
Insert picture description here

Follow, don’t get lost, if it helps, remember to like and support!

Guess you like

Origin blog.csdn.net/camagailun/article/details/109393896