Remote Launch Overview Test Automation Integration for Spira

  • Slides: 21
Download presentation
Remote. Launch - Overview Test Automation Integration for Spira. Test® and Spira. Team® ©

Remote. Launch - Overview Test Automation Integration for Spira. Test® and Spira. Team® © Copyright 2006 -2017, Inflectra Corporation Page: 1

Contents Test Automation Overview n Remote Launch Walkthrough n Setting up Spira. Test /

Contents Test Automation Overview n Remote Launch Walkthrough n Setting up Spira. Test / Spira. Team n Overview of Available Plugins n © Copyright 2006 -2017, Inflectra Corporation Page: 2

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

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. n They typically supplement manual testing which is more efficient at the testing of new features and capabilities. n For complete test coverage you need to perform the same automated tests across a complete spectrum of platforms, browsers, devices and environments. n Using Remote. Launch® with Spira. Test / Spira. Team allows you to manage the automated testing process. n Track the automated tests against the project’s requirements n Have a holistic view of manual and automated testing n © Copyright 2006 -2017, Inflectra Corporation Page: 3

Test Automation Architecture n You install Remote. Launch on each computer (called a host)

Test Automation Architecture n You install Remote. Launch on each computer (called a host) that will be running automated tests, for example: Host #1 Windows 2008 IE 8. 0 Remote. Launch® Host #2 Windows Vista Mozilla Firefox Remote. Launch® Manual Tester #1 Manual Tester #2 Spira. Test® Repository Host #3 Ubuntu Linux Google Chrome Remote. Launch. X® © Copyright 2006 -2017, Inflectra Corporation Manual Tester #3 Page: 4

Test Automation - Installation Install Remote. Launch® on each of the automation hosts that

Test Automation - Installation Install Remote. Launch® on each of the automation hosts that will be running automated tests n Install the appropriate plugins for the different automation engines that will be running on that host n n Configure the plug-in if necessary Assign a unique name (called the token) to the host n Point the instance of Remote. Launch to your Spira. Test server and set the polling interval n Installation © Copyright 2006 -2017, Inflectra Corporation Page: 5

Test Automation - Configuration n Create the list of automation hosts inside Spira. Test

Test Automation - Configuration n Create the list of automation hosts inside Spira. Test n n Create the list of automation engines inside Spira. Test n n Should include all computers have Remote. Launch installed Should include all the automation engines that have a plug-in installed inside Remote. Launch Test that all instances of Remote. Launch can connect to Spira. Test Installation Configure © Copyright 2006 -2017, Inflectra Corporation Page: 6

Test Automation – Test Scripts n Either create new test cases in Spira. Test

Test Automation – Test Scripts n Either create new test cases in Spira. Test or reuse existing manual test cases for test automation: Select the automation engine that will be used for the script n Either upload the script into the test case or provide a link to it n n Add parameters to the test case n n 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 Spira. Test Installation Configure © Copyright 2006 -2017, Inflectra Corporation Test Script Creation Page: 7

Test Automation – Test Scheduling Create one or more test sets in Spira. Test

Test Automation – Test Scheduling Create one or more test sets in Spira. Test to hold the automated test cases n Add the automated test cases to the test set and if appropriate specify the parameter values to pass to the test case n Specify the automation host that will run the test set and what date/time it should be executed n Installation Configure © Copyright 2006 -2017, Inflectra Corporation Test Script Creation Test Scheduling Page: 8

Test Automation – Test Execution Remote. Launch instances will periodically contact the Spira. Test

Test Automation – Test Execution Remote. Launch instances will periodically contact the Spira. Test server to see when the next test needs to be executed n When the planned date/time of the test set is reached, Remote. Launch will activate, launch the test automation tool, capture the results and transmit back to Spira. Test n The testing results are stored in Spira. Test and the test status of the test cases and requirements will be updated n Installation Configure © Copyright 2006 -2017, Inflectra Corporation Test Script Creation Test Scheduling Page: 9 Execution

Remote. Launch Walk-Through © Copyright 2006 -2017, Inflectra Corporation Page: 10

