SlideShare a Scribd company logo
Udvid din test portefølje med 
Coded UI test og Cloud Load test 
VS20011 
Peter Lindberg - Consultant @ Alterate 
pli@alterate.dk 
@peterlindbergdk 
www.linkedin.com/in/peterlindbergdk 
www.alterate.dk 
#CampusDays
#CampusDays 
Topics 
Test automation 
Microsoft Test Manager and manual tests 
Coded UI Test 
Load Test in the cloud with Visual Studio Online
#CampusDays 
Why test? 
We all make mistakes! 
But also: 
• Are we meeting the requirements and expectations? 
• Does the hardware support the application? 
• Does it work as expected? 
The sooner the defects are discovered – the cheaper they are to fix
#CampusDays 
Why automate tests? 
Cost reduction! 
• Manual test is expensive 
• Let manual testers spend the time on value adding tests 
• New features 
• Exploratory testing 
• “Time to market” – higher release cadence 
• Safety as developer
#CampusDays 
Exploratory 
testing 
Automated 
UI Test 
Integration 
Test 
Unit Test
#CampusDays
#CampusDays 
Microsoft Test Manager and 
manual tests
#CampusDays 
Visual Studio Application Lifecycle Management
#CampusDays 
Microsoft Test Manager (MTM) 
Separate application 
Fully integrated with Team Foundation Server 
• Test artifacts are Work Items in TFS 
• Links to Product Backlog Items, Bugs etc. 
• Queries 
• Reporting 
• Ties directly in to the developer world
#CampusDays 
Microsoft Test Manager (MTM) 
A fully-instrumented, configurable test runner captures detailed records of steps 
performed, behaviors observed, and the status of each test step. Pause testing to report a 
bug, even if it’s not directly related to the current test. High-fidelity defect reports go 
directly to the development team, including all the technical data needed to reproduce 
and resolve the error. Record tests for later playback to speed test sessions and enable 
automation. (visualstudio.com)
#CampusDays 
What’s in it for the developers? 
“captures detailed records of steps performed, behaviors observed, and the status of each 
test step” 
“Pause testing to report a bug, even if it’s not directly related to the current test” 
“High-fidelity defect reports go directly to the development team, including all the 
technical data needed to reproduce and resolve the error” 
“Record tests for later playback to speed test sessions and enable automation”
#CampusDays 
MTM Work Item Structure
#CampusDays 
Demo
#CampusDays 
Coded UI tests
#CampusDays 
What are Coded UI Tests? 
Automated tests interacting with the application through the user interface 
For example used for testing 
• Input validations 
• Calculations 
• “Shopping cart” functionality 
• UI Elements 
• Navigation 
• ….
#CampusDays 
Supported configurations and platforms 
Configurations 
• Windows 7, Windows 8, Windows Server 2008 R2 
• x86 and x64 
• .NET 2.0, 3.0, 3.5, 4.0 and 4.5 
Platforms 
• Windows Phone Apps - (Only WinRT-XAML based Phone apps are supported) 
• Windows Store Apps - (Only XAML-based Store apps are supported) 
• Windows Forms + WPF 
• IE 8, 9 and 10 - (9 and 10 only supported on the desktop) 
• Chrome (recording not supported, only playback) 
• Silverlight 5 (only supported with unsupported plugin) 
• SharePoint, Dynamics web client – Fully supported
#CampusDays
#CampusDays 
Test Automation 
Test 
Execution 
Test 
Script
#CampusDays 
Which tests to automate? 
Is it often used functionality? 
Does the UI change often? 
Is the test code easy or difficult to maintain? 
How often is the test expected to be run?
#CampusDays 
Coded UI test features 
• Fully integrated into Visual Studio ALM 
• Automatic code generation 
• “Intelligent” Intent Aware Recording and Resilient Playback 
• Execute on build server 
• C# / VB.NET
#CampusDays 
Generate Coded UI Tests 
• Automate steps from MTM action recordings 
• Coded UI Test Builder 
• Write them yourself in C# / VB.NET (advanced)
#CampusDays 
The generated code 
TestMethod
#CampusDays 
UIMap
#CampusDays 
Coded UI Test Editor
#CampusDays 
Coded UI Test Editor 
• Change names of test methods and UI elements 
• Split steps in to new methods 
• Move generated code to UIMap partial class for customizing 
• Add pauses 
• View and change properties 
• Remove unwanted steps (duplicates etc.)
#CampusDays 
Demo
#CampusDays 
Load Test in the cloud with Visual 
Studio Online
#CampusDays
#CampusDays 
What do we want to achieve with load tests? 
• Will the planned platform support the expected load and peak loads? 
• Will simultaneous users cause problems 
• Server load (max. CPU / memory consumption etc.) 
• When does it break and how? 
Planning is key! Dialogue with Product Owner / stakeholder etc. 
What are targets and objectives? 
What are the success & acceptance criteria? 
Concrete and measurable!! 
There’s a big difference between 1 and 5 seconds when a web site load…
#CampusDays 
How? 
Generate 
traffic to 
application 
Does it 
perform as 
expected? 
Recreate the 
performance 
problems 
Fix the 
performance 
problems
#CampusDays
#CampusDays 
So when should I start planning and execute load teste? 
Start early! 
= 
Save time
#CampusDays 
What can be included in load tests? 
• Web test 
• Unit tests 
• Coded UI (possible – but not recommended) 
Customize! 
• Coded Web Performance test
#CampusDays
#CampusDays 
To the Cloud! 
• Load tests can be executed from the cloud with Visual Studio Online 
• MSDN subscribers have 15,000 virtual user minutes included pr. month 
• No need to set up a big test rig / infrastructure “on premises” 
• Setup in Visual Studio – execute in Azure 
• Visual Studio connected to Visual Studio Online
#CampusDays 
Visual Studio 
Load test 
web service 
Result 
database 
Controller 
Test agent pool 
Agent Agent Agent 
Agent Agent Agent
#CampusDays 
Demo
#CampusDays 
Q&A 
#Ask me about everything! 
Join me at the Microsoft Booth the next 
30 minutes @Meet The Experts 
Dont forget to: Evaluate this session!
EVENT SPONSORER 
TRACK SPONSORER 
EXPO SPONSORER

