21
© Copyright 2006-2016, Inflectra Corporation Page: 1 RemoteLaunch - Overview Test Automation Integration for SpiraTest® and SpiraTeam®

Remote Launch Overview Presentation

Embed Size (px)

Citation preview

Page 1: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 1

RemoteLaunch - OverviewTest Automation Integration for SpiraTest® and SpiraTeam®

Page 2: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 2

Contents Test Automation Overview Remote Launch Walkthrough Setting up SpiraTest / SpiraTeam Overview of Available Plugins

Page 3: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 3

Test Automation Overview Automated test scripts are a valuable way to perform

regression testing on applications to ensure that new features or bug fixes don’t break existing functionality.

They typically supplement manual testing which is more efficient at the testing of new features and capabilities.

For complete test coverage you need to perform the same automated tests across a complete spectrum of platforms, browsers, devices and environments.

Using RemoteLaunch® with SpiraTest / SpiraTeam allows you to manage the automated testing process. Track the automated tests against the project’s requirements Have a holistic view of manual and automated testing

Page 4: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 4

Test Automation Architecture You install RemoteLaunch on each computer (called a host) that will

be running automated tests, for example:

SpiraTest®Repository

Host #1Windows 2008

IE 8.0

Host #2Windows VistaMozilla Firefox

Host #3Ubuntu Linux

Google Chrome

RemoteLaunch®

RemoteLaunch®

RemoteLaunchX®

ManualTester #3

ManualTester #2

ManualTester #1

Page 5: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 5

Test Automation - Installation Install RemoteLaunch® on each of the automation hosts

that will be running automated tests Install the appropriate plugins for the different

automation engines that will be running on that host Configure the plug-in if necessary

Assign a unique name (called the token) to the host Point the instance of RemoteLaunch to your SpiraTest

server and set the polling interval

Installation

Page 6: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 6

Test Automation - Configuration Create the list of automation hosts inside SpiraTest

Should include all computers have RemoteLaunch installed

Create the list of automation engines inside SpiraTest Should include all the automation engines that have a plug-in

installed inside RemoteLaunch

Test that all instances of RemoteLaunch can connect to SpiraTest

Installation Configure

Page 7: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 7

Test Automation – Test Scripts Either create new test cases in SpiraTest or reuse

existing manual test cases for test automation: Select the automation engine that will be used for the script Either upload the script into the test case or provide a link to it

Add parameters to the test case They can be used to change how the test script operates

Make sure that the test cases are mapped to the appropriate requirements and releases in SpiraTest

Installation Configure Test ScriptCreation

Page 8: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 8

Test Automation – Test Scheduling Create one or more test sets in SpiraTest to hold the

automated test cases Add the automated test cases to the test set and if

appropriate specify the parameter values to pass to the test case

Specify the automation host that will run the test set and what date/time it should be executed

Installation Configure Test ScriptCreation

TestScheduling

Page 9: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 9

Test Automation – Test Execution RemoteLaunch instances will periodically contact the

SpiraTest server to see when the next test needs to be executed

When the planned date/time of the test set is reached, RemoteLaunch will activate, launch the test automation tool, capture the results and transmit back to SpiraTest

The testing results are stored in SpiraTest and the test status of the test cases and requirements will be updated

Installation Configure Test ScriptCreation

TestScheduling Execution

Page 10: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 10

RemoteLaunch Walk-Through

Page 11: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 11

Installation and Configuration Install RemoteLaunch on

each of the automation hosts

Specify the SpiraTest server to connect to

Configure the polling interval and other execution parameters

Page 12: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 12

Status Display The Status tab will display

the current status of Remote Launch: Idle Executing a test Paused

You can force RemoteLaunch to immediately launch a test set in its queue before the planned date/time

Page 13: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 13

Test Execution Engines The plug-ins for the

different test automation engines should be copied into the “extensions” folder

The plug-ins will be displayed in the “About Spira RemoteLaunch” dialog box

You can configure plug-in specific parameters inside RemoteLaunch

Page 14: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation

RemoteLaunchX – Cross-Platform Automation In addition to RemoteLaunch® that runs on Microsoft Windows,

there is RemoteLaunchX™ that is written in 100% Java and can be used on: Linux (Ubuntu, Redhat, etc.) Mac OS X Any platform that can run Java 1.7+

Page: 14

#This file contains the configuration data used by the RemoteLaunch-X #Spira connection informationserver-url = http://vm-win2012r2/SpiraTeamserver-login = fredbloggsserver-password = PleaseChange #The automation host tokenhost-token = MyHost1 #The regular expressions for each of the possible execution statusespass-regex = .*fail-regex = .*(Error|Fail|Fatal).*caution-regex = .*(Warning|Caution).*blocked-regex = .*(Blocked).*

Page 15: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 15

Setting up SpiraTest / SpiraTeam

Page 16: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 16

Test Automation Engines - Configuration

The various automated test engines that will be used in SpiraTest need to be configured to match the plug-ins installed in RemoteLaunch.

Page 17: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 17

Test Automation Hosts - Configuration

The automated test scripts managed in SpiraTest / SpiraTeam can be either executed on the local machine or scheduled for execution on a series of remote hosts.The local machine and/or remote hosts must all be running an instance of RemoteLaunch ® that is pointing o the central SpiraTest / SpiraTeam server.

Page 18: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 18

Test Cases – Attaching Scripts

You attach test automation scripts to existing test cases in SpiraTest / SpiraTeam. The results of the test execution will be reported back as automated Test Runs in SpiraTest / SpiraTeam.

Page 19: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 19

Test Sets – Scheduling for Automation

You can organize the test cases into test sets, which are assigned to specific automation hosts for execution. You can either assign unique host names to each computer or use the same host name, in which case SpiraTest will simply use the first available machine.

Page 20: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 20

Available Engines

Page 21: Remote Launch Overview Presentation

© Copyright 2006-2016, Inflectra Corporation Page: 21

Automated Functional Testing Tools RemoteLaunch® can integrate with a variety of

automated functional and load testing tools. Functional Testing:

HP Unified Functional Testing (UFT) Selenium WebDriver & IDE SmartBear TestComplete® and SoapUI Froglogic Squish® TestingAnywhere Ranorex

Performance/Load Testing: HP LoadRunner® Neotys NeoLoad® Apache JMeter