2022 latest finishing software testing common interview questions with answers

Included modules:

This article is divided into nineteen modules, namely: [software testing] foundation, liunx, MySQL, web testing, interface testing, APP testing, management tools, Python, performance testing, selenium, lordrunner, computer network, composition principle, data structure and algorithm , logic questions, and human resources needs can be [click here to receive the full version of the interview questions ~ password CSDN]
as shown below:

There are a total of 400 interview questions. The purpose of this article is to organize a detailed and authoritative interview list for readers and friends. Let’s enter the topic together.


What are the strategies for Q1 testing?
Reference answers:
black box/white box, static/dynamic, manual/automatic, smoke testing, regression testing, public testing (Beta testing strategy)

Q2. What are the characteristics of the orthogonal table test case design method?
Reference answer:

Cover the most operations with the least experiments, few test case designs, high efficiency, but very complex;
for basic verification functions, as well as defects caused by secondary integration, can generally be found; but deeper
defects, more complex Defects, it is still powerless;
under specific circumstances, orthogonal tables are generally difficult to do. Mostly, this method is only used for system testing

Q3. Describe the management process of software defect (BUG) tracking using the bugzilla defect management tool?
Reference answer: It
is the state transition diagram of Bugzilla.

Q4. What problems do you think bugzilla has in the process of using it?
Reference answer: The
interface is unstable;
it is very cumbersome to configure different parts of it as needed.
In terms of process control, security is not well defined, and it is easy to misuse other people’s bugs;
without comprehensive scoring indicators, it is difficult to confirm the priority of repairs.
Q5. Describe the complete process of test case design?
Reference answer:
requirement analysis + maintenance work for requirement changes;
test requirements are derived according to requirements;
logic coverage, loop coverage, peer review, desk inspection, code walkthrough, code review, Jingtai Data flow
User action design;
scene design;
test data analysis;
design test plan, review test plan;
after plan review, design test case, and then review test case;

Q6. What are the strategies for unit testing?
Reference answers: logic coverage, loop coverage, peer review, front desk inspection, code walkthrough, code review, Jingtai data flow

Q7. What are the three parts of LoadRunner ? Reference
answers: User
action design; Scenario
design; Test
data analysis ; Run the test script 5. Monitor the scenario 6. Analyze the test results The above, it is best to combine a case and introduce it according to the above process.

Q9. What is concurrency? In lordrunner, how to test for concurrency? What happens if the rendezvous point fails?
Reference answer:
Support multiple different operations at the same time point.
LoadRunner provides IP masquerading, rendezvous point, design with virtual users, and setting on multiple computers
, which can simulate real concurrency better.
A rendezvous point is where multiple users simultaneously perform virtual user operations under a certain environment at a certain moment
. If the rendezvous fails, the rendezvous operation will be canceled, and the test will not be performed.

Q10. When using QTP for functional testing, when recording scripts, it is necessary to verify the login/inquiry
status of multiple users. How to operate?

Reference answer:
analyze the basic situation of user login, get a set of data, pass the test/fail There are all tested (
the data are designed according to TC), and then the logged script is recorded, the key data is parameterized, the script is modified,
the code is enhanced, and the script is debugged.

Q11. What is the function of Action in QTP? There are several?
Reference answer:
The function of Action
n Use Action to group the step set
n reorganize the steps, and then be called as a whole
n have its own sheet
n combine the steps with the same requirements, Overall operation
n has an independent object repository
Action type
n reusable action
n non-reusable action
n external action

Q12. What functions does TestDirector have, and how to manage the software testing process?
Reference answer:
Requirement management
n Define the test scope
n Define the requirement tree
n Describe the function points of the requirement tree
Test plan
n Define the test objectives and test strategies.
n Decompose the application and build a test plan tree.
n Determine the test method for each function point.
n Connect each function point to the requirements so that the test plan covers all the test requirements.
n Describe the test steps for manual testing
n Specify the function points that need to be automatically tested
Test execution
n Define the test set.
n Develop test tasks and test schedules for each tester.
n Run automated tests.
Defect Tracking
n Recording defects
n View new defects and determine which ones need to be fixed
n Relevant technicians modify defects
n Regression testing
n Analyze defect statistics charts to analyze the development quality of the application.
Q13. What types of software testing are you familiar with? Please try to compare the
differences and connections between these different test types (such as functional testing, performance testing…)?

Reference answer: Compatibility Testing (compatibility testing), also Called “Configuration
testing”, testing software for compatibility with other elements of the system that it interacts with, such as:
Browsers, operating systems, hardware, etc. Validate the operation of test objects in different software and hardware configurations
Functional testing, also known as behavioral testing, tests a product’s features and operational behavior to determine that they meet design requirements, based on product characteristics, operational descriptions, and user scenarios. Functional testing of localized software to verify that an application or website works correctly for the intended user. Use the appropriate platform, browser, and test scripts to guarantee that the target user’s experience will be good enough, as if the app was developed specifically for that market.
Performance testing, a test that evaluates whether a product or component conforms to performance requirements
. Including types of load tests, strength tests, database capacity tests, benchmark tests, etc.
Q14. What is included in the software defect (or bug) record? How to submit a high-quality software defect
(Bug) record?
Reference answer: 5C standard
Q15. What is the difference between Beta testing and Alpha testing?
Reference answer: Beta testing( Beta testing), testing is a test performed by multiple users of the software in the
actual use environment of one or more users. Alpha testing (alpha testing) is usually not performed by developers at the test site
. It is a test performed by a user in the development environment, or it can be
a controlled test performed by a user within the company in a simulated actual operating environment.
Q16. What is a database?
Database is a warehouse that organizes, stores and manages data according to [data structure]