More Related Content

What's hot

Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...
Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...
Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...
Sencha
 
What kind testing DUG Vancouver
What kind testing DUG VancouverWhat kind testing DUG Vancouver
What kind testing DUG Vancouver
Yuriy Gerasimov
 
Web based automation testing on Node.js environment
Web based automation testing on Node.js environmentWeb based automation testing on Node.js environment
Web based automation testing on Node.js environment
Yu-Lin Huang
 
Mobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and DockerMobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and Docker
Moataz Nabil
 
Application Lifecycle Management with TFS
Application Lifecycle Management with TFSApplication Lifecycle Management with TFS
Application Lifecycle Management with TFS
Mehdi Khalili
 
Sencha Roadshow 2017: What's New in Sencha Test
Sencha Roadshow 2017: What's New in Sencha TestSencha Roadshow 2017: What's New in Sencha Test
Sencha Roadshow 2017: What's New in Sencha Test
Sencha
 
Effective performance evaluation as part of a CI approach - Mission Impossible?
Effective performance evaluation as part of a CI approach - Mission Impossible?Effective performance evaluation as part of a CI approach - Mission Impossible?
Effective performance evaluation as part of a CI approach - Mission Impossible?
Intechnica
 
Browser Vendors are Reshaping Testing - Are You Ready?
Browser Vendors are Reshaping Testing - Are You Ready?Browser Vendors are Reshaping Testing - Are You Ready?
Browser Vendors are Reshaping Testing - Are You Ready?
SmartBear
 
