PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web...

34

Transcript of PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web...

Page 1: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert
Page 2: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert
Page 3: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert
Page 4: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Test Automation

Page 5: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

generalist specialist

manual

testing

some

scripting

creates scripts

to set up lab,

create data

strong

scripting skills

some

coding skills

strong coding

develops fully

automated

testing

procedures

expert

coding skills

Tester Segmentation

black box testing

white box testing

api testing

70% of testing happens

here

majority of test tools

target here

Page 6: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

VS2012 Ultimate

Page 7: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert
Page 8: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Microsoft Test Manager

Page 9: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

iteration 1 iteration 2 release iteration

feature a feature b feature c feature d

unit

testing

manual

testing

regression

testing

performance

testing

feature a

Page 10: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert
Page 11: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert
Page 12: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert
Page 13: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert
Page 14: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert
Page 15: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Web Performance Test?

Page 16: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Load Modeling & Testing

Page 17: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Load Modeling

Page 18: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Data-driven

Page 19: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert
Page 20: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

What are Load Tests?

Page 21: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Two ways to run load tests

Page 22: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert
Page 23: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Load generated on-premises – traditional approach

Application under test

Visual Studio Test Controller

Test Agent

Report Data

Test Data

Performance Data

Test

Test

Test

SQL Server

Visual Studio Load Testing

Page 24: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Application under test

Visual Studio Test Controller

Test Agent

Report Data

Test Data

Performance Data

Test

Test

Test

SQL Server

Load generated by agents in the cloud, controller on-premises

Visual Studio Load Testing with Azure

Page 25: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert
Page 26: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Team Foundation Server (TFS) Features

Page 27: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert
Page 28: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Email Alerts

Page 29: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

TFS Reporting

Page 30: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Visual Studio Automated Testing

• Coded UI Test and Web

Performance / Load Test

• Generate code from action

recordings

• Replay and assert

• Extensible

• Integrated with Team

Foundation Server

• Bug Tracking

• Continuous, scheduled builds

and tests

Page 31: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Summary

Page 32: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Session 3 (13:30 – 14:45)

Session 4 (15:15 – 16:30)

Session 5 16:45 – 18:00

Page 33: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert

Call to action

http://www.microsoft.com/visualstudio

http://msdn.microsoft.com/en-us/library/dd286726.aspx

http://msdn.microsoft.com/en-us/library/tfs/ee923685.aspx

Page 34: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet... · •Coded UI Test and Web Performance / Load Test •Generate code from action recordings •Replay and assert