16- Software Testing Framework face questions

The main questions for surface testing framework to explain.

1. Test a cup how to write test cases?


Interface: Appearance cup

safety: there is no glass or toxic bacteria

Reliability: the degree of damage to the cup dropping from different heights; drainage cup placed 12 hours or 24 hours, leaks

portability: the cup at different places, the environment temperature and the like whether the next can be used normally

compatibility: whether to accommodate a cup of juice, white water, alcohol, gasoline, etc.

ease of use: the cup is hot, if there is anti-slip, easy to drink whether the

user documentation: Manual whether the use of the cup, restrictions, use conditions are described in detail

stress test: needled cup, constantly add weight, to see how much pressure will penetrate when the cup


3, assume that a text input box in claim 10 numeric characters ZIP code, how to divide the text box should equivalence classes?


Effective Invalid equivalence class equivalence class
    (1) numeric character (2) non-numeric characters
    (3) Zip code of 10 characters (4) Code greater or less than 10 characters
                              (5) Code empty












reserved characters, comprising: #, $,%, ^, &, _, {,}, ~, \, they either have a special meaning, or does not fit all fonts. These characters are entered directly in the source file, we may not get the desired results.
 If you use them directly in the text, you do not usually get these characters in the printed version, and even sometimes an error. If you want to get them, you can add a backslash in front of these characters.
 1, Q: You've found a bug in the test, but the Development Manager / Development think this is not a bug, what should you resolve?
First of all, to refer the issue to the defect management library inside a filing.

Then, to obtain evidence and standards of judgment:

According to the requirements specification, product description, design documents, etc., to confirm whether actual results and plans to have inconsistencies, provide a direct basis whether a defect is identified;
if no documentation basis can be explained where if there is an inconsistency in accordance with the general characteristics of similar software, to confirm whether it is defective;
according to the general habits of users, to confirm whether it is defective;
to explore with designers, developers, and customer representatives and other relevant personnel to confirm whether it is defective;
reasonable discussion, explain their judgments to the test manager reason, pay attention to the objective, rigorous, do not get personal emotions.

Waiting for the test manager to make a final decision.

2, Q: give you a website, how do you test?
First, find the requirement specification, website design and other related documentation, analysis and testing needs.

Test plans, determine test strategy and test range, generally it includes the following components: functional testing; interface testing; performance testing; database testing; security testing; compatibility testing

design test cases:

functional testing may include, but are not limited to the following aspects:

link test. Jump links are correct, whether there is an empty page and the page is invalid, if there is an incorrect error message is returned.
Submit test function.
Whether multimedia elements can be loaded and displayed correctly.
Multi-language support is able to display the correct language selection and so on.
Interface testing may include, but are not limited to the following aspects:

whether the page style uniform, attractive
page layout is reasonable, whether the focus and hotspot content highlight
whether the control of normal use
for controls but must be installed, whether automatically download and install functionality
text check

performance testing in general from the following aspects:

stress test; the test load; strength test

To determine whether a specific test database is needed. Generally we need to consider the connectivity database, the data access operation, the contents of authentication data and so on.

Security testing:

basic checks login function of
whether there is an overflow error, resulting in a system crash or privilege leaked
FAQ checking security-related development languages, such as SQL injection, etc.
If you need advanced security tests to determine access to professional security firm to help , outsourced testing, or for support
compatibility test, based on the contents of a requirements specification, determined combination of supported platforms:

browser compatibility;
operating system compatibility;
compatibility software platform;
compatibility database (a kind of database different versions)

to carry out the test and record defects. Reasonable arrangements to adjust test progress, test in advance to obtain the resources needed to establish management systems (for example, the demand for change, risk, configuration, testing, documentation, defect content of the report, human resources, etc.).

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

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

