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

Tip of the Day 1

Tip 1 During automation, try to target the complex tasks at the end. It is important to note that 100% test automation may not be possible. Targeting the complex tasks at the end helps to proceed quickly. How to Do This 1. Assess and identify specific screens or areas which could be difficult to automate. […]

Tip of the Day 10

Tip 10 Execute Faster on Windows Application by Ignoring Elements How to use this Tip? 1. To find an element during Playback on a Windows application, Sahi Pro internally iterates through all the elements on the application screen. 2. This iteration can be made faster by ignoring the hidden and/or disabled elements in your application. […]

Tip of the Day 11

Tip 11 Easily Automate File Downloads in Sahi Pro How to use this Tip? Sahi Pro automatically detects file downloads triggered from your web application. These downloads are saved to <Sahi Pro>/userdata/temp/download directory. You can use Action ‘Save Downloaded As’ to save the file to a desired location. How does this help you? While downloading […]

Tip of the Day 2

Tip 2 Create modular and reusable automation components. How to Do This 1. Divide your automation tasks into separate automation components (script files, functions, etc.). 2. Asses and identify reusable components. 3. Ensure your team reuses the existing reusable components. How does this Help you 1. Modular scripts facilitate parallel execution. 2. It is easier […]

Tip of the Day 3

Tip 3 Usage of _resource() API How to Do This 1. Use _resource() API in the script/scenario while, while doing a distributed run. 2. While doing a distributed run, only the script/scenario in a suite will be zipped and sent to the nodes. 3. Other files(.csv,.sah, etc) that take a part in the script/scenario need […]

Sahi Pro supports Microsoft’s new Chromium-powered Edge browser

Microsoft has been rebuilding its Edge browser on Chromium. Both Microsoft and Google engineers have been working together to improve the underlying Chromium project so that Chrome and Edge browsers run better on Windows. Microsoft has been testing versions of their all-new Chromium powered Edge browser internally and is about to release it publicly soon. […]

Sahi Pro: much more than an automation tool

Everyone understands that software testing plays an important role in the overall quality of the product. When we test software, we would expect the teams to test on as many different quality criteria as possible, especially when we would like to expose the risks associated with different quality criteria. Gone are the days when something […]

Sahi no longer needs waiting for AJAX calls

The new release of Sahi (Sahi Nightly 2001-10-11) automatically waits for AJAX responses to complete before proceeding. This removes the need to add AJAX request url patterns to exclude_inject.txt Sahi accomplishes this by waiting for XHR requests to complete before it proceeds to its next step. It already used to wait for frames and iframes. […]