Skip to content
Get Free Trial

Welcome to Sahi Pro

Automate functional tests of web, Rest API, mobile, Windows desktop, Java and SAP GUI applications, all from one platform.

Sahi Pro is a mature, business-ready test automation platform for UI-heavy applications. Built on 20 years of automating complex enterprise applications, it lets anyone on your team build reliable tests without code.

Sahi waits for pages and retries steps on its own, so tests are quick to build, easy to maintain and reliable to run.

Sahi Pro
No-code automation for complex enterprise applications. Handles dynamic pages, frames, deep tables and large suites, and runs tests reliably release after release.
Sahi Pro Atlas
Sahi Pro's AI. Describe how your application should behave in plain language, and Atlas creates the tests and keeps them up to date. In the Controller, AI Suggest reads the page and authors the keyword for you.
Sahi Pro Web Engine
Sahi Pro Web Engine helps automate functional testing of web applications. It supports web application and Rest API automation. Sahi Pro Web Engine is well suited for cross-browser/multi-platform testing of complex web 2.0 applications with lots of AJAX and dynamic content.
Sahi Pro Desktop Engine
Sahi Pro Desktop Engine adds support for automating Windows desktop applications (Win32, WPF, WinForms, .NET SilverLight, XBAP, Universal Windows Platform (UWP)), Java Desktop Applications, Java Applets and Java Web Start applications.
Sahi Pro Mobile Engine
Sahi Pro Mobile Engine adds support for mobile applications. It supports automation for Native, Web and Hybrid applications on iOS and Android.
Sahi Pro SAP Engine
Sahi Pro SAP Engine adds support for automation of SAP GUI. It has been available since Sahi Pro v9.0.0.
Sahi Pro Visual Assist Engine
Sahi Pro Visual Assist automates applications using on-screen text and image recognition, automating with what's actually visible on screen rather than relying on the underlying DOM or object model. Available since Sahi Pro v10.0.0.
Sahi Pro Runner
Sahi Pro Runner can be used with Continuous Integration and build systems as both master and worker, and as a central database for reports.
01No-Code That Scales Like Code

Build tests in the No-Code Test Editor by putting together keywords named after the steps of your business process, such as Login or Create Order. Like well-written code, each part of a test has its own place, so tests stay easy to modify and maintain in the long run, which is 90% of the work in test automation.

  • Scenarios describe what a test does. A test case is made of keywords, so anything you build once can be reused in other tests from day one.
  • Keywords hold how each step works. They are kept separate from the scenarios that use them, so one change updates every test that uses the keyword.
  • Elements, such as buttons and fields, are stored once in the Accessor Repository. When an element changes in the application, you update it in one place.
  • Test data lives in .csv files or your existing Excel sheets. Parameterize tests with variables, so the same test runs for different data-based scenarios.
  • The same structure works for every technology. Web, Windows Desktop, Java and Mobile tests are all built from scenarios, keywords and the Accessor Repository, so a team learns one way of working and it scales across all its applications.
02Business-Driven Test Automation, Built In

In many teams, automation can only start once the application is ready, so tests fall behind every release. Sahi Pro is built for Business-Driven Test Automation (BDTA): you write a test in the language of the business first, and automate its steps when the application is ready. Most of the work happens before the application is built.

Before the application exists, you can:

  • Write the tests. List the business steps as keywords, such as Login, Add Books and Logout, as soon as the feature is defined.
  • Add parameters to keywords, and plan the test data each test needs.
  • Organize scenario files into test suites, and tag test cases so you can choose what to run.
  • Review the tests with the business. Scenarios read like plain test cases, so subject matter experts and managers can check them, and testers can use them as manual test cases until they are automated.
  • Let Sahi Pro Atlas write them. Describe how the application should behave, and Atlas turns it into scenario files, test cases and keywords, ready for your review. Atlas is in beta.

When the application is ready, record each keyword's steps in the Controller, or let AI Suggest author the keyword for you.

  • Write in your team's language. Keywords can be in English, German, Dutch, Chinese (Traditional) and other languages.
  • Learn more in Business-Driven Test Automation.
03Simple, Yet Powerful and Robust Object Identification
  • For web applications, Sahi does not use XPaths or CSS selectors. It has its own wrappers around the JavaScript DOM, which are simple to use and easy to maintain. Sahi also supports HTML5 custom tags, and uses similar technologies for Mobile and Desktop Automation.
  • Elements often have no IDs, and finding one inside a table or a tree usually means writing loops. Sahi identifies elements by where they sit relative to others, using relational functions like _in, _near, _under, _leftOf and _rightOf, so no looping logic is needed for tables, tree nodes and similar structures.
  • Sahi automatically traverses across frames, iframes and Shadow DOMs.
  • Supports browser popups and modal dialogs
  • For complex BFSI or B2B applications and edge cases, Visual Assist Engine allows Image Recognition and Optical Character Recognition (OCR)
04Automatic Waits

