Chapter 1 Automation Test

Introduction to automated testing
Automated report collation
log
execl
email
Software development process
Demand analysis
Code design
Coding< /div>

Unit test
Integration test
System test
Acceptance
Test classification
Functional test
Performance test< /div>

Implementation method
Manual test
Automated testing
Principles of automated testing
Static automation
Code detection: a compilation system similar to programming tools
Dynamic Automation
1. Based on browser and DOM The automation of objects is by recognizing browser element objects and recording attributes and methods. Common tools: selenium, watir, autoit,
2. GUI-based testing is to simulate user behavior, call api interface, and realize test automation. Common tools: qtp,uft,rft
Advantages of automated testing
1. Solve repetitive and frequent tasks and free up testers to do more advanced things, such as use case design
For example, when you want to input a set of data or a series of data< /span>
2. Make regression testing more convenient
For example, after the development and modification of a certain module, all modules may need to be tested again. At this time, automated testing is required
3. It is difficult or impossible to perform some manual tests Tests conducted
such as quick clicks or frequent operations, etc.
4. Automated testing is consistent and repeatable
For example, use case reuse, data is the same
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. Project The cycle is long, the test script can be reused
< span style="color: #f77567;"> For example, the test on Xiaomi 1, Xiaomi 2, and Xiaomi 3 are all similar
Automated testing tool
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

Automation Introduction to testing

Automated report organization

log

execl

email

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

Leave a Comment

Your email address will not be published.