Automation Introduction to testing
Automated report organization
log
execl
Software development process
Requirements analysis
Code design
Coding
Unit testing
Integration testing
System testing< /p>
Acceptance
Test classification
Function test
Performance test
Execution method
Manual testing
Automated testing
Principles of automated testing
Static automation
p>
Code detection: Compilation system similar to programming tools
Dynamic automation
1. Automation based on browsers and DOM objects is by identifying browser element objects, And to record attributes and methods, common tools: selenium, watir, autoit,
2, GUI-based testing is to simulate user behavior, call api interface, and achieve test automation. Common tools: qtp,uft,rft
Advantages of automated testing
1. Solve frequently repeated tasks and free up testers to do more advanced things, such as use case design
such as input For a set of data or a series of data
2. Make regression testing more convenient
For example, after developing and modifying a certain module, all modules may need to be tested again. At this time, automated testing is required
3. Perform some tests that are difficult or impossible to perform manual tests
such as quick click or Frequent operations, etc.
4. Automated testing is consistent and repeatable
For example, use case reuse, the same data
5. Increase the reliability of the test
For example, to avoid misuse by testers
Suitable for automated test scenarios
1. The test data is clear and will not change frequently
2. Less software requirement changes
such as use case changes
Such as script changes
Increased the amount of test tasks
3. The project cycle is long, and the test scripts can be reused< /p>
For example, testing on Xiaomi 1, Xiaomi 2, and Xiaomi 3 are all similar
Automated testing tools< /p>
Introduction to selenium
1, open source software
2, support mainstream browsers: fireFox, chrome, IE
3, cross-platform: Windows, Linux, MacOS
4, multi-language: Java, python, ruby, php, JS
5, good web support, rich and simple API
WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2264 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC