Integration between NeoLoad and Tricentis Tosca
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Properties
addOn
client
listener
screenshots
settings
.gitignore
LICENSE
NeoLoadAddOn.csproj
NeoLoadAddOn.csproj.user
NeoLoadAddOn.sln
README.md
app.config
packages.config

README.md

Tricentis Logo

NeoLoad Add-on for Tricentis Tosca

Overview

C# extension to integrate Tricentis Tosca with NeoLoad for SAP GUI Script maintenance. It allows you to interact with the NeoLoad Design API to convert a Tricentis Tosca SAP GUI script to a NeoLoad SAP GUI User Path or update an existing SAP User Path.

Property Value
Maturity Experimental
Author Neotys
License BSD 2-Clause "Simplified"
NeoLoad Licensing License FREE edition, or Enterprise edition, or Professional with Integration & Advanced Usage
Supported versions Tested with Tricentis Tosca version 11.3 and 12.0 and NeoLoad version 6.7.0 version 32 bits
Download Binaries See the latest release

Setting up the NeoLoad Tricentis Tosca Add-on

  1. Download the latest release

  2. Unzip in the root folder of the Tricentis Tosca installation directory (for example: C:\Program Files (x86)\TRICENTIS\Tosca Testsuite).

  3. Unblock "NeoLoadAddOn.dll" (Right click the DLL > Properties and tick Unblock).

  4. Edit the file Tricentis.Automation.Agent.exe.config in the installation directory of Tricentis Tosca:

  • In the following node, replace 0.0.0.0-5.8.1.0 by 0.0.0.0-5.8.4.0:
    <dependentAssembly>
        <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.8.1.0" newVersion="5.8.1.0" />
    </dependentAssembly>
  • Add the following nodes at the end of the assemblyBinding node:
    <dependentAssembly>
        <assemblyIdentity name="Microsoft.OData.Core" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-6.14.0.0" newVersion="6.14.0.0" />
		<bindingRedirect oldVersion="6.15.0.0-7.3.0.0" newVersion="7.3.0.0" />
		<codeBase version="6.14.0.0" href="nl-lib\Microsoft.OData.Core.dll" />
        <codeBase version="7.3.0.0" href="Microsoft.OData.Core.dll" />
     </dependentAssembly>
	 <dependentAssembly>
        <assemblyIdentity name="System.Spatial" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.8.4.0" newVersion="5.8.1.0" />
     </dependentAssembly>
  1. Relaunch the Tosca Commander.

Warning: You might need to launch both Tosca and SAP Logon as administrator in order to convert the Tosca Script to NeoLoad.

Global Configuration

Go to PROJECT > Options, to define the NeoLoad Add-on settings:

Options

Parameters:

  • NeoLoadApiPort: The port of the NeoLoad API, by default it is 7400.
  • NeoLoadApiKey: The API Key specified in the NeoLoad project when identification is required. If no identification is required, this parameter can be left blank.
  • NeoLoadApiHostname: The hostname of the machine that contains NeoLoad, by default it is localhost. It should be localhost for SAP GUI test case.

To access these values, go to the NeoLoad Preferences, then the Project settings tab, then select the REST API category.

Design API

How to convert a Tricentis Tosca SAP script to a NeoLoad SAP User Path or update an existing SAP User Path.

In Tricentis Tosca, right click on an execution of an SAP Test Case and then NeoLoad Add-on > Transfer to NeoLoad

transfer

During the execution of the Tricentis Tosca test case, if the NeoLoad User Path does not exist, it will be created. Otherwise, the existing User Path will be updated thanks to the User Path Update feature. The User Path Update feature merge the original User Path with a newer recording, copying variable extractors and variables. Below the SAP GUI User Path in NeoLoad.

user path

ChangeLog

  • Version 1.0.0 (November 30, 2018): Initial release.