Tools for Automated Testing Presented by: Žygimantas Mockus.

Slides:



Advertisements
Similar presentations
1 19-Jan-14 © Copyright: City Boy Salary : Simon Powers : 2014 Brown Bag – Behaviour Driven Development with Specflow Brown Bag – Behaviour Driven Development.
Advertisements

GUI Testing By Norbert Haché. Contents b What is GUI testing b Elements of GUI testing b Old Approach (TRUMP Project) b Scripting b Capture / Replay b.
Produktiv Software entwickeln mit Visual Studio, heute und morgen
Software Development Languages and Environments. Programming languages High level languages are problem orientated contain many English words are easier.
CS0004: Introduction to Programming Visual Studio 2010 and Controls.
Test Automation Framework Ashesh Jain 2007EE50403 Manager Amit Maheshwari.
Automation Testing Presentation Phil Hunter Phil Hunter - Automation Presentation 1.
Story-Based Test Automation Using Free Tools
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
Testing by Duncan Butler Sara Stephens. Too much to cover.
Midterm Several high 90s Average: 91% = A-. Project – Evaluation Plan See doc Exercise: plan for your evaluation now in- class!
Mike Azocar Sr. Developer Technical Specialist Microsoft Corporation
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 1.
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Software testing techniques Automated software testing Presentation on the seminar Kaunas University of Technology.
Microsoft Visual Basic 2012 CHAPTER ONE Introduction to Visual Basic 2012 Programming.
Microsoft Visual Basic 2005 CHAPTER 1 Introduction to Visual Basic 2005 Programming.
Test-Driven Development With Visual Studio 2005 Erno de Weerd Info Support.
Computer Programming and Basic Software Engineering 4. Basic Software Engineering 1 Writing a Good Program 4. Basic Software Engineering.
Unit Testing & Defensive Programming. F-22 Raptor Fighter.
1 Why C# and Why.NET in the Undergraduate IS Curriculum ISECON November 3 -7, 2004, Newport, RI Association of Information Technology Professionals Mehdi.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Languages and Environments Higher Computing Unit 2 – Software Development.
Beyond DHTML So far we have seen and used: CGI programs (using Perl ) and SSI on server side Java Script, VB Script, CSS and DOM on client side. For some.
1 Software Development Topic 2 Software Development Languages and Environments.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
What is QTP ► QTP stands QuickTest Professional ► It is an automated testing tool provided by HP/Mercury Interactive ► QTP integrates with other Mercury.
Higher Grade Computing Studies 2. Languages and Environments Higher Computing Software Development S. McCrossan 1 Classification of Languages 1. Procedural.
Capture and Replay Often used for regression test development –Tool used to capture interactions with the system under test. –Inputs must be captured;
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Design and Programming Chapter 7 Applied Software Project Management, Stellman & Greene See also:
© ALEXANDRE CUVA  VERSION 2.00 Test Driven Design.
Just as there are many human languages, there are many computer programming languages that can be used to develop software. Some are named after people,
1 3. Computing System Fundamentals 3.1 Language Translators.
Automated GUI testing How to test an interactive application automatically?
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Model View Controller A Pattern that Many People Think They Understand, But Has A Couple Meanings.
1 Legacy Code From Feathers, Ch 2 Steve Chenoweth, RHIT Right – Your basic Legacy, from Subaru, starting at $ 20,295, 24 city, 32 highway.
I Power Higher Computing Software Development Development Languages and Environments.
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
Mohit Anand, Software Engineer Adobe 1 Selecting GUI Automation Testing Tool for Mobile Domain.
GOSS iCM Forms Gary Ratcliffe. 2 Agenda Webinar Programme Form Groups Publish Multiple Visual Script Editor Scripted Actions Form Examples.
(1) Test Driven Development Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of Hawaii Honolulu.
MTA EXAM Software Testing Fundamentals : OBJECTIVE 6 Automate Software Testing.
Introducing Visual Studio 2010: What It Is and Why You Should Care
T EST T OOLS U NIT VI This unit contains the overview of the test tools. Also prerequisites for applying these tools, tools selection and implementation.
Automated Testing April 2001WISQA Meeting Ronald Utz, Automated Software Testing Analyst April 11, 2001.
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Northwest Arkansas.Net User Group Jay Smith Tyson Foods, Inc. Unit Testing nUnit, nUnitAsp, nUnitForms.
Microsoft Visual Basic 2015 CHAPTER ONE Introduction to Visual Basic 2015 Programming.
Automation Testing Trainer: Eran Ruso. Training Agenda Automation Testing Introduction Microsoft Automation Testing Tool Box Coded UI Test and Unit Test.
Unit testing with NUnit Anne Lam & Chris James CMPS 4113 – Software Engineering April 15, 2015.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
A Detailed Introduction To Visual Studio.NET CRB Tech ReviewsCRB Tech Reviews introduces you to the world of Visual.
SWE 434 SOFTWARE TESTING AND VALIDATION LAB2 – INTRODUCTION TO JUNIT 1 SWE 434 Lab.
Dive Into® Visual Basic 2010 Express
Items to consider before automating an application
Automation of Software Test
Selenium HP Web Test Tool Training
Selenium HP Web Test Tool Training
Key Ideas from day 1 slides
Introduction to Visual Basic 2008 Programming
Testing The JCOP Framework
Module 1: Getting Started
History, Characteristics and Frameworks
Web Development Using ASP .NET
Hands-on Introduction to Visual Basic .NET
Presentation transcript:

