Muutke küpsiste eelistusi

Hands-On Functional Test Automation: With Visual Studio 2017 and Selenium 1st ed. [Pehme köide]

  • Formaat: Paperback / softback, 252 pages, kõrgus x laius: 254x178 mm, kaal: 515 g, 177 Illustrations, black and white; XV, 252 p. 177 illus., 1 Paperback / softback
  • Ilmumisaeg: 02-May-2019
  • Kirjastus: APress
  • ISBN-10: 1484244109
  • ISBN-13: 9781484244104
Teised raamatud teemal:
  • Pehme köide
  • Hind: 44,06 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Tavahind: 51,84 €
  • Säästad 15%
  • Raamatu kohalejõudmiseks kirjastusest kulub orienteeruvalt 2-4 nädalat
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Tellimisaeg 2-4 nädalat
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 252 pages, kõrgus x laius: 254x178 mm, kaal: 515 g, 177 Illustrations, black and white; XV, 252 p. 177 illus., 1 Paperback / softback
  • Ilmumisaeg: 02-May-2019
  • Kirjastus: APress
  • ISBN-10: 1484244109
  • ISBN-13: 9781484244104
Teised raamatud teemal:
Get started with functional testing of both web apps and Windows apps using different test frameworks. This book will take you on a deep dive into integrating functional automation testing with deployment pipelines.


Hands-On Functional Test Automation contains step-by-step lessons that will give you an understanding of how to do functional test automation using Selenium with C# and Python. Also, you will learn how to enhance your test automation development with third-party frameworks. You will configure test clients, run functional tests through Azure DevOps release management, and carry out performance and load-testing to gain a good understanding of how to do cloud-based load testing.


Each lesson comprises an introduction to the related concepts to help you understand how things work. This will broaden your knowledge so you can implement test automation in the correct way. At the end of each lesson alternative options and other enhancement possibilities are discussed to allow you to do further exploration. 

 

You will:

·         Implement functional test automation of Windows and web applications

·         Use Visual Studio for load and performance testing 

·         Configure and run cloud-based load testing

·         Integrate testing with deployment pipelines

