The testing of software products is the same as the testing of hardware products, which requires a serious, strict, and meticulous attitude. However, software testing seems to be much more complicated than hardware testing, in addition, the precise working ability of the detection tool cannot be fully utilized, relying on the tester's personal judgment, the depth of business knowledge, and the design capability, wisdom, and experience of the test case. In recent years, software testing tools have made great progress and are gradually applied and popularized, and play an appropriate role in various fields of software testing. Software enterprises have also launched automated testing projects. Automated functional testing tools are an indispensable part of automated functional testing projects, it is one of the things that every test team that implements automated testing needs to carefully select and apply. Quicktest Professional (qtp for short) is the author of these testing tools. It is known as the "powerful sword" of Software testers. It has advanced keyword-driven testing capabilities and powerful testing script development capabilities, the key lies in how testers use it. If it is used up, it is "Yi tianjian". If it is not used well, it is a pile of "scrap iron ". Many software companies have spent a lot of money to buy these testing tools, but they are not properly used. They are put aside by testers. The reason is that they do not fully understand the value of automated testing and lack the necessary training on the use of automated testing theories and testing tools. Based on the popular automated function testing tool qtp, this book introduces in detail the basic knowledge of automated testing, the selection of automated testing tools, and the development of automated testing projects, in addition, the basic usage of qtp, test script development skills, methods for testing various types of test objects using qtp, and various advanced qtp skills are introduced in depth. Through this book, readers can quickly master the basic methods of automated testing, the use of qtp, and the practical experience and skills of various test Script Development, which can be used in actual automated testing projects.
Content arrangement of this bookThis book is divided into four parts, a total of 20 chapters, starting from the basic concepts of software testing, and further introduces the basic principles and methods of automated testing, then, based on qtp, we will introduce how to use the test tool, how to develop the test script, and how to use advanced qtp functions. Article 1 (Chapter 1 ~ Chapter 2) Automated Testing basics. Describes the basic knowledge of software testing, basic knowledge of automated testing, management methods of automated testing projects, basic principles of automated testing tools, and selection of testing tools. These three chapters are the basic knowledge that automated software testing engineers must possess, and also the knowledge that software testing engineers need to understand and master. Article 2 (Chapter 2 ~ Chapter 2) Basics of qtp usage. Describes how to install and configure qtp, how to use basic qtp functions, how to create test projects, and how to compile and debug test scripts, the integration of qtp with other testing tools (winrunner and LoadRunner) is introduced. These three chapters are the basic knowledge that automated testing engineers, especially testers who use qtp as testing script development tools, must have. Article 3 (Chapter 2 ~ Chapter 2) qtp Script Development. This topic describes various qtp functions, including the use of keyword-driven testing methods, the use of data-driven testing methods, and the use of descriptive programming methods, it also introduces the use of the qtp script development language VBScript in depth, and also describes the qtp Action Management, virtual object management, function library management, and other content. For common test objects and control types, it also gives a comprehensive introduction, including Windows Standard objects, ActiveX objects, VB objects, and web objects. Article 4 (Chapter 2 ~ Chapter 2) Advanced qtp technology. This section mainly introduces the qtp plug-in technology and.. Net plug-in extension technology, also introduced the use of qtp automated object model, and finally integrated application of various test script development skills to introduce how to develop a "monkey" test program. This book is from simple to deep, from theory to practice. It is especially suitable for beginners to gradually learn and improve their knowledge structures in automated testing, it also introduces the use of various development methods of test scripts based on various practical usage techniques of qtp. It is the case guide and Best Practice Guide of qtp automated testing team and automation testing engineers.
Features of this bookThis book describes the development knowledge of automated testing scripts and the use of qtp. It analyzes and explains through detailed examples, so that readers can understand and try it by themselves, it is ideal for beginners who study and study automated testing technology independently. This book explains the basic knowledge of automated function testing in a step-by-step manner, and explains in depth the development of automated test scripts based on the use of qtp, this section describes popular data-driven testing methods and keyword-driven testing methods. It also describes how to use qtp to test Windows controls, ActiveX controls, VB controls, and Web controls. For the test engineers who want to understand and use the qtp plug-in technology, they also explained in detail the qtp. use of the. NET plug-in, including the use.. Net plug-in test. net windows form, web form, and the latest WPF control. It also introduces the extension technology of the. NET plug-in and the use of the qtp automated object model.
Suitable for readers who read this bookThis book is intended for testing engineers who use qtp testing tools for automated functional testing and testers who want to learn about automated functional testing. Editor's April 2008