Tosca Execution Clients on Windows

Ensuring your Windows system meets the requirements for Tosca Execution Clients is crucial for successful test automation.


Understanding TOSCA Execution Client

TOSCA Execution Clients are script-based, allowing you to adapt the Tosca CI/CD integration to suit your needs.

These clients work with events, enabling the execution of a single Test Event or multiple test events. This can be done directly by using a PowerShell command in Jenkins that includes the information on which Test Events to execute.

To define how Tosca should handle the execution at run-time, you can add TCPs via a JSON file.

Functionality of Tosca Clients

Tosca Execution Clients are a crucial component of the Tricentis Tosca continuous testing platform, designed to facilitate the execution of automated test cases.

Here are the key functionalities of Tosca Execution Clients:

  • Automated Test Execution
  • Distributed Execution
  • Scheduling and Orchestration
  • Integration and Reporting
  • Resource Management

System Requirements for Windows

To use Tosca Execution Clients on Windows systems, you will need the following:

  • PowerShell script
  • Version of PowerShell 3.1 or newer

Please note that these requirements are applicable for Tosca Server 15.2 LTS or higher versions.

Setting up PowerShell Execution Policy on Windows is essential for running Tosca Clients smoothly.

To allow the Tosca Execution Client to run scripts, certain policies need to be set on the system where the TOSCA Execution client, namely the PowerShell script, is being executed.

To do so,

  1. Open PowerShell ISE in Admin mode
  2. Verify the execution policy for the current user to ensure it is configured as Remote Signed..

    Use the below command to check the same

     Get-ExecutionPolicy -List

  3. If the CurrentUser in the screenshot above is not identified as RemoteSigned, then execute the following commands to establish the execution policy of the current user as RemoteSigned andconfirm that the execution policy has indeed been established as RemoteSigned.

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

Get-ExecutionPolicy -List

Requirements for Setting Up Tosca Client:

  1. To use the Tosca Execution Client, refer to “Tosca Distributed Execution with AOS” for setup steps.
  2. To utilize Tosca Server with HTTPS, it is essential to possess the Client ID and client secret for authenticating Tosca Execution Clients.
    Please Follow the link for the steps to generate the token: https://documentation.tricentis.com/tosca/1520/en/content/user_management/tua_create_token.htm 
Key Considerations:
  1. To install the TOSCA server and include the Tosca Server Certificate in the Trusted Root Certification Authorities store where the TOSCA server is placed.

  2. Ensure that Jenkins is installed on your system by referring to the blog post titled “Jenkins Installation and Configuration – TOSCA.”

  3. To enable smooth operation, ToscaCI utilizes Port 8732. Simply run the following command in Command Prompt as an Administrator: netsh http add urlacl url=http://+:8732/ user=Everyone.

Test initiation guidelines for Tosca Execution Clients
  1. Go to https://github.com/Tricentis/ToscaExecutionClient and download Tosca Execution Client PowerShell Script
  2. Create a new directory in C:\<Dir Name> named Execution Client.
  3. Place the Downloaded PowerShell file (from GitHub) into the new directory on your local system

Do Reach out to us for More Information 

Reach Us

Fully Dedicated to find the Best Solutions

Driven by a passion for quality and a relentless pursuit of customer satisfaction, we inspire and empower our customers to achieve their goals and make a positive impact on the world.

Stay Informed with Our Newsletter for Exclusive Updates and Insight

© StacQua Technologies  | All rights reserved.