Cross Platform Test Automation: Sahi Pro Web, Java, and API

A cover image of a blog that talks about Cross Platform Test Automation: Sahi Pro Web, Java, and API. The image represents unified test automation across web applications, Java desktop clients, and APIs, enabling end-to-end validation of enterprise workflows through a single test script and execution framework.

TL;DR Your regression suite passes on Teamcenter, Windchill, or ENOVIA, yet production defects keep surfacing at the exact point where a web portal hands off to a Java thick client or fires an API call. Cross platform test automation is the missing piece, because PLM spans web, Java, and API layers, and most tools only […]

ZK testing with Sahi

Joseph Neuhaus has written a detailed article on testing ZK applications with Sahi. The article explains how to run Sahi tests headless on a linux machine.Excerpts from the well written, thorough article:If you have attempted to create browser-based functional tests with Selenium, or load tests using Grinder, then you will marvel at the simplicity of […]

Why Sahi Pro is much more than Record & Playback !!!

Why Sahi Pro is much more than Record & Playback !!! We associate few experiences to some phrases. The phrases immediately trigger back the memories to us. Some famous phrases in the realm of test automation include “100% testing”, “XPATH”, “record and playback”, “GUI Testing”, “Assertions”. One such phrase associated with strong reactions is “Record […]

Unveiling Sahi Pro 11 in 2024 – From Founder’s Desk Series 1

A Lot Happened Over the Past Year We played with 2 angles. One was to work with enterprises to solve complex problems involving flows across Web, Desktop, SAP etc., using Sahi Pro 10. These were problems not solvable by other tools and our POCs were promising. The other angle was to focus on start-ups and […]

Tip of the Day 9

Tip 9 Easily switch between multiple applications during Playback How to use this Tip? In your automation processes, you may need to switch between different types of applications like Browser, Windows, SAP GUI, Mobile, etc. In such scenarios, you can use _setMode API to set the current mode during playback. Example: You may want to […]

Tip of the Day 8

Tip 8 Prefer Conditional Waits over Static Waits How to use this Tip? 1. Sahi Pro automatically waits for page loads and ajax activity. Consequently, there is no need for adding wait statements in most cases. 2. However, in rare cases (e.g Page has loaded but all elements are not rendered) where wait is required, […]

Tip of the Day 7

Tip 7 Optimize Email Reports sent at the end of your Playback. How to Optimize? 1. Enable email reports only for specific test statuses like Failure, Error and Aborted. In Editor, open Advanced Playback settings. Under “Send Email Reports”, choose “Failure” status in dropdown “Send on”. 2. Disable sending attachments in Sahi Pro Email Reports […]

Tip of the Day 6

Tip 6 Use relational APIs to identify elements. How to Do This? 1. Let’s say, Element1 does not have a unique identifier. Identify another element, let’s say Element2, with a unique identifier. Element2 must have a relation like under/above/right/left/in/near with Element1. 2. Then in the Sahi Pro Controller, click on the anchor button. 3. Next […]

Tip of the Day 5

Tip 5 Use Business Driven Test Automation to Start Early and Finish Faster How to use BDTA? 1. Define the flow in your Language like English, German or Dutch. 2. Define the flow using Keywords like Login, Add Books etc. 3. Optionally, add parameters as applicable. (Eg. Login: Username, Password). 4. Use the Run/Record feature […]

Tip of the Day 4

Tip 4 Use of _setSelected() API Where it is Used? This API facilitates the selection of drop-down option(s). How to Use this API? If the element is recognized using _select() for the select drop-down, employ the _setSelected() API to choose one or multiple options. For elements identified with _div(), _span(), _listItem(), etc., utilize the _click() […]