42
QA with Microsoft Test Manager and Lab Management Rofiqi Setiawan, Technology Specialist Microsoft Indonesia

QA with Microsoft Test Manager and Lab Management

Embed Size (px)

DESCRIPTION

Plan, manage, and execute tests with Microsoft Test Manager and Lab Management in Visual Studio 2013 which will make it easier to conduct manual and automated testing across a variety of environments. This presentation covers the new exploratory testing approach offered by Microsoft Test Manager; the simplified setup and administration of Lab Management environments; and some of the other fit-and-finish features across the testing scenario.

Citation preview

Page 1: QA with Microsoft Test Manager and Lab Management

QA with Microsoft Test Manager and Lab

ManagementRofiqi Setiawan, Technology Specialist

Microsoft Indonesia

Page 2: QA with Microsoft Test Manager and Lab Management

Self discoverable Bring your own deviceEdge facing

Modern business applications

Continuous services

Page 3: QA with Microsoft Test Manager and Lab Management

Modern app lifecycleContinuous value delivery with modern business applications

DefineIdeation

DevelopIdea to working

software

MonitorImplement

SHORTENEDCYCLE TIMES

Page 4: QA with Microsoft Test Manager and Lab Management

Conventional QA in the Modern app lifecycle

QA

Testing postimplementation. Mostly

manual with limitedautomation.

UAT

UAT post implementation

and systemstesting

Operationsreadiness

verification

Pre-deploymentverification

Document requirements as BRDs and

functional specs

Write code to implement

requirements

Page 5: QA with Microsoft Test Manager and Lab Management

Quality

Enablement

Page 6: QA with Microsoft Test Manager and Lab Management

Quality enablement practicesContinuous quality for continuous value delivery

Continuous qualityShortened cycle times

Page 7: QA with Microsoft Test Manager and Lab Management

Acceptance test planning

Business goalsActionable

requirementsAcceptance

criteriaAcceptance test

plan

Acceptance test driven

development

Page 8: QA with Microsoft Test Manager and Lab Management

Continuous acceptance testing

User

Interface

Services

Business Processes

Business Rules and Logic

Service integrations

Data access

Identity

Data

Automated testing

Manual testing

Automated testing

Page 9: QA with Microsoft Test Manager and Lab Management

Lab management automation

Page 10: QA with Microsoft Test Manager and Lab Management

Quality Enablement Solution Architecture

Work item tracking Test lab managementBuild automation

Extensibility interfaces

SCMTest execution

servicesDeployment automation

Reporting and BI

Lab infrastructureTest recorders and

runnersBuild engines

• Actionable feedback • Exploratory testing

• Requirements management

• Acceptance criteria definition

• Developer testing• Build automation• Actionable

diagnostics

• Test planning and management

• Test execution and defect reporting

• Lab management

• Production monitoring• Integrated incident

managementQuality metrics and

reporting

Role tailored tools

Page 11: QA with Microsoft Test Manager and Lab Management

Microsoft Solution

Page 12: QA with Microsoft Test Manager and Lab Management

The Microsoft Solution

Traceability with work item tracking

Requirements management

Test lab management

Source code management

Extensibility interfaces

Team development

servicesTesting services

Build and deployment automation

Reporting and Business

Intelligence

Lab infrastructure Test recorders and runners

Build engines

• Microsoft Office• Feedback client

• Microsoft Office and SharePoint

• Microsoft Project• Browser apps

• Visual Studio IDE• Eclipse• Cross-platform

command line tools

• Microsoft Test Manger

• Microsoft Visual Studio Premium or Ultimate

Microsoft System Center Microsoft Office and SharePoint

Project planning and management

Git

Page 13: QA with Microsoft Test Manager and Lab Management

Quality Enablement Solution Architecture

Work item tracking Test lab managementBuild automation

Extensibility interfaces

SCMTest execution

servicesDeployment automation

Reporting and BI

Lab infrastructureTest recorders and

runnersBuild engines

• Actionable feedback • Exploratory testing

• Requirements management

• Acceptance criteria definition

• Developer testing• Build automation• Actionable

diagnostics

• Test planning and management

• Test execution and defect reporting

• Lab management

• Production monitoring• Integrated incident

managementQuality metrics and

reporting

Role tailored tools

Page 14: QA with Microsoft Test Manager and Lab Management

Manual Testing

Page 15: QA with Microsoft Test Manager and Lab Management

Software testing with Visual Studio

Page 16: QA with Microsoft Test Manager and Lab Management

Business challengesLong, opaque manual testing cycles

“No-repro” defect reports

Repetitive and error prone

Unable to track tested vs. untested code

SolutionsActionable bugs containing data to reproduce defects

Code coverage reports show untested features

Automated fast-forward

Connect dev and test with tools to instrument and repro

Business valueReduce dev-test “ping pong” to cut waste

Speed delivery of high quality software

Delivered software meets user and value expectations

Page 17: QA with Microsoft Test Manager and Lab Management

Manual Testing

Page 18: QA with Microsoft Test Manager and Lab Management