Selenium at Salesforce Scale
Selenium at Salesforce ScaleSelenium at Salesforce Scale
Selenium at Salesforce Scale
Salesforce Engineering
 
Developing Brilliant and Powerful APIs in Ruby & Python
Developing Brilliant and Powerful APIs in Ruby & PythonDeveloping Brilliant and Powerful APIs in Ruby & Python
Developing Brilliant and Powerful APIs in Ruby & Python
SmartBear
 
Selenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunnerSelenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunner
Murageppa-QA
 
Test Automation Frameworks: Assumptions, Concepts & Tools
Test Automation Frameworks: Assumptions, Concepts & ToolsTest Automation Frameworks: Assumptions, Concepts & Tools
Test Automation Frameworks: Assumptions, Concepts & Tools
Amit Rawat
 
Eclipse UI automation
Eclipse UI automationEclipse UI automation
Eclipse UI automation
Srinivas Kantipudi
 
Testwarez 2009 Use Proper Tool
Testwarez 2009 Use Proper ToolTestwarez 2009 Use Proper Tool
Testwarez 2009 Use Proper Tool
Adam Sandman
 
selenium meetup sf talk march 2014 Selenium at Scale
selenium meetup sf talk march 2014 Selenium at Scaleselenium meetup sf talk march 2014 Selenium at Scale
selenium meetup sf talk march 2014 Selenium at Scale
David Louvton
 
Building with Visual Studio Online
Building with Visual Studio OnlineBuilding with Visual Studio Online
Building with Visual Studio Online
Jeff Bramwell
 
Best Practices for a Repeatable Shift-Left Commitment
Best Practices for a Repeatable Shift-Left CommitmentBest Practices for a Repeatable Shift-Left Commitment
Best Practices for a Repeatable Shift-Left Commitment
Applause
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing Frameworks
Moataz Nabil
 
QAorHighway2016
QAorHighway2016QAorHighway2016
QAorHighway2016
Bhupesh Dahal
 
Test Automation and Continuous Integration
Test Automation and Continuous Integration Test Automation and Continuous Integration
Test Automation and Continuous Integration
TestCampRO
 

What's hot (20)

Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...
Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...
Sencha Roadshow 2017: Sencha Upgrades - The Good. The Bad. The Ugly - Eva Luc...
 
What kind testing DUG Vancouver
What kind testing DUG VancouverWhat kind testing DUG Vancouver
What kind testing DUG Vancouver
 
Web based automation testing on Node.js environment
Web based automation testing on Node.js environmentWeb based automation testing on Node.js environment
Web based automation testing on Node.js environment
 
Mobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and DockerMobile UI Testing using Appium and Docker
Mobile UI Testing using Appium and Docker
 
Application Lifecycle Management with TFS
Application Lifecycle Management with TFSApplication Lifecycle Management with TFS
Application Lifecycle Management with TFS
 
Sencha Roadshow 2017: What's New in Sencha Test
Sencha Roadshow 2017: What's New in Sencha TestSencha Roadshow 2017: What's New in Sencha Test
Sencha Roadshow 2017: What's New in Sencha Test
 
Effective performance evaluation as part of a CI approach - Mission Impossible?
Effective performance evaluation as part of a CI approach - Mission Impossible?Effective performance evaluation as part of a CI approach - Mission Impossible?
Effective performance evaluation as part of a CI approach - Mission Impossible?
 
Browser Vendors are Reshaping Testing - Are You Ready?
Browser Vendors are Reshaping Testing - Are You Ready?Browser Vendors are Reshaping Testing - Are You Ready?
Browser Vendors are Reshaping Testing - Are You Ready?
 
Selenium at Salesforce Scale
Selenium at Salesforce ScaleSelenium at Salesforce Scale
Selenium at Salesforce Scale
 
