Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
Delia_Barabasy
Explorer
0 Kudos
612

Desktop automation in the Cloud: SAP GUI

 

Screenshot 2024-03-26 at 15.51.10.png

TTA Cloud enables Test Automation with Desktop Applications such as SAP GUI. We’ve reached a milestone that many of us have been looking forward to. Without venturing into fantasy, much like the worlds Hayao Miyazaki, I can understand the collective anticipation for this update and happy to announce it. I have cleaved up, tested the new features, created the first Test Case and I am here to share my insights from my experience with you.

This blog aims to update you on TTA Cloud latest features, SAP GUI included and as last time a few helpful tips.

 

What’s new?

User Interface

Firstly, let’s discuss the User Interface change to the tool. You’ll be pleased to notice that Tricentis replaced the Command Line Interface with a much more user-friendly Interface. It looks like this now:

 

Screenshot 2024-03-27 at 10.02.57.pngScreenshot 2024-03-27 at 10.03.10.png

 

Reusable test steps

Another notable new feature is the Reusable test steps (below a tip on how to re-use modules). This feature simplifies the process of re-using modules, making test automation even more efficient.

Screenshot 2024-03-27 at 10.04.18.png

The documentation provides clear instructions for creating the Reusable test steps without difficulties. One useful point to mention here is the reusable modules. Make sure you make necessary changes into the Identification value.

Just to give you an example. Let’s say you scanned the “Title” box in a User Story in SAP Cloud ALM and you will want to reuse this module for Features as it has the same HTML element. It's important to modify the Identification value appropriately when reusing the module. Those of you who know Tosca might just put a star under Identification Value where the Title of the tab is identified as “User Story” but note it won’t work with TTA Cloud. Here, it requires the REGEX command (For this example: {REGEX[User story|Tasks]} ) Those of you who don’t have experience with reusing modules: the reason it won’t work is because the tab name changes when and the system is looking for the tab “User story” in our example.

 

Scanning – what’s new?

Screenshot 2024-03-27 at 10.04.36.png

Yes, there it is, Windows application. Once you start to scan, you will have the option to scan a Windows application or a Web browser.  Note that while you can scan other applications than SAP GUI the modules won’t work. To use those modules, you need to upgrade your subscription.

Screenshot 2024-03-27 at 10.04.51.png

 

SAP GUI – no prior configuration needed!

Now, let’s jump into the highlight: SAP GUI Automation. My experience has been positive, offering a straightforward and intuitive process. To me, the coolest feature here is that you don’t need prior configuration to start unlike with Tosca which saves you time. This aspect is particularly appealing to those who, like me, prefer simplicity in tech tools. Another notable feature is the standard modules ready to use that can be found on the left menu.

Screenshot 2024-03-27 at 10.05.20.png

The SAP Modules are designed for ease of use, I had more issues installing SAP GUI on my virtual machine than getting the automation going. (See the note below). Everything I had to scan went without issues so far hence the reason you don’t need Scan by image - a feature I've grown fond of. While for now I didn’t test it exhaustively, the first tests look good. I intend to work more with it and share a more detailed experience with more tips.

Note for those freshly installing SAP GUI: For my first test I had to install SAP GUI. With the first run I got this error in TTA Cloud ” Retrieving the COM class factory for component with CLSID {632F45 …. REGDB _E_CLASSNOTREG)).”  Though in SAP GUI I didn’t get the error while repeating the steps manually I was getting it with TTA Cloud. Please follow this documentation to solve this.

Tricentis offers comprehensive documentation on using the SAP Modules. As seen in the picture above you have enough modules to get you started on a test without even scanning. I made some print screens below so you can have an idea and also made an example for some of the modules.

SAP Logon Module. Very straight forward. To get the link path, right click on your SAP Logon Icon on your Desktop and choose Copy as path. In case you want to login with User-ID and Passwort you leave the “Bypass SSO” to False which is also the default.

Screenshot 2024-03-27 at 10.05.36.png

SAP Login. In the example below I skipped the Language and the Client as I only had one client and I didn’t want to change the Language hence the System takes the default ones.

Screenshot 2024-03-27 at 10.05.51.png

SAP Toolbar. As you can see below it has all the options from the Toolbar. I have used only the Transaction and the Enter command.

Screenshot 2024-03-27 at 10.06.13.png

 

A short video of the Automated Test case run:

 

 

Conclusion

From my initial experience, TTA Cloud's latest updates proves to be intuitive and straightforward, enhancing the efficiency of test automation. As I continue to look into these features, I look forward to sharing more insights and tips. For a glimpse into future developments and to satisfy your curiosity about upcoming features, I encourage you to consult the SAP Roadmap a great resource for planned new features.

 

 

 

 

 

 

 

 

 

Labels in this area