DemoManual Testing

Page 19: QA with Microsoft Test Manager and Lab Management

Organize testing in multiple configurations

Playback a prior recording to save time with frequently-repeated setup

steps and prerequisites

Bind data to controls, to support multiple iterations

and future automation

Pause, save, close, return, and pick up where you left off

Page 20: QA with Microsoft Test Manager and Lab Management

IntelliTrace Logs

System logs & configurationDetailed status and history visible

to all team members

Audio & Video recordings

Page 21: QA with Microsoft Test Manager and Lab Management

Get an overview of the test run with summary pie charts, or drill

into the details for each test.

Analyze code coverage for manual tests to determine which specific parts of your code were tested .

Associate manual test runs with builds and environments.

Page 22: QA with Microsoft Test Manager and Lab Management

Exploratory Testing

Page 23: QA with Microsoft Test Manager and Lab Management

Software testing with Visual Studio

Page 24: QA with Microsoft Test Manager and Lab Management

Business challengesPrescribed test cases can’t anticipate all possible bug scenarios

Ad-hoc testing often results in “no-repro” defects

Unable to validate original bug has been fixed

SolutionsLeverage inherent tester creativity with ad-hoc testing

Record ad-hoc test steps

Create test cases from bugs to reproduce complex scenarios or to verify bug fixes later

Business valueDiscover unknown scenarios and hidden defects

Eliminate manual capturing of test steps to cut waste

Increase quality in delivered software

Page 25: QA with Microsoft Test Manager and Lab Management

Exploratory Testing

Page 26: QA with Microsoft Test Manager and Lab Management

DemoExploratory Testing

Page 27: QA with Microsoft Test Manager and Lab Management

Create rich text comments with screenshots while

exploring

Exploratory sessions can be recorded to increase

reproducibility

Explore your application to uncover new defects

The Test Runner docks on the left side of the screen and automatically records

your steps as you explore

Page 28: QA with Microsoft Test Manager and Lab Management

Comments and steps are automatically added

The exploratory test session is paused while you create a bug

report

File new bugs without ending the exploratory test session

Attach the video recorded during the exploratory test session for

maximum reproducibility

Quickly create an automatically linked test

case for this bug

Page 29: QA with Microsoft Test Manager and Lab Management

Add verification values to indicate the expected result

Session is paused while creating test cases

Test steps are added automatically

Page 30: QA with Microsoft Test Manager and Lab Management

Comment block reflects the added bugs and tests

Continue exploratory testing right from where you left off

Quick access to bugs and test cases created during the session

Page 31: QA with Microsoft Test Manager and Lab Management

Lab Management

Page 32: QA with Microsoft Test Manager and Lab Management

Software testing with Visual Studio

Page 33: QA with Microsoft Test Manager and Lab Management

Business challengesModern apps run in diverse environments

Difficult to repro issues found

Replicating environments for test is time-consuming, costly

SolutionsVirtualization reduces cost to provision environments

Templates allow a wide range of baselines to be spun up quickly and on demand

Snapshots capture states for reproducing test conditions and verifying defects

Business valueDramatically reduced hardware and maintenance expenses

Improved quality and reliability of apps across platforms

Operations engaged in earlier phases of testing

Page 34: QA with Microsoft Test Manager and Lab Management

Lab management automation

On-premise | Cloud

Page 35: QA with Microsoft Test Manager and Lab Management

DemoLab Management

Page 36: QA with Microsoft Test Manager and Lab Management

Create a new environment using virtual machine templates in

SCVMM

Create an environment using machines running on

SCVMM

Create new environments on existing machines

Page 37: QA with Microsoft Test Manager and Lab Management

Quickly choose multiple test suites to run after

deployment

Choose your environment, and build, deploy and test in that environment

from a single dialog

Page 38: QA with Microsoft Test Manager and Lab Management

Snapshot environments during manual testing to increase

reproducibility

Spin up virtual test environments from within Test Manager, or attach a virtual environment to a manual testing session

Page 39: QA with Microsoft Test Manager and Lab Management

Test run results are attached to specific builds and environments

Collect all the data required to recreate bugs from virtual

environments

Page 40: QA with Microsoft Test Manager and Lab Management

The Microsoft differentiation

Role tailored tools Hybrid IT capableContinuous quality practices

ApplicationLifecycle

Continuous value delivery

New value

Page 41: QA with Microsoft Test Manager and Lab Management

Call to Action

• Take Microsoft Virtual Academy (MVA) courses• http://aka.ms/mvasoftwaretesting

• http://aka.ms/mvaswtestingvs

• Use TechNet Virtual Lab (http://aka.ms/virt-labs) • http://aka.ms/VLTestPlanning

• http://aka.ms/VLTestCase

• http://aka.ms/VLExploratoryTest

• Use Azure Trial (http://azure.microsoft.com/en-us/pricing/free-trial/)

• Download Visual Studio ‘14 CTP• http://aka.ms/vsctp14

Page 42: QA with Microsoft Test Manager and Lab Management