CUIT with Visual Studio and TFS



Similar documents
Integrating Team Foundation Server, Microsoft Test Manager and Coded UI Tests

Secure Test Data Management with ORACLE Data Masking

SOUG-SIG Data Replication With Oracle GoldenGate Looking Behind The Scenes Robert Bialek Principal Consultant Partner

Palo Open Source BI Suite

Testhouse Training Portfolio

100% NO CODING NO DEVELOPING IMMEDIATE BUSINESS -25% -70% UNLIMITED SCALABILITY DEVELOPMENT TIME SOFTWARE STABILITY

Oracle Failover Database Cluster with Grid Infrastructure 12c Release 1

IOT & Big Data: The Future Information Processing Architecture

Modern PL/SQL Code Checking and Dependency Analysis

Software Testing & Quality Assurance Department

Please contact Cyber and Technology Training at for registration and pricing information.

Oracle Audit in a Nutshell - Database Audit but how?

How To Ensure Data Security On Anor

Microsoft Azure. IaaS Networking Storage. Stefan Geiger Gerry

ClaySys AppForms for SharePoint

How to Build Successful DSL s. Jos Warmer Leendert Versluijs

Cloud aber Sicher. Florian van Keulen. Senior Consultant Cloud & Security

Consolidate by Migrating Your Databases to Oracle Database 11g. Fred Louis Enterprise Architect

Using TimesTen between your Application and Oracle. between your Application and Oracle. DOAG Conference 2011

Testing Tools using Visual Studio. Randy Pagels Sr. Developer Technology Specialist Microsoft Corporation

Certified Selenium Professional VS-1083

Effective Team Development Using Microsoft Visual Studio Team System

A Path from Windows Desktop to HTML5

Sichere Software- Entwicklung für Java Entwickler

Windmill. Automated Testing for Web Applications

2933A: Developing Business Process and Integration Solutions Using Microsoft BizTalk Server 2006

Big Data. Marriage of RDBMS-DWH and Hadoop & Co. Author: Jan Ott Trivadis AG Trivadis. Big Data - Marriage of RDBMS-DWH and Hadoop & Co.

WELCOME. Where and When should I use the Oracle Service Bus (OSB) Guido Schmutz. UKOUG Conference

To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008.

Systematic Preventionof. Business Intelligence. Project Failures. Dr. Ilias Ortega Senior Consultant. TDWI Conference Munich June 17 to

Contents. Introduction... 1

SOFTWARE TESTING TRAINING COURSES CONTENTS

Google Web Toolkit. Introduction to GWT Development. Ilkka Rinne & Sampo Savolainen / Spatineo Oy

Rapid Development of Smart and Self-Adaptive Cloud, Mobile & IoT Applications - Accelerating the Last Mile of Cloud Computing

ALM2013VS_ACC: Application Lifecycle Management Using Visual Studio 2013

Developer Tutorial Version 1. 0 February 2015

Building Business Applications with SharePoint 2010 and Office October 22, 2010

Course MS55077A Project Server 2013 Development. Length: 5 Days

MAJENTA SOFTWARE DEVELOPMENT. Dave Rothan

Application Lifecycle Management Using Visual Studio 2013 (SCRUM)

Automating Testing and Configuration Data Migration in OTM/GTM Projects using Open Source Tools By Rakesh Raveendran Oracle Consulting

Oracle Application Express MS Access on Steroids

Introduction to: SQL Server Reporting Services. Architecture, Installation, and Administration

Cloud3DView: Gamifying Data Center Management

SharePoint 2010/2013 Course

<Insert Picture Here> Introducing Data Modeling and Design with Oracle SQL Developer Data Modeler

ArcGIS Viewer for Silverlight An Introduction

Team Foundation Server 2013 Reporting Capabilities. Team Foundation Server 2013 Boot Camp version 2.0

Performing a Web Application Security Assessment

Microsoft s Team Foundation Server (TFS) Canute Magalhaes Richland County (IT) SYSTEMS ANALYST / PROJECT LEAD 1