Developing Brilliant and Powerful APIs in Ruby & Python
Developing Brilliant and Powerful APIs in Ruby & PythonDeveloping Brilliant and Powerful APIs in Ruby & Python
Developing Brilliant and Powerful APIs in Ruby & Python
 
Selenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunnerSelenium RC, Selenium WebDriver and HP LoadRunner
Selenium RC, Selenium WebDriver and HP LoadRunner
 
Test Automation Frameworks: Assumptions, Concepts & Tools
Test Automation Frameworks: Assumptions, Concepts & ToolsTest Automation Frameworks: Assumptions, Concepts & Tools
Test Automation Frameworks: Assumptions, Concepts & Tools
 
Eclipse UI automation
Eclipse UI automationEclipse UI automation
Eclipse UI automation
 
Testwarez 2009 Use Proper Tool
Testwarez 2009 Use Proper ToolTestwarez 2009 Use Proper Tool
Testwarez 2009 Use Proper Tool
 
selenium meetup sf talk march 2014 Selenium at Scale
selenium meetup sf talk march 2014 Selenium at Scaleselenium meetup sf talk march 2014 Selenium at Scale
selenium meetup sf talk march 2014 Selenium at Scale
 
Building with Visual Studio Online
Building with Visual Studio OnlineBuilding with Visual Studio Online
Building with Visual Studio Online
 
Best Practices for a Repeatable Shift-Left Commitment
Best Practices for a Repeatable Shift-Left CommitmentBest Practices for a Repeatable Shift-Left Commitment
Best Practices for a Repeatable Shift-Left Commitment
 
Testing Frameworks
Testing FrameworksTesting Frameworks
Testing Frameworks
 
QAorHighway2016
QAorHighway2016QAorHighway2016
QAorHighway2016
 
Test Automation and Continuous Integration
Test Automation and Continuous Integration Test Automation and Continuous Integration
Test Automation and Continuous Integration
 

Similar to Udvid din test portefølje med coded ui test og cloud load test

yourfirstcodedui-121217152431-phpapp02.pdf
yourfirstcodedui-121217152431-phpapp02.pdfyourfirstcodedui-121217152431-phpapp02.pdf
yourfirstcodedui-121217152431-phpapp02.pdf
Patiento Del Mar
 
Getting Started with Coded UI Testing: Building Your First Automated Test
Getting Started with Coded UI Testing: Building Your First Automated TestGetting Started with Coded UI Testing: Building Your First Automated Test
Getting Started with Coded UI Testing: Building Your First Automated Test
Imaginet
 
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
Imaginet
 
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Theo Jungeblut
 
Cabot Technology Solutions Inc
Cabot Technology Solutions IncCabot Technology Solutions Inc
Cabot Technology Solutions Inc
Venkatesh Thyagarajan
 
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
Triple Assurance: AI-Powered Test Automation in UI Design and FunctionalityTriple Assurance: AI-Powered Test Automation in UI Design and Functionality
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
Applitools
 
Testing with Microsoft Technologies - Kick Off Session
Testing with Microsoft Technologies - Kick Off SessionTesting with Microsoft Technologies - Kick Off Session
Testing with Microsoft Technologies - Kick Off Session
Moataz Nabil
 
1.microsoft visual studio 2010 test manager
1.microsoft visual studio 2010  test manager1.microsoft visual studio 2010  test manager
1.microsoft visual studio 2010 test manager
Ashwin Jujgar
 
Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012
Twice. Ontwikkelaars van IT professionals
 
Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012
Delta-N
 
Cabot corporate profile 2018
Cabot corporate profile  2018Cabot corporate profile  2018
Cabot corporate profile 2018
Venkatesh Thyagarajan
 
Measure and increase developer productivity with help of Severless by Kazulki...
Measure and increase developer productivity with help of Severless by Kazulki...Measure and increase developer productivity with help of Severless by Kazulki...
Measure and increase developer productivity with help of Severless by Kazulki...
Vadym Kazulkin
 
Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014
Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014
Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014
Phil Leggetter
 