Tools for Automated Testing Presented by: Žygimantas Mockus

What is automated software testing? A process which covers: the use of software to control the execution of tests the comparison of actual outcomes to predicted outcomes other test control and test reporting functions.

Why should we rely on automated software testing?

Time savings translates directly into cost savings It improves testing productivity It improves accuracy It increases test coverage It allows to run regression tests on a code that is continuously changing

What are the disadvantages of automated software testing Bigger initial investments You cannot automate everything, some tests still have to be done manually

Main approaches of test automation Code-driven testing. The public (usually) interfaces of classes, modules or libraries are tested with a variety of input arguments to validate that the results that are returned are correct. Graphical user interface testing. A testing framework generates user interface events such as keystrokes and mouse clicks, and observes the changes that result in the user interface, to validate that the observable behavior of the program is correct.

Tools for code-driven testing Unit-testing frameworks (xUnit). Test runners and code-coverage tools (NCrunch, dotCover)

Unit Testing framework example (MSTest)

Unit Testing framework example (NUnit)

Usual TDD (Test-Driven development) cycle without tools Write the test Stop and run the test Write the code under test Stop and run tests Refactor the code under test Stop and run tests

Usual TDD (Test-Driven development) cycle with NCrunch Write the test Write the code under test Refactor the code under test

Test runners and code-coverage tools (NCrunch)

NCrunch and code coverage NCrunch collects test coverage for your code while it runs your tests. This is shown next to your code in coloured markers showing which lines the tests touched, with marker colours indicating pass or fail status. You can also navigate to any covering tests from any line of code, making it easy to see which tests you might impact with a change. Full code coverage metrics are also available for your entire solution, allowing you to see where your code coverage is heavy and where it's light.

Test runners and code-coverage tools (NCrunch)

NCrunch and performance metrics NCrunch profiles your tests during their execution to pick up the execution time of every line of code under test. Metrics are shown inline conveniently with a tooltip, and 'hot spots' are shown with special colouring on the code coverage markers.

Test runners and code-coverage tools (NCrunch)

NCrunch and exception handling The stack traces of exceptions thrown from your tests are processed by NCrunch and projected over the code coverage markers. This makes it really easy to spot where your tests went wrong, without the information getting in your way.

Test runners and code-coverage tools (NCrunch)

NCrunch and smart test execution NCrunch tracks all sorts of interesting statistics about your tests, and it uses this information in the most intelligent way possible. Tests that you have recently impacted with your code changes are highly prioritised for execution. NCrunch uses a powerful weighting system designed to give you the most important feedback as fast as possible.

Test runners and code-coverage tools (NCrunch)

NCrunch – more info More info available at:

dotCover -.NET Code Coverage Tool Reporting statement-level coverage in.NET Framework and Silverlight applications. Integration with Visual Studio 2005, 2008, 2010, 2012 and Highlighting for covered and uncovered code in Visual Studio. Detecting which tests cover a particular location in code. Managing and running unit tests with ReSharper's unit test runner or dotCover's own. Support for multiple unit testing frameworks: MSTest, NUnit, xUnit, and MSpec. Console utility to use with a Continuous Integration server. In fact, a server-side version of dotCover is built into TeamCity and available free of charge. Fetching coverage analysis data from TeamCity to Visual Studio. Generating code coverage reports as XML, HTML, or JSON.

dotCover - Running and Managing Unit Tests

dotCover – Navigation to covering tests

dotCover – Coverage highlighting in Visual Studio

AutoHotkey – Free keyboard macro program Automate almost anything by sending keystrokes and mouse clicks. You can write a mouse or keyboard macro by hand or use the macro recorder. Create hotkeys for keyboard, joystick, and mouse. Virtually any key, button, or combination can become a hotkey.

AutoHotkey – Automated GUI testing software

TestComplete – Automated GUI testing software A choice of scripting languages (VBScript, JScript, C++Script, C#Script and DelphiScript) Automated test scripts can call Windows API, DLL and WMI functions,.NET and Java classes, ADO and BDE database access functions and use ActiveX and COM objects. This way, testers can verify the application state and behavior far beyond the user interface.

TestComplete – Automated test recording

TestComplete – Automated GUI testing software

TestComplete – View screenshots of each test operation

TestComplete – Visual modifications of tests in special editor

Questions?