About the Authors ix
About the Technical Reviewer xi
Acknowledgments xiii
Introduction xv
Chapter 1 Understanding the Concepts
1(12)
Examining Different Software Testing Types
2(3)
Functional Testing
2(1)
Non-Functional Testing
3(2)
The Importance of Testing Software Systems
5(2)
Automating Testing
7(3)
The Impact of Future Industry Trends on Software Testing
10(1)
Summary
11(2)
Chapter 2 Getting Started with Selenium and Visual Studio
13(44)
Lesson 2.01 Set Up a Test Project with Selenium in Visual Studio
13(14)
Setting Up visual Studio Test Project
14(5)
Verifying the Test Project
19(8)
Lesson 2.02 Set Up a Test Project with Selenium and Python in Visual Studio
27(9)
Setting up Visual Studio to Work with Python
27(6)
Executing Sample Python Test Code
33(3)
Lesson 2.03 Set Up Test Project with Visual Studio and MAQS Open Framework
36(5)
Setting Up Visual Studio for Work with MAQS Open Framework
37(3)
Executing Sample Test Code with MAQS Open Framework in Visual Studio 2017
40(1)
Lesson 2.04 Set Up A Test Project with Visual Studio and SpecFlow
41(14)
Setting Up Visual Studio to Work with SpecFlow and Selenium
42(5)
Execute Sample Test with the SpecFlow Framework
47(8)
Summary
55(2)
Chapter 3 Functional Testing for Web Applications
57(62)
Lesson 3.01 Create Test Project with C#
57(2)
Lesson 3.02 How to Capture Web Elements
59(18)
Locator: ID
61(2)
Locator: Name
63(1)
Locator: Class Name
64(1)
Locator: CSS Selector
65(6)
Locator: Link Text
71(1)
Locator: Tag Name
72(1)
Locator: Partial Link Text
73(2)
Locator: XPath
75(2)
Lesson 3.03 Web Elements Commands
77(8)
Command: Click
77(1)
Command: Send Keys
78(1)
Command: Clear
78(1)
Command: Find Element
78(1)
Command: Find Elements
78(1)
Command: GetAttribute
79(2)
Command: GetCssValue
81(1)
Command: Submit
81(1)
Action Commands on IWebElements
82(3)
Lesson 3.04 Handling Web Driver Waits
85(10)
Implicit Wait
87(1)
Explicit Wait
88(5)
Using Expected Conditions
93(2)
Lesson 3.05 C# Automation Code Example
95(3)
Lesson 3.06 Python Automation Code Example
98(3)
Lesson 3.07 MAQS Framework with C# Automation Code Example
101(12)
HomePage.cs
103(3)
UserLoginPage.es
106(3)
MyOrders.cs
109(2)
Adding the Test Class
111(2)
Lesson 3.08 SpecFlow Framework with C# Automation Code Example
113(5)
Summary
118(1)
Chapter 4 Functional Testing for Windows Apps
119(36)
Lesson 4.01 Create a Test Project with Coded Ul and C#
119(4)
Install the Coded Ul test component in Visual Studio 2017
119(1)
Setting Up the Visual Studio Test Project
120(3)
Lesson 4.02 How to Capture Windows Elements
123(6)
Lesson 4.03 Element Commands
129(12)
Click()
129(3)
DoubleClick()
132(3)
Hover()
135(1)
MoveScrollWheel
136(1)
StartDragging
137(1)
StopDragging
138(1)
SendKeys
139(2)
Lesson 4.04 Handle Element Waits
141(1)
Lesson 4.05 Coded Ul Test Builder-Record and Playback
142(3)
Lesson 4.06 Automation Code Example with Coded Ul with C#
145(3)
Lesson 4.07 Using Sikuli for Windows App Testing
148(3)
Lesson 4.08 Using Winium for Windows App Testing
151(3)
Summary
154(1)
Chapter 5 Test Data Management in Functional Testing
155(26)
Lesson 5.01 Using External Data Sources to Keep Test Data
156(7)
Lesson 5.02 Cleaning Test Data After Test Execution
163(6)
Lesson 5.03 Making the Test Data Cleanup Robust
169(10)
Summary
179(2)
Chapter 6 Integrating Functional Testing to Deployment Pipelines
181(38)
Lesson 6.01 Set Up Agent Pools
182(4)
Setting Up Organization Agent Pools
182(2)
Setting Up Project Agent Pools
184(2)
Lesson 6.02 Setting Up Deployment Pools
186(2)
Lesson 6.03 Set Up Test Clients with Agent Pool
188(4)
Lesson 6.04 Set Up Test Clients with Deployment Group Pool
192(5)
Lesson 6.05 Create a Build Pipeline to Build Test Automation Code
197(9)
Lesson 6.06 Create a Deployment Pipeline to Execute Test Automation
206(12)
Summary
218(1)
Chapter 7 Load and Performance Testing
219(30)
Lesson 7.01 Load Test with Visual Studio and Azure DevOps
219(16)
Install Web Performance and Load Testing Tools Components in Visual Studio 2017
220(1)
Setting Up Visual Studio Web Performance and Load Test Project
221(14)
Lesson 7.02 Load Testing with Azure DevOps
235(5)
Lesson 7.03 Load Testing in the Azure Portal
240(6)
Lesson 7.04 Comparing Load Test Results
246(2)
Summary
248(1)
Index 249
Chaminda is a Microsoft Most Valuable Professional (MVP) for Visual Studio ALM and Scrum Alliance Certified ScrumMaster®, and focuses on and believes in continuous improvement of the software development life cycle. He works as a DevOps consultant for Jabil Circuit Sdn. Bhd. Chaminda is an active Microsoft Community Contributor (MCC), well recognized for his contributions in Microsoft forums, TechNet galleries, and Wikis, and contributes extensions to Visual Studio Team Services/TFS, in the Microsoft Visual Studio marketplace. He also contributes to other open source projects in GitHub.   

Pushpa is a senior test automation engineer at Datavail Lanka (Pvt) Ltd. She has many years of experience in QA automation. She is an expert on functional test automation using Selenium and Coded UI. Pushpa blogs on technology at. Pushpa has experience with Microsoft tools (C#, VSTS/TFS, SQL Server, and Azure) and open source tools (MAQS open frameworkand Sikuli).