Acing application lifecycle management in SharePoint
Acing application lifecycle management in SharePointAcing application lifecycle management in SharePoint
Acing application lifecycle management in SharePoint
Jeremy Thake
 
Application Lifecycle Management
Application Lifecycle ManagementApplication Lifecycle Management
Application Lifecycle Management
Amazon Web Services
 
ALM with TFS: From the Drawing Board to the Cloud
ALM with TFS: From the Drawing Board to the CloudALM with TFS: From the Drawing Board to the Cloud
ALM with TFS: From the Drawing Board to the Cloud
Jeremy Likness
 
Reliable mobile test automation
Reliable mobile test automationReliable mobile test automation
Reliable mobile test automation
Vishal Banthia
 
Bugday bkk-2014 nitisak-auto_perf
Bugday bkk-2014 nitisak-auto_perfBugday bkk-2014 nitisak-auto_perf
Bugday bkk-2014 nitisak-auto_perf
Nitisak Mooltreesri
 
Technical Without Code
Technical Without CodeTechnical Without Code
Technical Without Code
Caitlin Cassidy
 
Microsoft ALM Platform Overview
Microsoft ALM Platform OverviewMicrosoft ALM Platform Overview
Microsoft ALM Platform Overview
Steve Lange
 

Similar to Udvid din test portefølje med coded ui test og cloud load test (20)

yourfirstcodedui-121217152431-phpapp02.pdf
yourfirstcodedui-121217152431-phpapp02.pdfyourfirstcodedui-121217152431-phpapp02.pdf
yourfirstcodedui-121217152431-phpapp02.pdf
 
Getting Started with Coded UI Testing: Building Your First Automated Test
Getting Started with Coded UI Testing: Building Your First Automated TestGetting Started with Coded UI Testing: Building Your First Automated Test
Getting Started with Coded UI Testing: Building Your First Automated Test
 
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
Getting Started with Visual Studio’s Coded UI Testing: Building Your First Au...
 
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
Debugging,Troubleshooting & Monitoring Distributed Web & Cloud Applications a...
 
Cabot Technology Solutions Inc
Cabot Technology Solutions IncCabot Technology Solutions Inc
Cabot Technology Solutions Inc
 
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
Triple Assurance: AI-Powered Test Automation in UI Design and FunctionalityTriple Assurance: AI-Powered Test Automation in UI Design and Functionality
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
 
Testing with Microsoft Technologies - Kick Off Session
Testing with Microsoft Technologies - Kick Off SessionTesting with Microsoft Technologies - Kick Off Session
Testing with Microsoft Technologies - Kick Off Session
 
1.microsoft visual studio 2010 test manager
1.microsoft visual studio 2010  test manager1.microsoft visual studio 2010  test manager
1.microsoft visual studio 2010 test manager
 
Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012
 
Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012Introductie Visual Studio ALM 2012
Introductie Visual Studio ALM 2012
 
Cabot corporate profile 2018
Cabot corporate profile  2018Cabot corporate profile  2018
Cabot corporate profile 2018
 
Measure and increase developer productivity with help of Severless by Kazulki...
Measure and increase developer productivity with help of Severless by Kazulki...Measure and increase developer productivity with help of Severless by Kazulki...
Measure and increase developer productivity with help of Severless by Kazulki...
 
Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014
Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014
Using BladeRunnerJS to Build Front-End Apps that Scale - Fluent 2014
 
Acing application lifecycle management in SharePoint
Acing application lifecycle management in SharePointAcing application lifecycle management in SharePoint
Acing application lifecycle management in SharePoint
 
Application Lifecycle Management
Application Lifecycle ManagementApplication Lifecycle Management
Application Lifecycle Management
 
ALM with TFS: From the Drawing Board to the Cloud
ALM with TFS: From the Drawing Board to the CloudALM with TFS: From the Drawing Board to the Cloud
ALM with TFS: From the Drawing Board to the Cloud
 
