Software Testing using Visual Studio 2010
Formats:
save 20%!
save 37%!
Free Shipping!
| Also available on: |
|
- Master all the new tools and techniques in Visual Studio 2010 and the Team Foundation Server for testing applications
- Customize reports with Team foundation server.
- Get to grips with the new Test Manager tool for maintaining Test cases
- Take full advantage of new Visual Studio features for testing an application's User Interface
- Packed with real world examples and step by step instructions to get you up and running with application testing
Book Details
Language : EnglishPaperback : 400 pages [ 235mm x 191mm ]
Release Date : December 2010
ISBN : 1849681406
ISBN 13 : 9781849681407
Author(s) : N. Satheesh Kumar, S. Subashni
Topics and Technologies : All Books, Microsoft Development , Enterprise, Microsoft
Table of Contents
PrefaceChapter 1: Visual Studio 2010 Test Types
Chapter 2: Test Plan, Test Suite, and Manual Testing
Chapter 3: Automated Tests
Chapter 4: Unit Testing
Chapter 5: Web Performance Testing
Chapter 6: Advanced Web Testing
Chapter 7: Load Testing
Chapter 8: Ordered and Generic Tests
Chapter 9: Managing and Configuring a Test
Chapter 10: Command Line
Chapter 11: Working with Test Results
Chapter 12: Reporting
Chapter 13: Test and Lab Center
Index
- Chapter 1: Visual Studio 2010 Test Types
- Software testing in Visual Studio 2010
- Testing as part of the Software Development Life Cycle
- Types of testing
- Unit test
- Manual test
- Web Performance Tests
- Coded UI test
- Load Test
- Ordered test
- Generic test
- Test management in VS 2010
- Team Explorer
- Testing tools introduction
- Test View
- Test List Editor
- Test Results
- Code coverage results
- Overview of files used for test settings and testing in Visual Studio 2010
- Microsoft Test Manager
- Connecting to Team Project
- Test Plans, Suites and Test Cases
- Define test cases
- Lab Center
- Summary
- Chapter 2: Test Plan, Test Suite, and Manual Testing
- Test Plan
- Test Suite and Test Suite Types
- Requirement-based Test Suite
- Query-based Test Suite
- Static Test Suite
- Run Manual Tests
- Action Recording
- Shared steps and action recording for shared steps
- Creating shared steps
- Action recording for Shared steps
- Add Parameters to Manual Tests
- Summary
- Chapter 3: Automated Tests
- Coded UI Test from Action Recording
- Files generated for the Coded UI Test
- CodedUITest1.cs
- UIMap.Designer.cs
- UIMap.cs
- UIMap.uitest
- Data Driven Coded UI Test
- Adding controls and validation to the Coded UI Test
- Summary
- Chapter 4: Unit Testing
- Creating unit tests
- Naming settings
- General settings
- Generated unit test code
- Assert statements
- Types of asserts
- Assert
- StringAsserts
- CollectionAssert
- AssertFailedException
- UnitTestAssertionException
- ExpectedExceptionAttribute
- Unit tests and generics
- Data-driven unit testing
- Unit testing an ASP.NET application
- Unit testing web services
- Code coverage unit test
- Summary
- Chapter 5: Web Performance Testing
- Creating Web Performance Test
- Recording a test
- Adding comments
- Cleaning the Recorded Tests
- Copying the requests
- Web Performance Test editor
- Web Test Properties
- Web Performance Test request properties
- Other request properties
- Form POST parameters
- QueryString parameters
- Extraction rules
- Validation rules
- Transactions
- Toolbar properties
- Add data source
- Set credentials
- Add recording
- Parameterize web server
- Add web test plug-in
- Add Request Plug-in
- Performance session for the test
- Debug/Running Web Performance Test
- Settings in the .testsettings file
- General
- Web Performance Test
- Roles
- Test Timeouts
- Deployment
- Hosts
- Setup and Cleanup scripts
- Running the test
- Web Browser
- Request
- Response
- Context
- Details
- Summary
- Chapter 6: Advanced Web Testing
- Dynamic parameters in Web Performance Testing
- Coded Web Performance Test
- Creating a coded test from a recorded test
- Transactions in coded test
- Custom code
- Adding comment
- Running the Coded Web Performance Test
- Debugging the Coded Web Performance Test
- Custom rules
- Extraction rule
- Validation rules
- Summary
- Chapter 7: Load Testing
- Creating Load Test
- Load Test Wizard
- Specifying a scenario
- Editing Load Tests
- Adding context parameters
- Results store
- Running the Load Test
- Working with the test result and analyzing test results
- Graphical view
- Summary view
- Table view
- Details view
- Exporting to Excel
- Using the test controller and test agents
- Test controller configuration
- Summary
- Chapter 8: Ordered and Generic Tests
- Ordered tests
- Creating an ordered test
- Properties of an ordered test
- Executing an ordered test
- Generic tests
- Creating a Generic Test
- Summary results file
- Properties of a generic test
- Summary
- Chapter 9: Managing and Configuring a Test
- Managing tests using Test Lists
- Organizing the Test Lists
- Test view
- Enabling/Disabling tests
- Toolbar options
- Filtering tests
- Group by
- Configuring tests
- Test settings
- General
- Roles
- Data and Diagnostics
- Deployment
- Hosts
- Setup and Cleanup scripts
- Test Timeouts
- Web Performance Test
- Unit Test
- Editing the test run configuration file
- Test properties
- Summary
- Chapter 10: Command Line
- MSTest utility
- Running a test from the command line
- /testcontainer
- /testmetadata
- /test
- /unique
- /noisolation
- /testsettings
- /resultsfile
- /noresults
- /nologo
- /detail
- Publishing test results
- /publish
- /publishbuild
- /flavor
- /platform
- /publishresultsfile
- Trace files
- Publishing
- Step 1: Create/use existing test project
- Step 2: Running the test
- Step 3: Create build
- Step 4: Build project
- Step 5: Publish result
- Summary
- Chapter 11: Working with Test Results
- Test Results
- Test as part of Team Foundation Server Build
- Build Report and Test Result
- Creating Work Item from the result
- Publish Test Results
- Summary
- Chapter 12: Reporting
- Team Foundation Server reports for testing
- Bug status Report
- Status on all iterations
- Other out of box reports
- Creating client report definition using Visual Studio 2010
- SQL Server Business Intelligence Project
- Analysis Services Project
- Report server project
- Create new Report using Microsoft Excel
- Summary
- Chapter 13: Test and Lab Center
- Connect to Team Project
- Testing Center
- Testing Center — Plan
- Testing Center — Test
- Test Center — Track
- Test Center — Organize
- Lab Center
- Virtual Environments
- Deployed Environments
- Stored Templates
- Stored Virtual Machines
- Environments
- Summary
N. Satheesh Kumar
S. Subashni
Code Downloads
Download the code and support files for this book.
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
- Master different types of testing in the software development life cycle, and how test management is supported in Visual Studio 2010.
- Use test manager for creating test plans, test suites and requirement based test suites.
- Create and customize code from the action recording and associate the data to UI testing.
- Get grips with web performance testing and set properties for the web test.
- Learn about creating a load test for simulating actual user loads and tests using virtual users, browser mix and network mix.
- Understand the concept of using Test Controller and Test Agents and configuring them when simulating the multi-user environment to test performance
- Master the test list and running tests in a specific order.
- Get acquainted with Generic test which is used for testing third party components and services
- Use the command line utility MSTest to run the tests and publish the results to Team Project and Team Build in Team Foundation Server
- Learn about Test results and associating tests as part of automated build-in
When testing your applications on the Microsoft platform, Visual Studio 2010 offers you a range of powerful tools for different types of testing. This Microsoft product makes the testing process easier and faster.
A concise guide that will lead you through the amazing range of features offered by Visual Studio 2010 to test your software applications before going live. It is packed with simple but interesting examples to make you comfortable with Visual Studio 2010 testing environment. The book introduces you to the main types of testing available in Visual Studio for both desktop and web applications, and then walks you through deploying, running, and interpreting the results of tests.
Visual Studio 2010 is the new version of Microsoft's software development product, and includes lots of new features for developing and testing software applications. In collaboration with Team Foundation Server, it provides supporting tools for the management of the entire application life cycle, including development and testing.
This book is more focused on testing features and the supporting tools provided by Visual Studio 2010 for testing the applications.
The book begins by explaining different types of tests as part of the software development cycle, and then dives deep into providing an overview of each type of application testing using Visual Studio 2010 features. Along the way you will also learn in detail about creating and maintaining the test cases and associating the test cases with requirements using the Test Manager Tool.
Each chapter in the book concentrates on explaining each test type using the features and tools provided by Visual Studio 2010. You will be guided in using these features with real world examples with step by step explanations.
Get to grips with the amazing range of features offered by the Visual Studio for testing your software applications before going live.
This book starts with basic understanding of different types of tests. It then goes about explaining several examples with a step-by-step approach to master concepts and the features needed to help the reader understand testing clearly.
If you are a developer, a software tester, or an architect who wishes to master the amazing range of features offered by the Visual Studio 2010 for testing your software applications before going live - then this book is for you.
This book assumes that you have a basic knowledge of testing software applications and have good work experience of using Visual Studio IDE.

