Some Thoughts on the automated testing

  Automated testing is usually divided into the interface test , the UI test , from the perspective of the tester, it is very desirable to have sufficient enough to mention the interface testing to ensure the quality of test version, but the reality is often maintained by the development team unit testing and interface testing is very inadequate, some developers do not even do unit testing.

A: the UI Automation

1. Under what circumstances will to implement UI Automation?

  • 1. The company has to do UI automation needs
  • 2. platform stable, non-fat version of the frequent demand
  • 3. After release can automatically return to verify
  • 4. testers have enough manpower and encoding capabilities
  • The platform long maintenance cycle

What 2.UI the purpose of automation?

  • 1. commonplace problem, solve functional testers repetitive work, hands-free
  • 2. Periodic verification platform basic flow
  • 3. The basic verification platform version is automatically triggered after the release process

3.UI automation sequelae

  • 1. Use case huge
  • 2. extremely unstable and difficult to maintain
  • 3. The input and output of non-proportional
  • 4. The need for full-time staff to maintain and update

4. Thinking about UI Automation frequently asked questions

  • 1.git: If you use git, git commands you need to be very familiar, or submit the code to handle exceptions during the information very difficult (after not being given timely treatment, resulting in a long time to resolve, affecting work efficiency)
  • For exceptions, which should be more to think about during script execution, resulting in abnormal identify the key points of information for the key points to look for a solution, rather than blindly to solve, remember, to think, to solve the problem: 2.Selenium the idea is very important
  • 3. Summary of common errors summary records, such as blog , OneNote

Two: Interface Automation

1. Under what circumstances will the interface to implement automation?

  • 1. excessive number of interfaces, manual testing slow
  • 2. Interface involving encryption processing, manual testing can not be performed

2. What is the purpose of automation interfaces?

  • 1. Interface return to verify (normal and abnormal)  

3. Interface advantages of automated testing?

  • 1. To improve test efficiency project iterative development process
  • 2. improve the efficiency of regression testing, test scenarios and improve coverage and code coverage
  • 3. resolve issues repeatedly made the test data

4. Thinking about the interface automation common problem

  • 1. The overall frame structures
  • 2. The data driver issues, such as excel

Guess you like

Origin www.cnblogs.com/mrjade/p/12001201.html