Reliable mobile test automation
Reliable mobile test automationReliable mobile test automation
Reliable mobile test automation
 
Bugday bkk-2014 nitisak-auto_perf
Bugday bkk-2014 nitisak-auto_perfBugday bkk-2014 nitisak-auto_perf
Bugday bkk-2014 nitisak-auto_perf
 
Technical Without Code
Technical Without CodeTechnical Without Code
Technical Without Code
 
Microsoft ALM Platform Overview
Microsoft ALM Platform OverviewMicrosoft ALM Platform Overview
Microsoft ALM Platform Overview
 

Recently uploaded

Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
sjcobrien
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
ShulagnaSarkar2
 
YAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring detailsYAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring details
NishanthaBulumulla1
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
dakas1
 
Project Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdfProject Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdf
Karya Keeper
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
Patrick Weigel
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
ISH Technologies
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
Alina Yurenko
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.
AnkitaPandya11
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
safelyiotech
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
TaghreedAltamimi
 
What next after learning python programming basics
What next after learning python programming basicsWhat next after learning python programming basics
What next after learning python programming basics
Rakesh Kumar R
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 

Recently uploaded (20)

Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
 
YAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring detailsYAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring details
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
Project Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdfProject Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdf
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.fiscal year variant fiscal year variant.
fiscal year variant fiscal year variant.
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
 
What next after learning python programming basics
What next after learning python programming basicsWhat next after learning python programming basics
What next after learning python programming basics
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 