Q17. What is a relational database, what are the primary key, foreign key and index?
A relational database is a database composed of multiple two-dimensional row-list tables that can be connected to each other. The
primary key is one or more fields in the table, and its value is used to uniquely identify a record in the table
. A key represents a related connection between two relationships. A table with a foreign key of another relation as its primary key is called a primary table, and a table with a foreign key is called a secondary table of the primary table. Foreign key is also known as foreign key
In relational databases, an index is a storage structure that separates and physically sorts the values ​​of one or more columns in a database table. It is one or more columns in a certain table. A collection of values ​​and the corresponding logical pointers to the data pages that physically identify these values ​​in the table Listing
Q18, write out table additions, deletions, modifications, query SQL syntax
Table creation: create table table name (column name 1 type constraint, column 2 type constraint …)
table deletion: drop table table name
table change (structure change, not record update): alter table table name add|drop column name| constraint name
Insert record: insert into table name… values…
update record: update Table name set column name = value where condition
Delete records: delete from table name where condition
Q19. What are the connection methods of SQL tables?
Joins in SQL are divided into inner joins, outer joins, and cross joins according to the result set.

Q20. Count the number of lines of code in the python source code file, remove comments, blank lines, and output?

Q21. Does python call cmd and return the result?
OS module for python.
 There are two ways for the OS module to call CMD commands: os.popen(), os.system(). Both are called by the current process.
os.system cannot get the return value. When the operation is finished, go to the following execution program. Usage such as: OS.system(“ipconfig”).
OS.popen with return value, how to get the return value. Such as
print p.read(). The result is a string.
 These two are called with the current process, which means they are both blocking. Pipeline subprocess module.
 The operating principle will generate child processes under the current process.
print sub.read()

Q22, bubble sort

Q23, 1, 2, 3, 4, how many three-digit numbers can be formed by the four numbers that are different from each other and have no repetitions?

Q24. Given an integer N and a number K of 0-9, it is required to return the number of occurrences of the number K in 0-N

def digitCounts(self, k, n):
   count = 0
   for i in range(n+1):
      if i == 0 and i == k: 
         count += 1
      while( i // 10 >= 0 and i != 0):
         j = i % 10 
         if j == k:
            count  += 1 
                i = i //10
   return count

Q25. How do you start Selenium RC from the command line?
// Simple way to start [Selenium] RC is
java -jar selenium-server.jar
// Run a set of Selenese scripts in the
browser java -jar selenium-server.jar -htmlSuite
Q26, not free on my machine port 4444 . How can I use another port?
// You can specify the port when running selenium server –
Java -jar selenium-server.jar -port 5555
Q27. What is Selenium Server and how is it different from Selenium Hub?
Selenium Server is a standalone application that uses a single server as a test node. The Selenium hub proxies one or more Selenium node instances. A hub and multiple nodes are called Selenium grid. Running SeleniumServer is similar to creating a de Selenium grid with a hub and a single node on the same host.
Q28. What are the categories of performance testing
1. Load testing
2. Stress testing
3. Concurrency testing
4. Benchmark Test
5. Stability Test
6. Recoverable Test
Q29. How does LoadRunner work?
How LoadRunner works:
LoadRunner identifies and finds problems by simulating tens of millions of users implementing concurrent loads and monitoring system behavior and performance in real-time.
1. VuGen generator: capture the user’s business flow, and finally record it into a script:
2. Controller (Controller):
3. Load Generators (Load Generators)
4. Analyzer (Analysis): mainly used for Analyze the test results.
Q30. What is the test process of LoadRunner?
(1) Test test
(2) Create virtual user script
(3) Create running scenario
(4) Run test script
(5) Monitor scenario
(6) Analyze the results of the test
above, it is best to combine A case is introduced according to the above process.

Q31. During the testing activities, if the requirements document is found to be incomplete or inaccurate, what should be done?
Reference answer: If the
test requirements analysis finds that the requirements document is imperfect or inaccurate, you should immediately coordinate and communicate with the relevant personnel
Q32. What is the difference between stage review and project review?
Reference answer:
stage review Review of each stage of the project: review of stage results and work
project review to overall project review: work and product
Q33, explain the definition of the working version?
Reference answer:
construction No.: BUILD
Q34, what is a stub module? What is a driver module?
Reference answer:
stub module: the module under test calls the module
driver module calls the module under test
Q35, what do you think is the key to doing a good job of test cases?
Reference answer:
requirements and understanding of design documents, familiarity with the system

Due to the length of the article, there are no 400 interview questions that can’t be put up. If you need all the interview questions, you can [click here, note CSDN]

Leave a Comment

Your email address will not be published. Required fields are marked *