Automated Software Testing-entry level, advanced level, and practice

Source: Internet
Author: User

Automated Software Testing-entry, advanced, and practice
Basic Information
Author: Yang Li, Yang hesheng, Chen Yu, Zhang Jie, Guo Honglin, Sun Jianlian, Xiao jianhou, comrade-in-arms [Translator's introduction]
Press: Electronic Industry Press
ISBN: 9787121184901
Mounting time:
Published on: February 1, October 2012
Start: 16
Page number: 452
Version: 1-1
Category: Computer> Software Engineering and software methodology> Software Quality, software testing and maintenance

For more information, automated software testing-entry, advanced, and practice
Introduction
Books
Computer books
Starting from years of experience in enterprise-level software automation testing projects, the paper introduces the basic knowledge and theory of automated function testing. Based on the current popular automated testing tools, this article explains how to help enterprises select appropriate software automated testing tools and models in a step-by-step manner starting from the actual application scenarios of automated testing, in-depth analysis of some advanced technologies in automated development, the theory and design implementation of the automated testing framework, and how the automated testing project meets the challenges posed by agile development, this provides hands-on guidance for enterprises and individuals performing automated testing.
Software automated testing-entry, advanced, and practice-is suitable for technical managers of software product development and testing teams, automated testing architects, and testers who want to learn about automated functional testing.
Directory
Automated Software Testing-entry, advanced, and practice
Chapter 1 Introduction to automated testing
1.1 Development of automated testing 2
1.1.1 software quality and Software Testing 2
1.1.2 manual and automated testing 4
1.1.3 Advantages and Disadvantages of Automated Testing 6
1.2 automated test decision 8
1.2.1 project evaluation 8
1.2.2 test tool Survey 11
1.3 Status Quo and Development of automated software testing 13
1.3.1 automated testing professionalism 13
1.3.2 maintenance cost of automated testing 16
1.3.3 future development direction 18
Chapter 22 start an automated test project 22
2.1 rft installation and preparation 23
2.1.1 rft installation preparation 23
2.1.2 installation step 26
2.2 automated testing started 36
2.2.1 rft User Interface 36
2.2.2 create a project 43
2.3 features of rft 55
2.4 Summary 56
Chapter 5 recording playback Problems and Solutions 57
3.1 disadvantages of recording and playback scripts 58
3.1.1 disadvantages of the recording and playback script 58
3.1.2 do not just use the Recording Method 60
3.2 From recording to development 60
3.2.1 testing framework 61
3.2.2 data-driven testing 62
3.3 write scripts 62
3.3.1 principles and skills for script development 62
3.3.2 notes for writing scripts 64
3.4 summary 65
Chapter 2 Theory and Design of automated testing framework 66
4.1 Introduction to the testing framework 67
4.1.1 what is framework 67
4.1.2 role of the framework 68
4.2 Classification of testing frameworks 68
4.2.1 development of the design concept of the testing framework 69
4.2.2 data-driven 70
4.2.3 keyword-driven 70
4.2.4 automatic framework generation using test scripts 72
4.3 Implementation of the Framework 74
4.3.1 overall design philosophy 74
4.3.2 hierarchy and decoupling 76
4.3.3 start to write the framework 80
4.3.4 encapsulation of the basic control layer 83
4.3.5 Implementation of the Application Object and function layer 84
4.3.6 master program and Case Base 98
4.3.7 data pool and data driver 108
4.3.8 test log and Result Display 111
4.3.9 summary 118
4.4 framework development specifications 119
4.4.1 Code Management Specification 119
4.4.2 naming convention 120
Chapter 1 recognition of test objects 5th
5.1 use test object figure 123
5.1.1 rft test objects 123
5.1.2 view test object ing 125
5.1.3 operations and maintenance of ing objects 128
5.2 search for test objects 134
5.2.1 simple search for parsing 134
5.2.2 Dynamic Identification 136
5.2.3 search 142 by domain
5.3 testing object recognition skills and best experience 146
5.3.1 high-speed cache 146
5.3.2 selection of recognition attributes 150
Chapter 1 test object encapsulation 6th
6.1 encapsulation of objects 153
6.1.1 basic concepts of encapsulation 153
6.1.2 testing object encapsulation 155
6.2 how to encapsulate 155
6.2.1 test objects extracted from test cases 155
6.2.2 complete encoding 161 from bottom up
Chapter 2 data-driven testing 7th
7.1 What is data-driven testing 171
7.2 data-driven testing drive method 171
7.3 impact of data-driven testing on automated testing 172
7.4 Test Data design 173
7.4.1 plan 173
7.4.2 generate 175
7.4.3 storage 176
7.4.4 maintenance 178
7.4.5 test 178
7.5 introduction to data-driven testing tools 179
7.5.1 create a data pool 179
7.5.2 edit data pool 181
7.5.3 associate the data pool with the Group in the simplified script 182
7.5.4 Replace the literal value with the data pool reference 182
7.5.5 data pool reference and verification point 184
7.5.6 change the data pool record selection sequence 186
7.5.7 use application visualization to insert data-driven commands to script 187
Chapter 4 writing test scripts 8th
8.1 from test cases to test scripts 189
8.2 script instance 192
8.3 Test Environment preparation and recovery 199
8.4 test data 201
8.5 verification point 204
8.6 Exception Handling 208
8.7 advanced script skills 208
8.7.1 test template 208
8.7.2 the script automatically generates 209
8.8 run the test script 209
8.8.1 Basic run 209
8.8.2 re-run 210
Chapter 2 reuse, reconstruction and Management of test code 9th
9.1 code reuse in the test script 212
9.1.1 how to find and reuse code 212
9.1.2 how to extract and reuse code 213
9.1.3 code reuse rules 215
9.2 test code reconstruction 215
9.2.1 how to refactor the test code 215
9.2.2 reconstruction considerations 227
9.2.3 reconstruction policy 228
9.2.4 design of the test code structure 230
9.3 test code management 231
9.3.1 Code Manager 231
9.3.2 version management of Test Code 237
9.3.3 version branch management of the test object 239
Chapter 1 international testing 10th
10.1 what is international testing 242
10.1.1 concepts 242
10.1.2 International Software Capability and coding requirements 243
10.1.3 international testing highlights 244
10.2 international software development and testing model 245
10.3 significance of international testing automation 247
10.4 classification of automated international testing 247
10.5 automation requirements for international testing 248
10.6 automation of international testing 249
10.6.1 test environment preparation 249
10.6.2 test object ID 252
10.6.3 test data preparation 253
Chapter 2 automated test log 11th
11.1 automated test log introduction 256
11.2 function test log 258
11.2.1 258 Log Type
11.2.2 log location 258
11.2.3 manage log 259
11.2.4 view log result 259
11.2.5 "log record" Page 263
11.2.6 managed logs and rational testmanager 264
11.3 log expansion 265
11.3.1 extended log 265
11.3.2 deploy the extended Log File 270
11.3.3 example: Create text log 272
11.4 enrich log files 275
11.5 re-run mechanism 279
11.6 conclusion 283
Chapter 2 Project Management of automated testing 12th
12.1 enterprise project management overview 285
12.2 features of automated test project management 287
12.2.1 requirement Management and Analysis 290
12.2.2 resource management and configuration management 291
12.2.3 develop a project plan and a development cycle of 299
12.2.4 Tracking Project Progress 301
12.2.5 defect management 305
12.2.6 cope with project changes 308
12.2.7 Control Risks 310
12.3 automated test project delivery management 313
12.3.1 determine project deliverables 313
12.3.2 organize project delivery content 313
12.3.3 project acceptance 314
12.3.4 submit acceptance report 314
12.4 maintenance and upgrade management of automated test Projects 315
12.4.1 project maintenance 315
12.4.2 version management 317
12.5 impact of agile development on automated testing projects 318
12.5.1 agile development model 318
12.5.2 automated tests in Agile development 321
Chapter 2 Open-Source testing tools and integration 13th
13.1 selenium automated testing framework 325
13.1.1 overview 325
13.1.2 feature 326
13.1.3 selenium ide 327
13.1.4 selenium RC 330
13.1.5 selenium web driver 334
13.1.6 selenium grid 336
13.2 testng automated testing framework 338
13.2.1 overview 338
13.2.2 feature 338
13.2.3 data-driven model 344
13.3 staf introduction 348
13.3.1 overview 348
13.3.2 feature 349
13.3.3 staf basic configuration 350
13.3.4 staf basic command 352
13.3.5 staf response 352
13.3.6 customized staf service 353
13.3.7 conclusion 357
13.4 integration of open-source testing tools 358
13.4.1 selenium and testng integration 358
13.4.2 integration of staf, testng, and selenium 362
13.5 conclusion 363
Chapter 2 automated testing practices and skills 14th
14.1 rft text display solves the box problem 366
14.2 difference between setproperty () and settext () Methods 368
14.3 File Operations 369
14.4 flexible setting of recognition Attribute Weight Value 371
14.5 use testobject. Invoke () to manipulate custom Java controls 374
14.5.1 custom controls 374
14.5.2 introduction to the invoke () method 375
14.5.3 use getmethods to find all methods of the control 376
14.5.4 call with parameter functions 377
14.5.5 Summary: 378
14.6 use IBM Rational team concert to manage automated test projects 378
14.7 how to use daily scrum meetings to track the progress of automated testing projects 381
Appendix A staf basic commands 383
References 397

Source of this book: China Interactive publishing network

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.