under the conditions specified in the program to operate, to discover bugs, measure software quality, and evaluate whether it can meet the requirements of the design process.

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 published function, and users can access the functions are clearly written instructions.
To ensure that products meet the performance and efficiency requirements
to ensure that the product is robust and adapt to the user's environment
principles of software testing:

Must be part of a test case is the definition of the expected output or result
Programmers should avoid testing their own written procedures
to prepare the organization to test their software should not write software
should perform a thorough examination of the results of each test
to write test cases should be based not only effective and unexpected input situation, but also should be based on invalid input and unforeseen circumstances
to check whether the program "not done it should be done" is only half of the test, the test of the other half is to check whether the program "did it not should do "
avoid disposable test cases, unless the software itself is a one-time software
should not assume that the default will not find errors when planning the tests work
there is a possibility that part of the program more errors have been found with the part the error is proportional to the number of
software testing is a very creative, intellectual work extremely challenging

4, security software should be several areas where to test?

Software security testing, including programs, databases, security testing. The system of safety indicators to test different strategies are also different.

User authentication security testing question to be considered: a clear distinction between different user rights system, the system will not appear in the user conflict, the system will not cause confusion due to changes in user privileges, and whether the user login password is visible, you can copy, whether by absolute way to landing system (copy after user login link directly into the system), after the user exits the system whether to delete all the authentication token, if you can use the back button instead of by entering a password into the system, the system of network security testing should be considered question, protective measures test taken correctly assembled, patches about the system whether or not marked, analog unauthorized attacks, see protection system is strong, the use of sophisticated network vulnerability checking tool to check the system-related vulnerabilities (ie, with the most professional hacking tool try attacks, is now the most commonly used NBSI series and IPhacker IP), using a variety of Trojan horse inspection tool inspection system, the use of various anti-groups program plug-in tools check the system plug loopholes

Database security issues: whether the system of confidential data (such as the banking system, which is particularly important, there is no general site requirements too high), the integrity of the system data (I have just concluded business real name verification service systems exist once the data is incomplete, for the function of this system implementation with obstacles), system data manageability, independence of system data, system data can be backed up and recovery (data backup is complete, the possibility of recovery, whether recovery can be complete)
 


5 software testing is divided into several stages
and development process corresponds to the testing process will in turn go through unit testing, integration testing, system testing, acceptance testing four main phases:

unit testing: unit testing is the smallest unit for software design - program module code segment even work to test the validity of the test is usually performed by a developer.
Integration Testing: Integration testing is to assemble the module in accordance with the design requirements for testing, the main purpose is to identify problems related to the interface. Since the product before submitting to testing departments, product development teams have joint debugging, so in most enterprise integration testing is done by the developer.
System Testing: System testing is carried out after the integration testing by the aim of fully operational system to verify whether the subsystems are working properly and complete the design. It is mainly carried out by the test department, test department is the largest and most important test, have a significant impact on the quality of the product.
Acceptance testing: Acceptance testing to the requirements phase "requirements specifications" for the acceptance criteria, requiring the user to simulate the actual operating environment during testing. For the actual project can be carried out and customers for products, and final system testing. Test content for the comprehensive testing of functional modules, especially for document testing.
Unit Testing Strategy:

6, what tasks testers in the software development process is?
1, to find out as early as possible in the system Bug;
2, to avoid defects in the software development process;
3, to measure the quality of software, quality assurance system;
4, concerned about the needs of users, and to ensure that the system meets user needs.
The overall goal is: to ensure software quality.


7. A test engineer should have those qualities?
1, 2 responsibility, communication skills 3, 4 teamwork, patience, care, confidence
5, always skeptical attitude, conscious defect prevention and 6, the best have some programming experience
 

8, to test a software, found running slowly on WIN98, how discrimination is a problem in the software or its hardware and software problems operating environment?

See operating environment software requirements demand.
If you meet the requirements of the program is problematic, if not meet the requirements of the system is a hardware problem















 

 

Guess you like

Origin www.cnblogs.com/Chamberlain/p/11111946.html