Skip to content

How to become ‘Test Automation As A Service (TaaaS)’ Ready

2013 June 14
by jonathon.wright

How to become ‘Test Automation As A Service’ ready in 4 easy steps:

Step 1) Generate a Business Process Model (BPM) using Business Process Modelling notation v2.2 (BPMNv2.2) this can be done in a number of different ways:

Option A – Manually create the BPM using a open source modelling tool such as BizAgi :

BusinessProcessModel

Option B – Generate the BPM from existing internal documentation sources (such as Visio Diagrams or Functional Specifications) which can be exported directly or can use a tool that automatically generates eXtendible Process Definition Language (xPDL) from sources such as XML/XLSX (this feature supported by Hyper-Test.com):

BPM_ExportVisioBPM

Option C – Generate the BPM from Solution Under Test (SUT) source code repository example below using DynoForms (XML/XSD):

AllISeeIsXML

NOTE: The advantage of using the direct source is that when it changes it automatically updates the BPM.

Step 2) Create the Business Process Scenario (BPS) using workflow (v4) /eXtensible Application Markup Language (XAML) this can be done in a number of ways:

Option A – Manually by overlaying the BPS paths onto the generated BPM:

SysRepublic_BusinessProcessModelling_Core_v20130613D

Example ‘forgot password’ path (A1 > D1 > E1 > F1 > G1 > A2 > A1 > B1 > C1) compared to a ‘simple login’ of (A1 > B1 > C1)

Option 2 – Import the BPM (xPDL) into a test management tool such as HP ALM (v10 or above note the current version 11.5)

BPM_AltFlow

Option 3 – Generate the BPS (XAML) by importing the current BPM (xPDL) components then create the workflow logic (this feature supported by Hyper-Test.com):

ADS_BusinessProcessScenarios_xPDL

Option 4 – Use the existing business workflow logic defined by the application under test (AUT) this could already be in XAML format and can be edited in VS2012.RC3

ADS_BusinessProcessScenarios_XAML

NOTE: The advantage again of using the direct source is that when it changes it automatically updates the BPS.

Step 3)  Create the Business Process Tests using an Automation Solution this can be done in a number of different ways:

Option A – Use a cloud based 5th generation automation solution such as ‘Test Automation as a Service” that supports both import & exporting of BPM (xPDL) &  BPS (XAML) :

TaaaS_Portal

Option B – Develop an Automation Solution that supports both BPM (xPDL) &  BPS (XAML):

Framework

Option C – Use a tool that supports Business Process Testing such as TaaaS.net, open source ATDD/BDD/TDD  solutions (such as SpecFlow/JBehave) or commercial tools (Odin/Ranorex/Telerik)

ADS_BusinessProcessTesting

NOTE: Slides taken from the ‘Test Automation as a Service’ presentation given at STARWest in 2012.

Option D – Migrate your current existing Automation solution into this BPM (xPDL) &  BPS (XAML) format this can be automatically done by using Hyper-Test.com :

HyperTest

Step 4) Congratulations you are now ‘Automation Ready’.

Using the ‘First Day Automation’ approach as published in the best selling ‘Experiences in Test Automation‘ book, without having  to write a single line of code just using natural language (Business Level Keywords) with content sensitive validation (Model-Based) as provided by Test Automation as a Service and executed in the hybrid cloud that is platform, technology, client, browser, version, language agnostic and can run on all environment under test (EUT):

Option A: High Volume Automated Testing (HVAT) in the cloud using Microsoft Lab Management and powered by Azure

LabManagementEnvironment

Test environments are in the Azure Cloud and can be either saved to persistent storage or spun down (PAYU)

TaaaS_AzureServerFarm_Containers

Test execution is managed by Microsoft Test Manager (2012.3/2010.2) through test agents technology:

ControlledMTM

Option B: High Volume Cross-Platform Automated Testing (HVAT) in the cloud using ‘Test Automation as a Service‘ VM dispenser technology:

Combo_GeoBased

Test execution is managed by ‘TaaaS.net Portal‘ that is accessible on any platform or device that supports HTML (v5), Metro (WPF) or SilverLight (v5):

TaaaS

The VM Dispenser technology can spin up a scalable amount of test agents in the cloud and deploys the necessary components (app/web server builds / test agents (using either QT/BlueStack/Hyper-V) communicating over http (WCF/WebServices)

CloudExecution

Test environments are either saved to persistent storage or spun down (PAYU) hybrid cloud model (public/private/community)

Option C – High Volume Mobile Automated Testing (HVMAT) in the cloud with real mobile devices using Microsoft Test Manager and powered by PerfectoMobile

CloudMobileAutomation

Test execution is managed by Microsoft Test Manager (2012.3/2010.2) through test agents technology:

ComboRealDevices

Further information can be found at ‘Test Automation as a Service‘ website