For web applications, Sahi automatically waits for pages to load and for data that loads in the background. Further, on failure, Sahi automatically retries the step a few times. In 95% of cases there is no need to add wait steps. This cuts the number of steps in a test by 50% compared to other tools, and keeps tests robust yet easy to maintain. Similar mechanisms used for mobile, desktop, Java and SAP.

05Controller and Object Spy

A Controller for the age of AI. With AI Suggest, the Controller reads the page and authors the keyword for you, so you don't have to fill in each step by hand. Build tests the same way for every kind of application: the Controller and object spy work on Chrome, Firefox, Internet Explorer, Safari, Opera (and any modern browser), Mobile (iOS, Android) and Desktop applications (Windows, Java etc.).

06An Editor for Everyone

One web-based editor for the whole team. Subject matter experts can view scenarios to check that they match the business, testers can write scenarios and tests, and engineers can work on keywords in code. Intelligent auto suggestions and refactoring make tests easy to modify and maintain. A Rest API editor is built in for working with Rest APIs and Web Services.

07Powerful Set of Built-in Functions
  • Object Identification functions for browsers, mobile, desktop and SAP GUI applications
  • Event Trigger functions for browsers, mobile, desktop and SAP GUI applications
  • Functions to work with database, Excel or CSV file for data-driven testing
  • Can directly invoke Java code from test steps. This is used to access databases, read PDF files, connect to another machine via SSH etc.
08One Test Across Web, Desktop and Mobile

In large companies, one business process often crosses several applications: an order starts in a web portal, is processed in a Windows desktop application and is approved on a mobile app. Sahi Pro stitches these together, so one test covers the whole flow without switching tools.

  • Move between Web, Windows Desktop, Java and Mobile applications within the same test.
  • Desktop and mobile come through the Desktop Engine and Mobile Engine, and work the same way as web.
09Built for Enterprise Customization

Enterprise applications always have complex, domain-specific scenarios that no-code alone can't cover. Sahi Pro has handled them for enterprises for years, and Sahi Script is always there as an escape hatch: no-code handles most of the work, and code handles the rest.

  • Sahi Script is based on JavaScript. Write keywords in it and use them in your no-code scenarios like any other keyword.
  • Call Java code from Sahi Script when you need it, for example to access databases, read PDF files or connect to another machine over SSH.
  • All automation files are plain text files, so your tests stay fully in your control. Unlike many other tools, there is no tool lock-in and no costly exit.
10Version Control with Git
  • All test files are plain text files, so every change can be tracked and reviewed.
  • Git support is built in: connect a repository, check in and check out changes, and see each file's history without leaving Sahi Pro.
  • Reports can show the Git commit details of the tests that ran.
11Integrate Easily with Continuous Integration Systems like Jenkins
  • Sahi can be configured to run tests on the Jenkins machine itself or on multiple machines in a master/slave configuration
  • Sahi need not be installed on Jenkins machine. The Sahi Pro master can be on a different machine and suites can be triggered from Jenkins. Results and reports will be sent to the Jenkins machine.
  • Sahi's execution reports can be synced to a central database where you can perform historical analysis of reports
  • Email notifications of execution status is possible at the end of execution or periodically during execution
  • Editor automatically creates the necessary Ant target for configuring the above options. This Ant target can be triggered from Jenkins.
12Secure AI with Sahi Pro Atlas

Enterprises want AI in their testing without sending their data outside. Sahi Pro Atlas supports Bring Your Own Key (BYOK), so it works within your security rules.

  • Connect Atlas to your own AI provider with your own keys.
  • Deploy Atlas in your own infrastructure, so your application data stays inside your network.
  • Learn more in Sahi Pro Atlas.
13Offline Reports for Review and Audit

Enterprises need test evidence they can review, share and keep for audits. Sahi Pro saves detailed reports as offline files, with every step, error and screenshot of a run.

  • Save reports as offline files in formats like HTML, XML, JUnit and Excel.
  • Share them with reviewers who don't use Sahi Pro, and keep them as a record of what was tested and when.
14Batch Suite Runs via Data Driven Suites

A full regression run can mean thousands of tests, each with its own data and its own place in the order. Data-driven suites (.dd.csv files) list them all in one sheet and run them as a single batch.

  • Run thousands of tests in one batch. List your tests, scenario files and other suites in a data-driven suite, and Sahi runs them all in one go.
  • Suites can run other suites. Group tests into smaller suites, for example one per module, and run them from a parent suite. Tags, the start URL and data given to the parent suite carry down to every suite and test inside it.
  • Pass data to any suite or test. Each column in the suite becomes a variable in the test, such as $username and $password, so the same test runs with different data on each row.
  • Tag tests and suites, and run only what you need. Add tags such as smoke, high or admin, then run only the tests with matching tags, for example just the smoke tests before a release.
  • Learn more in Data Driven Suites.
15Parallel and Distributed Suite Runs

