Tricentis Test Automation for SAP integrated with SAP Cloud ALM

Connection, reusing modules and Buffering values.

In today’s fast-paced digital landscape, optimizing cloud-based workflows is essential for maintaining efficiency and productivity. Since it’s been a while since my last post, I wanted to share some new tips I’ve recently discovered with you.This blog is going again into key tips for using TTA Cloud, focusing on its connection to SAP Cloud ALM, the reuse of modules, and the effective use of the output function. By understanding how to use these options, you can ease your way into the tool, and make the most out of TTA Cloud’s capabilities. Let’s explore how these tips can enhance your cloud experience.

The topic that will be discussed in the Blog:

  • How is TTA Connected to SAP Cloud ALM?
  • How to reuse modules
  • How to use the output function ?

How is TTA Cloud Connected to CALM?

When discussing the connection between the Agent and SAP Cloud ALM, it’s important to highlight that this integration uses advanced technologies like SignalR (WebSocket) and HTTPS to ensure real-time and secure communication. SignalR is particularly beneficial for creating applications that require frequent updates from the server without constantly polling, which is crucial for maintaining efficient and secure connections between TTA Cloud and SAP Cloud ALM.

SignalR simplifies adding real-time web functionality by allowing bidirectional communication between client and server. In this setup, when installing the team agent via the command line, sensitive keys are needed to establish a secure connection. These keys must be handled with care, ensuring they are kept secure on the client side. Once the agent is successfully connected to SAP Cloud ALM, TTA employs encryption methods to maintain the security of the connection. This means that customers do not need to store these sensitive keys after the connection is established, reducing the risk of potential security breaches.

This setup not only ensures the integrity of data being transmitted but also simplifies the user experience by automating the security processes involved in maintaining a secure connection. The use of SignalR allows for a smooth and continuous data flow, which is essential in environments where real-time updates are critical.

In summary, the combination of SignalR and HTTPS ensures a secure, reliable, and efficient connection between the Agent and SAP Cloud ALM, handling sensitive information with the highest security standards. This allows businesses to focus on their core operations without worrying about the complexities of maintaining a secure communication channel.

A tip for reusing modules effectively

Reusing modules can ease your workflow, especially when dealing with similar Apps. In SAP Cloud ALM for example, for me a similar page that comes to mind is the similarity of the tabs between creatinging a Task, a User Story, a Requirement or a Feature. All  start with a Title, Text format and Additional information is pretty similar. In this case obviously you don’t want to rescan over an over same tabs.

Example:

Suppose you have scanned a User Story creation and want to use this module for Tasks, Requirements, and other pages. Follow these steps:

  1. Open the already scanned module enter the edit mode.
  2. Delete the current Tab Title from the the “Indentification value” box and add below command: {REGEX[Tasks|Requirements|3rdtab|…etc]}. Add all the tab Titles you need this module for.

3. Save the module and re-use now the module.

Tip: To get the correct tab name, hover over the browser icon, and use the name displayed in full or just the first word followed by the star symbol.

How to Buffer (Copy and Paste) Values with TTA Cloud

When handling different processes, you might need to save the Document Number to use it later on for the creation of other Documents  (Example: the Purchase Requisition number for the creation of a Purchase Order). This can be achieved through buffering.

There are two ways to do this:

  • Using Action mode Output
  • Using Tosca Command

Action Mode Output

Using Output is simpler as it avoids the need to remember specific Tosca commands.

To Copy use the Output function and assign a name to the variable. For example, to copy the title of a Task in the example below I named my variable: e.g., “123”.

To Pasteuse the Keyboard Standard command and refer to the variable name within curly brackets.

Using commands from Tosca:

Alternatively, you can use Tosca commands:

  • To buffer the value, use the command {XB[VariableName]} with the action mode set to verify.
  • To use the value, use the command {B[VariableName]} with the action mode set to Input.

Conclusion

In conclusion, effectively leveraging the capabilities of Tricentis Test Automation (TTA) for SAP Cloud ALM can help your testing processes. By understanding how to establish secure, real-time connections using technologies like SignalR and HTTPS, reusing modules efficiently, and employing output functions for buffering values, you can enhance productivity and ensure robust testing outcomes. Feel free to reach out with any additional topics you’d like to explore.


Avatar photo

Delia Barabasy

Delia works as an ALM Consultant and has expertise in various ALM topics. She has experience in various SAP areas and specializes in test management and test automation.

blueworks Logo

Certified
Business Transformation
Professionals.


© blueworksgroup 2024. All rights reserved.

blue.works® and alm360® are registered trademarks in the European Union and Switzerland.
SAP is a registered trademark of SAP SE.