The basics of automated testing, everything you know and not know is here!

1. Definition of Automation

With the help of test tools, in accordance with test specifications, partial or full replacement of manual tests can improve the effectiveness of tests.

Note: The test does not need to test all the functions of the software, such as the help of many software.

2. Features

Simulate manual operation: The software replaces manual operation and operates the interface.

3. Features of automated testing

  • Optimize cost
  • reliable
  • fast
  • Reusable

Fourth, automation advantage

  • Repeatability
  • Programmable: It can be programmed and the format can be standardized
  • Reliable: not emotional and stable
  • Improve test accuracy
  • Improve the utilization of test resources: human resources, time resources, etc.

Five, the difference between manual testing and automated testing

1) Many defects found in manual testing: Because people are intelligent, they can consciously judge more problems and phenomena and find more defects.

2) The quality of manual testing is higher: because manual testing can find more unplanned defects.

3) Automated testing and development are closer: because automated testing requires programming code.

4) The respective limitations of the two: In comparison with manual testing, work efficiency is low, and it is easy to be emotional and lead to unstable work content; automated testing cannot think like people.

6. Classification of automated test software

function test:

  • UFT: Interface layer, payment
  • Selenium: free, web automation for writing code, small installation package

Performance Testing:

  • loadrunner: chargeable, powerful, 50% usage rate
  • rational robot
  • jmeter

Test management tools:

  • Zen Tao & Jira: High cost
  • Interface testing tool: postman
  • Self-developed tools: meet business needs and have strong pertinence
  • Open source testing tools: low cost, flexibility, and poor ease of use
  • Commercial tools: powerful, easy-to-use, expensive, comprehensive consideration of interactive interface

Seven, automated workflow

Automated test decision -> test tool acquisition -> automated test introduction -> test plan design and development (script) (the most important) -> test execution and management (the most troublesome) -> test review and evaluation

8. Factors considered in automated testing

1) Project impact: automated testing has a positive effect on project accuracy and coverage risk, making development more agile

2) Complexity: Is it easy to realize automation, including data and other environmental impacts

3) Time: how long does it take to realize the automated test

4) Requirements: early requirements and code stability

5) Workload: Whether the code is relatively stable and whether the functional characteristics will evolve

6) Coverage: Can the key features and functions of the program be covered?

7) Resources: test human resources, hardware resources

8) Automated execution: Do you have time and skills to run

Nine, the application of automated testing

1) Regression test: perform previous tests when developing a new version of the software

2) More and more frequent tests

3) Work that cannot be achieved by manual testing

4) Cross-platform testing: compatibility testing of web testing

5) Repetitive operations

Not applicable:

1) Unstable software version

2) Design and test the interaction with physical equipment

3) The test result is easier to pass the test of human judgment

Ten, test tool selection

1) Buy the right ones, not the expensive ones

2) Choose mainstream testing tools

3) Introduce testing tools in stages and gradually

4) Choose products with perfect technical support

5) If you need multiple tools, try to choose a company product

Recommend good articles:

A pack of sad spicy strips to share-top ten best automated testing tools

About software testing! Everything you want to know is here, Xiaobai must see!

What you need to know before doing automated testing

10 years of software testing engineers' perceptions-to friends who are still confused

What kind of person is suitable for software testing?

Knowledge to understand python automated testing(3)

Which is more suitable for automated testing, Python or Java?

The daily work of software testers

Play with Python+Selenium automated testing in 10 minutes, and teach you a quick start!

Finally: Welcome to follow the editor to receive a summary of the core knowledge of Python automated test engineers with a 300-page pdf document! Software testing technology exchange group: (313782132) The content of these materials are all the knowledge points that the interviewer must ask during the interview. The chapter includes many knowledge points, including basic knowledge, Linux essentials, Shell, Internet program principles, Mysql Database, package capture tool topics, interface testing tools, advanced testing-Python programming, Web automation testing, APP automation testing, interface automation testing, advanced continuous integration testing, testing architecture development testing framework, performance testing, security testing, etc.

Guess you like

Origin blog.csdn.net/weixin_50271247/article/details/108513945