A large suite can take hours when its tests run one after another. Sahi runs tests in parallel on one machine and across many machines, so the same suite run finishes in a fraction of the time.

  • Run tests in parallel on one machine. Set how many tests run at once, and Sahi opens that many browsers side by side.
  • No need to keep the browser in focus. Tests keep running in the background while you use the machine for other work.
  • Spread a suite across machines. In a distributed suite run, one machine shares out the tests in a suite to the other machines and collects all the results in one place.
  • Send each test to the right machine. Prerequisites in a data-driven suite, such as a browser, Android or a machine tag like windows10, make sure a test runs only on a machine that can run it.
  • Not just for the web. Parallel and distributed suite runs also work for mobile, desktop and SAP GUI applications.
  • Rerun failed tests automatically (Auto Retry). Tests sometimes fail because of the environment or a browser crash, not a real bug. Sahi creates a suite of only the failed tests, for example admin_failed_chrome.suite, and can rerun it before failing the build.
  • Learn more in Run Tests from the Command Line.
16Inbuilt Rich Detailed Reporting

When a suite run fails, you need to see quickly what broke and why. Sahi creates a detailed report for every run automatically and keeps it, so you can go from a summary of all runs down to the exact failing step.

  • Drill down step by step. Start from the history of suite runs, open a suite, then its scenarios and tests, and click a step in the report to reach the exact line where the test failed.
  • Screenshots on failure. Sahi takes a screenshot whenever a step fails or an error occurs, so you see the state of the application at that moment.
  • Reports in the formats you need. Download reports as HTML, XML, JUnit or Excel, or send them by email. You can also add your own fields to suite reports.
  • History in a central database. All report data is stored in a database, so you can compare runs over time. Reports can also be stored in MySQL, MS SQL Server, Oracle or PostgreSQL.
  • Network activity (optional). Show the network activity of a web application during test runs.
  • JavaScript code coverage (optional). See how much of your web application's JavaScript code your tests ran.
  • Learn more in Reports.
TechnologyWebEngineDesktopEngineMobileEngineSAPEngine
Data and services
DatabaseSupportedSupportedSupportedSupported
FilesystemSupportedSupportedSupportedSupported
Rest APIs and web servicesOAuth2 needs the Web Engine.SupportedSupportedNo OAuth2SupportedNo OAuth2SupportedNo OAuth2
Web
Web applicationsAcross browsers and operating systemsSupportedNot supportedNot supportedNot supported
Web applications on mobile browsersNeeds the Web and Mobile Engines together.SupportedTriggered from the deviceNot supportedNot supportedNot supported
Chromium Embedded Framework (CEF) applicationsSupportedNot supportedNot supportedNot supported
Flex applicationsSDK 3.4 onwardsSupportedNot supportedNot supportedNot supported
Desktop
Windows desktop applicationsWPF, Win32, WinForms, .NET, SilverLight, XBAP and other applications targeting .NET Framework 2.0 onwards; applications built with the Microsoft Foundation Class libraryNot supportedSupportedNot supportedNot supported
Java applicationsSwing, AWT and SWT, Java 1.8 onwardsNot supportedSupportedNot supportedNot supported
Java Web Start applicationsSwing, AWT and SWT, Java 1.8 onwardsNot supportedSupportedNot supportedNot supported
Java appletsSwing, AWT and SWT, Java 1.8 onwardsDetailsNot supportedSupportedNot supportedNot supported
Oracle Forms12.x onwardsDetailsNot supportedSupportedNot supportedNot supported
Mobile
Native apps on iOS and AndroidAndroid SDK 18 onwards (Android 4.3.x onwards); iOS 9.3 onwards with Xcode 9.2 onwardsNot supportedNot supportedSupportedNot supported
Hybrid apps on iOSNot supportedNot supportedSupportedNot supported
Hybrid apps on AndroidNeeds the Web and Mobile Engines together.Not supportedNot supportedPartlySome apps are identified nativelyNot supported
SAP
SAP GUI for Windows6.2 onwardsNot supportedNot supportedNot supportedSupported

Sahi supports any browser which runs javascript and allows setting a proxy. This covers almost all desktop and mobile browsers.

Browser Versions
Google Chrome 6+
Mozilla Firefox 2+
Safari 5+
Internet Explorer
(IE mode on Microsoft Edge)
8+
Opera 9+
PhantomJS 1.9+
Microsoft Edge 25+
Microsoft Edge New All
Brave All

Sahi (सही, said sa-hee) is Hindi for right, correct or apt, and in everyday speech it also means cool, as in sahi hai! (“that’s great!”).

The name is also what the tool is built to do: check that an application behaves right, without making testers fight the tool.

  • Right elements, simply. Sahi finds elements through its own wrappers around the page, not brittle XPaths or CSS selectors, and relational functions like _near and _under work even when elements have no ids.
  • Right timing, automatically. Sahi waits for page loads and AJAX activity, and retries a failing step a few times before reporting it, so scripts rarely need wait statements.
  • The Right Job. Sahi takes care of the repetitive checking and rechecking, so testers can spend their time on the creative, exploratory part of testing. See Architecture for the goals behind its design.