Udvid din test portefølje med coded ui test og cloud load test

  • 1. Udvid din test portefølje med Coded UI test og Cloud Load test VS20011 Peter Lindberg - Consultant @ Alterate pli@alterate.dk @peterlindbergdk www.linkedin.com/in/peterlindbergdk www.alterate.dk #CampusDays
  • 2. #CampusDays Topics Test automation Microsoft Test Manager and manual tests Coded UI Test Load Test in the cloud with Visual Studio Online
  • 3. #CampusDays Why test? We all make mistakes! But also: • Are we meeting the requirements and expectations? • Does the hardware support the application? • Does it work as expected? The sooner the defects are discovered – the cheaper they are to fix
  • 4. #CampusDays Why automate tests? Cost reduction! • Manual test is expensive • Let manual testers spend the time on value adding tests • New features • Exploratory testing • “Time to market” – higher release cadence • Safety as developer
  • 5. #CampusDays Exploratory testing Automated UI Test Integration Test Unit Test
  • 7. #CampusDays Microsoft Test Manager and manual tests
  • 8. #CampusDays Visual Studio Application Lifecycle Management
  • 9. #CampusDays Microsoft Test Manager (MTM) Separate application Fully integrated with Team Foundation Server • Test artifacts are Work Items in TFS • Links to Product Backlog Items, Bugs etc. • Queries • Reporting • Ties directly in to the developer world
  • 10. #CampusDays Microsoft Test Manager (MTM) A fully-instrumented, configurable test runner captures detailed records of steps performed, behaviors observed, and the status of each test step. Pause testing to report a bug, even if it’s not directly related to the current test. High-fidelity defect reports go directly to the development team, including all the technical data needed to reproduce and resolve the error. Record tests for later playback to speed test sessions and enable automation. (visualstudio.com)
  • 11. #CampusDays What’s in it for the developers? “captures detailed records of steps performed, behaviors observed, and the status of each test step” “Pause testing to report a bug, even if it’s not directly related to the current test” “High-fidelity defect reports go directly to the development team, including all the technical data needed to reproduce and resolve the error” “Record tests for later playback to speed test sessions and enable automation”
  • 12. #CampusDays MTM Work Item Structure
  • 15. #CampusDays What are Coded UI Tests? Automated tests interacting with the application through the user interface For example used for testing • Input validations • Calculations • “Shopping cart” functionality • UI Elements • Navigation • ….
  • 16. #CampusDays Supported configurations and platforms Configurations • Windows 7, Windows 8, Windows Server 2008 R2 • x86 and x64 • .NET 2.0, 3.0, 3.5, 4.0 and 4.5 Platforms • Windows Phone Apps - (Only WinRT-XAML based Phone apps are supported) • Windows Store Apps - (Only XAML-based Store apps are supported) • Windows Forms + WPF • IE 8, 9 and 10 - (9 and 10 only supported on the desktop) • Chrome (recording not supported, only playback) • Silverlight 5 (only supported with unsupported plugin) • SharePoint, Dynamics web client – Fully supported
  • 18. #CampusDays Test Automation Test Execution Test Script
  • 19. #CampusDays Which tests to automate? Is it often used functionality? Does the UI change often? Is the test code easy or difficult to maintain? How often is the test expected to be run?
  • 20. #CampusDays Coded UI test features • Fully integrated into Visual Studio ALM • Automatic code generation • “Intelligent” Intent Aware Recording and Resilient Playback • Execute on build server • C# / VB.NET
  • 21. #CampusDays Generate Coded UI Tests • Automate steps from MTM action recordings • Coded UI Test Builder • Write them yourself in C# / VB.NET (advanced)
  • 22. #CampusDays The generated code TestMethod
  • 24. #CampusDays Coded UI Test Editor
  • 25. #CampusDays Coded UI Test Editor • Change names of test methods and UI elements • Split steps in to new methods • Move generated code to UIMap partial class for customizing • Add pauses • View and change properties • Remove unwanted steps (duplicates etc.)
  • 27. #CampusDays Load Test in the cloud with Visual Studio Online
  • 29. #CampusDays What do we want to achieve with load tests? • Will the planned platform support the expected load and peak loads? • Will simultaneous users cause problems • Server load (max. CPU / memory consumption etc.) • When does it break and how? Planning is key! Dialogue with Product Owner / stakeholder etc. What are targets and objectives? What are the success & acceptance criteria? Concrete and measurable!! There’s a big difference between 1 and 5 seconds when a web site load…
  • 30. #CampusDays How? Generate traffic to application Does it perform as expected? Recreate the performance problems Fix the performance problems
  • 32. #CampusDays So when should I start planning and execute load teste? Start early! = Save time
  • 33. #CampusDays What can be included in load tests? • Web test • Unit tests • Coded UI (possible – but not recommended) Customize! • Coded Web Performance test
  • 35. #CampusDays To the Cloud! • Load tests can be executed from the cloud with Visual Studio Online • MSDN subscribers have 15,000 virtual user minutes included pr. month • No need to set up a big test rig / infrastructure “on premises” • Setup in Visual Studio – execute in Azure • Visual Studio connected to Visual Studio Online
  • 36. #CampusDays Visual Studio Load test web service Result database Controller Test agent pool Agent Agent Agent Agent Agent Agent
  • 38. #CampusDays Q&A #Ask me about everything! Join me at the Microsoft Booth the next 30 minutes @Meet The Experts Dont forget to: Evaluate this session!
  • 39. EVENT SPONSORER TRACK SPONSORER EXPO SPONSORER

Editor's Notes

  1. Section title slide (Optional)
  2. Section title slide (Optional)
  3. Intent aware = Taking all the steps to click All Programs, open browser, navigate to URL => Open URL in browser Resilient playback = smart algorithms to accommodate changes in configurations like window resize/Minimize/Maximize, screen resolution changes etc. to provide a resilient playback support.
  4. 20 mins CodedUISP proj:
  5. Section title slide (Optional)
  6. Unit test – good for WCF Services, Web API, REST, Odata etc. Also database queries, Store Procedures etc.
  7. Create small web tests to be able to granularly load test and diagnose the application functionality
  8. Azure pricing calculator http://azure.microsoft.com/en-us/pricing/calculator/?scenario=full