Data Logging and Realtime Visualization

This document is provided to you by ABC E BUSINESS, Microsoft Dynamics Preferred partner. System Requirements NAV 2016

Application Development With Data Studio

ASSURING SOFTWARE QUALITY USING VISUAL STUDIO 2010

Latte Rapid Application Development. William Dunlap Product Manager Borland International

Umbraco Courier 2.0. Installation guide. Per Ploug Hansen 5/24/2011

IBM Digital Experience. Using Modern Web Development Tools and Technology with IBM Digital Experience

GUI and Web Programming

Microsoft Services Exceed your business with Microsoft SharePoint Server 2010

Functional UI testing of Adobe Flex RIA. Viktor Gamov August,

Building and Deploying Web Applications

Exam : Transition Your MCTS on SQL Server 2008 to MCSA: SQL Server 2012, Part 2. Title : The safer, easier way to help you pass any IT exams.

Workflow and Forms Services for People-Driven Process Management

DOAG 2015 Database Data Replication With Oracle GoldenGate Robert Bialek Principal Consultant Partner

A Tutorial on SQL Server CMPT 354 Fall 2007

VERIFICATION AND VALIDATION AUTOMATED TESTING TOOLS CLAUDIU ADAM

Application Testing Suite: A fully Java-based software testing platform for testing Oracle E-Business Suite and other web applications

Business Intelligence Using SharePoint 2013 and Office365

Selenium Automation set up with TestNG and Eclipse- A Beginners Guide

SQL Reporting Services: A Peek at the Power & Potential

Become an ALM specialist in 6 weeks

Network management tools: Torrus, Gerty, Mooxu

Your Technology Partner Offshore and Onsite. Services Portfolio

QlikView 11 Feature Sheet Source Control Integration

FORMS. Electronic management system of document flows and optimization of organizational processes

Copyright

Oracle Data Guard Fast Start Failover understood!

Lee Barnes, CTO Utopia Solutions. Utopia Solutions

Leveraging Rational Team Concert's build capabilities for Continuous Integration

Team Foundation Server 2013 Installation Guide

OPEN XML SDK DEVELOPING OPEN XML SOLUTIONS. Zeyad Rajabi

PC120 ALM Performance Center 11.5 Essentials

Installation Guide. Release Management for Visual Studio 2013

MS Reporting Services. Sheldon Wai

BUSINESS RULES MANAGEMENT AND BPM

Software Testing & Quality Assurance Track

ASP.NET Overview. Ken Casada Developer Evangelist Developer & Platform Evangelism Microsoft Switzerland

Module 07. Log Shipping

Introducing Apache Pivot. Greg Brown, Todd Volkert 6/10/2010

Developing Mapping Applications with ArcGIS Runtime SDK for Windows Mobile. Jay Chen Justin Colville

Cloud-based Data Logging, Monitoring and Analysis

Customizing ArcPad solutions

Petroleum Web Applications to Support your Business. David Jacob & Vanessa Ramirez Esri Natural Resources Team

Transcription:

CUIT with Visual Studio and TFS TechEvent 2014 Thomas Gassmann Daniel Steinlin BASEL BERN BRUGG LAUSANNE ZUERICH DUESSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MUNICH STUTTGART VIENNA 1

AGENDA 1. What are CUIT? 2. Data Driven UI Tests 3. CUIT and Test Manager 4. CUIT for Web Applications 5. Conclusion 6. Questions 2

What are CUIT? 3

Coded UI Tests Coded UI Tests are automated tests that drive your application through its user interface. Used to automate testing from the user interface Test development and maintenance in Visual Studio Integration in TFS, Build Server, etc. Generate code in C# / VB Works for Windows applications as well as for Web applications 4

Integration in Visual Studio 5

Creating Coded UI Tests Generating your Coded UI Test from an existing recording Generating a new Coded UI Test from scratch using Coded UI Test Builder (integrated in Visual Studio) Writing your own Coded UI Test 6

