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

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