Learning Software Testing with Test Studio
eBook - ePub

Learning Software Testing with Test Studio

  1. 376 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Learning Software Testing with Test Studio

About this book

In Detail

Test Studio is Telerik's QA solution for automating your manual testing. With Test Studio's standalone edition or Visual Studio plugin, you can rule out the possibility of unreliable test execution and UI recognition, non indicative test results and reports, dispersed test repository, low code coverage, and unaffordable learning curves. With no code, this tool provides an intuitive IDE to effortlessly create maintainable tests. If you are looking for a solution to automate testing for your web, desktop, or mobile application, you can now benefit from Test Studio's rich automation features.

"Learning Software Testing with Test Studio" will illustrate how to reliably automate test cases when it is time to relinquish manual testing habits. This book is all about less theory and more hands-on examples to present a complete manual and automated solution for your ASP .NET, WPF, Silverlight or iOS apps.

This book gets you started directly with automation in Test Studio by exploiting its recording powers through series of concrete test cases built around the equipped applications. Each chapter starts with a typical automation problem which is then approached using Test Studio specialized automation features.

You will learn how to create record and playback functional, performance, and load tests. Furthermore, we will see how to insert verification steps, logical constructs, convenient logging operations, and how to convert test scripts in order to implement keyword and data-driven architectures. To endow your tests with additional flexibility, each recorded automation feature will be approached from its coded perspective through the usage of the underlying ArtOfTest Test Studio automation library.

This book also illustrates how Test Studio can automate pre-conditions, test result inputting, and the capturing of system states during manual test case execution in order to keep the tester's attention focused on the important details.

Approach

"Learning Software Testing with Test Studio" is a practical, hands-on guide that will help you get started with Test Studio to design your automated solution and tests. All through the book, there are best practices and tips and tricks inside Test Studio which can be employed to improve your solution just like an experienced QA.

Who this book is for

If you are a beginner or a professional QA who is seeking a fast, clear, and direct to the point start in automated software testing inside Test Studio, this book is for you. You should be familiar with the .NET framework, mainly Visual Studio, C#, and SQL, as the book's examples rely on them. Prior testing knowledge will also be helpful.

Trusted by 375,005 students

Access to over 1 million titles for a fair monthly price.

Study more efficiently using our study tools.

Learning Software Testing with Test Studio


Table of Contents

Learning Software Testing with Test Studio
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Instant Updates on New Packt Books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Introduction
Testing concepts
Test case
Executing a test case
The exit criteria
The pesticide paradox
Element recognition
Testing phases
Testing techniques
Test Studio uncovered through the chapters
Approach
Setting up your environment
The File Comparer application
Reports
Additional files
Other reference sources
2. Automating Functional Tests
Getting started with automation
Where does automation fit best?
Test strategies
Capture and playback
Data-driven architecture
Keyword-driven architecture
About Test Studio
Supported technologies
Architecture
Functional test automation
Recording an automated test
Record and playback
Editing tests
Translators and verification steps
Inserting a verification step
Test Studio's built-in log
Custom logging
Code refactoring
Automated test case design
Using tests as steps
Logical branching
Extracting values to variables
Additional automation tweaks in the code
Functional random keyword-driven tests
Test execution settings and debugging
Syntax errors
Execution errors
Execution settings
Debugging
Integration with Visual Studio
Summary
3. Data-driven Tests
Data-driven testing architecture
Binding tests to data sources
Excel data source binding
Importing an Excel data source
Binding columns to Excel columns
Data-driven verification
Data-driven verification binding
CSV data binding
Editing a data source
Logging the test metadata
XML data source binding
Importing an XML data source
Binding columns to XML attributes
Database binding
A non data-driven test comprising a data-driven test
Creating parent and child tests
A data-driven test comprising a non data-driven test
Creating child tests
A data-driven test comprising another data-driven test
Creating parent and child tests
Creating parent and child tests
Summary
4. Maintaining Test Elements
Automation element recognition
The element repository
Adding elements
The recorder toolbar DOM Explorer
Forming the element repository
Filtering options
3D Viewer Element Adding and Verification
Finding locators
Using the chained expression
The Find class
The Element factory
Summary
5. Manual Testing
Manual Testing
Manual tests
Excel integration
Adding existing tests
Hybrid tests
Refactor tests
Repository maintenance
Test execution
Data binding
Transitioning to automated tests
Versioning
Integration with Visual Studio
Tailor tests in Test Studio
Decision tables
State transition diagrams
Summary
6. Test Lists and Reports
Test suites
Creating test lists
Lists
Dynamic lists
Executing test lists
Dynamic list automatic update
Test list settings
Specialized test list settings
Reporting
Result integration
Visual Studio report integration
SQL integration
Submitting to SQL
Excel Charts
Execution metrics for last run
Test case defect density
Execution metrics over time
Feature Coverage
Test Execution Duration
List result comparison
Summary
7. Performance Testing
Performance testing
Performance time measurements
Performance testing in Test Studio
How it works
Performance test planning and execution
The planning phase
Defining the objectives and expectations
Baseline test environment
BugNet user classification
BugNet user activities
Performance metrics selection
Baseline tests
The implementation phase
The execution and analysis phase
The overview mode
The details view
The compare view
The history view
Summary
8. Load Testing
Load testing
Measurements
Load testing in Test Studio
How it works
Load test planning and execution
The Planning and design phase
Defining goals
Designing workloads
Defining test cases
The implementation phase
Configuring services
Designing tests
The Execution and analysis phase
Database reporting
Creating reports
Summary
9. Mobile Testing
iOS testing inside Test Studio
Requirements
Deployment
Simulator
Automating tests
Creating tests
Execution
Testing on the device
Debugging tests
Test elements
Wait on elements
Locating elements
Web portal
Registering an application
Testing
Contributors
Feedback and crash reports
Configuring settings
The Feedback option
Crash reports
Data management
Configuring settings
Database backup actions
Database restore actions
Summary
10. Tips and Tricks
Introduction
Maintainability
Making a test work for both data-driven and hardcoded input
Extension libraries
Data-driven design
Parameterizing the find element's expressions
Variables
Passing variables between tests
Summary
A. Configuring BugNet
Creating user accounts
Creating a project
Index

Learning Software Testing with Test Studio

Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor...

Table of contents

  1. Learning Software Testing with Test Studio

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Learning Software Testing with Test Studio by Rawane Madi in PDF and/or ePUB format, as well as other popular books in Computer Science & Quality Assurance & Testing. We have over one million books available in our catalogue for you to explore.