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 […]

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 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 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 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 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 […]

Toggling Proxy on Browsers

One of the pain points of using Sahi is to remember to set the proxy on the browser while testing and removing it later.There are a few tools which alleviate this well.Firefox:Use Proxy Button to toggle the proxy in one click from the Firefox toolbar.Internet Explorer:Use ProxyPal to toggle proxy from the IE toolbar.Use /tools/toggle_IE_proxy.exe […]

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 […]

Stable accessors/locators using UI Relations

Identification of elements in a web interface is one of the toughest challenges of software UI automation. First came accessing by location (x,y coordinates), which quickly faded away due to window resolutions, rendering differences etc. Then came the concept of identification using code structure. XPath became hugely popular; Reasons being Automation was only attempted by […]