Remote. Launch Walk-Through © Copyright 2006 -2017, Inflectra Corporation Page: 10

Installation and Configuration n Install Remote. Launch on each of the automation hosts n

Installation and Configuration n Install Remote. Launch on each of the automation hosts n Specify the Spira. Test server to connect to n Configure the polling interval and other execution parameters © Copyright 2006 -2017, Inflectra Corporation Page: 11

Status Display n The Status tab will display the current status of Remote Launch:

Status Display n The Status tab will display the current status of Remote Launch: Idle n Executing a test n Paused n n You can force Remote. Launch to immediately launch a test set in its queue before the planned date/time © Copyright 2006 -2017, Inflectra Corporation Page: 12

Test Execution Engines n The plug-ins for the different test automation engines should be

Test Execution Engines n The plug-ins for the different test automation engines should be copied into the “extensions” folder n The plug-ins will be displayed in the “About Spira Remote. Launch” dialog box n You can configure plug-in specific parameters inside Remote. Launch © Copyright 2006 -2017, Inflectra Corporation Page: 13

Remote. Launch. X – Cross-Platform Automation n In addition to Remote. Launch® that runs

Remote. Launch. X – Cross-Platform Automation n In addition to Remote. Launch® that runs on Microsoft Windows, there is Remote. Launch. X™ that is written in 100% Java and can be used on: Linux (Ubuntu, Redhat, etc. ) n Mac OS X n Any platform that can run Java 1. 7+ n #This file contains the configuration data used by the Remote. Launch-X #Spira connection information server-url = http: //vm-win 2012 r 2/Spira. Team server-login = fredbloggs server-password = Please. Change #The automation host token host-token = My. Host 1 #The regular expressions for each of the possible execution statuses pass-regex =. * fail-regex =. *(Error|Fail|Fatal). * caution-regex =. *(Warning|Caution). * blocked-regex =. *(Blocked). * © Copyright 2006 -2017, Inflectra Corporation Page: 14

Setting up Spira. Test / Spira. Team © Copyright 2006 -2017, Inflectra Corporation Page:

Setting up Spira. Test / Spira. Team © Copyright 2006 -2017, Inflectra Corporation Page: 15

Test Automation Engines - Configuration The various automated test engines that will be used

Test Automation Engines - Configuration The various automated test engines that will be used in Spira. Test need to be configured to match the plug-ins installed in Remote. Launch. © Copyright 2006 -2017, Inflectra Corporation Page: 16

Test Automation Hosts - Configuration The automated test scripts managed in Spira. Test /

Test Automation Hosts - Configuration The automated test scripts managed in Spira. Test / Spira. Team 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 Remote. Launch ® that is pointing o the central Spira. Test / Spira. Team server. © Copyright 2006 -2017, Inflectra Corporation Page: 17

Test Cases – Attaching Scripts You attach test automation scripts to existing test cases

Test Cases – Attaching Scripts You attach test automation scripts to existing test cases in Spira. Test / Spira. Team. The results of the test execution will be reported back as automated Test Runs in Spira. Test / Spira. Team. © Copyright 2006 -2017, Inflectra Corporation Page: 18

Test Sets – Scheduling for Automation You can organize the test cases into test

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 Spira. Test will simply use the first available machine. © Copyright 2006 -2017, Inflectra Corporation Page: 19

Available Engines © Copyright 2006 -2017, Inflectra Corporation Page: 20

Available Engines © Copyright 2006 -2017, Inflectra Corporation Page: 20

Automated Functional Testing Tools Remote. Launch® can integrate with a variety of automated functional

Automated Functional Testing Tools Remote. Launch® can integrate with a variety of automated functional and load testing tools. n Functional Testing: n n n n HP Unified Functional Testing (UFT) Selenium Web. Driver & IDE Smart. Bear Test. Complete® and Soap. UI Froglogic Squish® Testing. Anywhere Ranorex Performance/Load Testing: HP Load. Runner® n Neotys Neo. Load® n Apache JMeter n © Copyright 2006 -2017, Inflectra Corporation Page: 21