当前位置:网站首页>[advanced software testing step 1] basic knowledge of automated testing

[advanced software testing step 1] basic knowledge of automated testing

2022-07-06 06:48:00 Peng Yuyan in the testing industry

Catalog

One 、 The concept of automated testing

1. Automated test execution technology

2. Automatic test design technology

Two 、 Advantages and disadvantages of automated testing

1. The advantages of automated testing

2. The disadvantages of automated testing

3、 ... and 、 Model based testing (MBT)

1. Model based testing technology

2. The main advantages of model-based testing technology

3. Disadvantages of model-based testing technology

4. Common tools based on Model Testing Technology

Four 、 Selection of test tools


One 、 The concept of automated testing

2010 It began to mature automation centered on test design around the year , There are two main concepts : Automatic test execution technology and automatic test design technology .

1. Automated test execution technology

It refers to the execution of test cases or scripts , Automatically operate the tested object and peripheral equipment in the test environment to complete the test steps and result inspection , The related technology of automatically judging the execution results of test cases .

2. Automatic test design technology

Means by some information ( Such as the model of the system , The design model , Source code, etc ) Generate test cases and / Or test script related technology .

Two 、 Advantages and disadvantages of automated testing

1. The advantages of automated testing

  • Improve test quality
  • Improve test efficiency , Reduce testing time
  • Improve test coverage
  • Perform test tasks that are not easy to complete by manual testing
  • The ability to better value software defects
  • Better use of resources
  • Enhance the partnership between testers and developers
  • It takes longer to perform test steps , More comprehensive test cases
  • Faster feedback on software quality
  • Improve the stability and reliability of the system

2. The disadvantages of automated testing

  • Generate development costs
  • Need to test the technical team
  • Script maintenance costs are high
  • Non creative
  • Introduce more complexity
  • It is easy to deviate from the original test goal
  • Additional errors may be introduced

3、 ... and 、 Model based testing (MBT)

It belongs to one of the current directions of automated test design , Another direction is search based testing technology .

1. Model based testing technology

Model based testing technology describes the requirements and expected behavior of software through models , Automatically generate test cases and scripts . Model-based testing technology builds the model of the system , Use the model to describe the requirements of the system 、 Behavior 、 Data and other aspects of information , Automatically generate test cases and test scripts from the model through computer algorithms . Then execute the generated tests through a mature automated test execution system . So as to further improve the efficiency of automated testing . It divides the process of test case design originally implemented manually into two parts: test modeling and test generation . Test modeling still needs to be implemented manually , The test generation is automatically completed by the generation algorithm .

2. The main advantages of model-based testing technology

  • The automation of test design can improve work efficiency and reduce human errors
  • Establishing a test model early can improve communication , Find defects in requirements in advance
  • It enables business analysts who do not understand test design technology to implement test design
  • Improve test coverage , So as to improve the quality of software products
  • Shorten the cycle of test design , Accelerate testing activities

3. Disadvantages of model-based testing technology

  • There may be too many test cases generated from the model ( Test case explosion ). Therefore, test generation should be carefully controlled and appropriate algorithms should be selected to avoid
  • Modeling requires some input
  • The model may also describe errors . Models are built by people , Therefore, it may contain errors . The resulting test cases will also contain errors
  • The abstraction of the model may cause difficulties in understanding . All models have a certain degree of abstraction , When there is no consensus on abstract logical principles , It may cause the reviewer to fail to understand the test model

4. Common tools based on Model Testing Technology

Microsoft Spec Explorer
GraphWalker
Stoat
MBT On Cloud

Four 、 Selection of test tools

There are many commonly used automated testing tools in the market , Common are UFT( Alias abbreviation :QTP)、Robot Framework、Selenium、Appium

Learning resource sharing

Finally, thank everyone who reads my article carefully , Watching the rise and attention of fans all the way , Reciprocity is always necessary , Although it's not very valuable , If you can use it, you can take it

These materials , For thinking 【 Advanced automated testing 】 For our friends, it should be the most comprehensive and complete war preparation warehouse , This warehouse also accompanied me through the most difficult journey , I hope it can help you ! Everything should be done as soon as possible , Especially in the technology industry , We must improve our technical skills . I hope that's helpful …….

原网站

版权声明
本文为[Peng Yuyan in the testing industry]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207060635119015.html