Demo 7

Generated Coded UI Files Filename CodedUITest1.cs UIMap.uitest UIMap.designer.cs UIMap.cs Description Contains the coded UI test class, test methods and assertions. Contains the XML model for the UIMap class, including all windows, controls, properties, methods, parameters, actions and assertions. Contains the code representation of the XML contained in the UIMap.uitest file. Contains more of the code for the UIMap class. Put any customizations for the UIMap in this file. 8

Coded UI Test Builder Generate Code Add Assertions Edit Recorded Steps Record/Stop/Pause 9

Code Snippets Start a new instance of an application var app = ApplicationUnderTest.Launch("PATH"); Highlight a control textbox.drawhighlight(); Capture Image UIMap.MyWindow.CaptureImage().Save(System.IO.Path. Combine(TestContext.TestRunResultsDirectory, "NAME.PNG") ); Send keys to a control Keyboard.SendKeys(textbox, "Hello World!"); 10

Data Driven Tests 11

What are «Data Driven» Tests? You can run test cases multiple times using different sets of data You can use MTM Test Case items as data source, as well as XML, CSV, Excel and SQL 12

Data Source Types Data Source Type Test case in TFS CSV Excel XML SQL Data Source Attribute [DataSource("Microsoft.VisualStudio.TestTools.DataSource.TestC ase", "http://vlm13261329:8080/tfs/defaultcollection;agile", "30", DataAccessMethod.Sequential), TestMethod] [DataSource("Microsoft.VisualStudio.TestTools.DataSource.CSV", " DataDirectory \\data.csv", "data#csv", DataAccessMethod.Sequential), DeploymentItem("data.csv"), TestMethod] DataSource("System.Data.Odbc", "Dsn=Excel Files;Driver={Microsoft Excel Driver (*.xls)};dbq= DataDirectory \\Data.xls;defaultdir=.;driverid=7 90;maxbuffersize=2048;pagetimeout=5;readonly=true", "Sheet1$", DataAccessMethod.Sequential), TestMethod] [DataSource("Microsoft.VisualStudio.TestTools.DataSource.XML", " DataDirectory \\data.xml", "Iterations", DataAccessMethod.Sequential), DeploymentItem("data.xml"), TestMethod] [DataSource("System.Data.SqlClient", "Data Source=.\\sqlexpress;Initial Catalog=tempdb;Integrated Security=True", "Data", DataAccessMethod.Sequential), TestMethod] 13

Demo Data Driven Tests 14

CUIT and Test Manager 15

Architecture Landscape TE2014.local domain Test Agent Windows 8.1 Client DC TFS App Server Build Server SQL Server Register with Team Project Collection Test Controller 16

CUIT and Test Manager Create a build to compile Configure a test case in MTM Connect the CUIT with the test case Run the test in our dedicated test environment 17

Demo CUIT and Test Manager 18

CUIT for Web Applications 19

CUIT for Web Applications Access to the whole DOM tree Recording feature only available in IE9+ Possibility to test different browsers 20

Demo CUIT for Web Applications 21

Conclusion 22

Conclusion Coded UI tests are a great way to automatically or manually test your application, especially the GUI are fully integrated in Visual Studio and Team Foundation Server support the latest technologies like Windows Store Apps are a simpler way to analyse errors through automated test recording are more efficent through test automatisation are a simplification of stress and load testing reduce the number of non-reproducible errors 23

Further information... Frameworks http://cuite.codeplex.com/ Best practices for CUIT http://msdn.microsoft.com/en-us/library/dd380782.aspx Online training http://beta.pluralsight.com/courses/codedui-test-automation 24

Questions and answers... Daniel Steinlin Consultant Tel.: +41-58-459 50 89 daniel.steinlin@trivadis.com Thomas Gassmann Consultant Tel.: +41-58-459 52 81 thomas.gassmann@trivadis.com BASEL BERN BRUGG LAUSANNE ZUERICH DUESSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MUNICH STUTTGART VIENNA 25