- 3 Minutes to read
- Print
- DarkLight
- PDF
ScriptBuilder Setup
- 3 Minutes to read
- Print
- DarkLight
- PDF
The Panaya ScriptBuilder allows you to record, edit, and debug your automation scripts. The test authoring automation expert typically performs this setup.
Important!
To be able to install and use the Script Builder, at least one automation user must be defined for your Panaya account.
ScriptBuilder Prerequisites
The ScriptBuilder must be set up on a machine with the following -
Operating System - Windows 10 or 11, 32-bit or 64-bit (recommended) system. macOS is not supported, instead, use a Windows virtual machine with the prerequisites listed here.
Operating system administrator permissions
CPU - at least dual-core, 2.0 GHz or higher. Pentium or Celeron processors are not supported.
RAM - 4GB minimum, 8GB recommended.
Network - a powerful network connection for effective test run executions.
Application Under Test
The ScriptBuilder can run the application under test on one of the following supported browsers -
Google Chrome
Microsoft Edge (based on Chromium)
Download and Install
To download and install the ScriptBuilder -
Click on the Settings button to open up the Settings panel.
In the configuration page, scroll down to the Test Automation section and click on the Installer for the ScriptBuilder to download the installer file locally. This installer .msi file should be run for those expected to record automated scripts. Operating system administrator permissions are required to complete the setup.
Run the ScriptBuilder.msi file and follow the installation wizard until its final step.
To launch the scriptBuilder, open up an Automated Test, select the Script tab and click on the Open ScriptBuilder button to initiate the scriptBuilder.
ScriptBuilder Settings
To define the ScriptBuilder settings, open ScriptBuilder from any script and click the menu button > Settings.
Default script settings
This is where you can define the default settings for the date format, timeout, and supported applications. The default setting will apply to any newly created and recorded script. If you wish to override the default settings for a specific script, use the Script Settings option.
Date Format
This date format setting will define how scriptBuilder inputs dates selected in date pickers into your recorded script. Selecting a date format that matches your AUT date format is recommended.
Timeout (min)
The timeout setting defines the maximum time a script should run on an agent. If the time exceeds the limit, the agent will stop the run and mark it as failed.
Supported applications
For supported applications, you can select from three options: Web Browser, SAP GUI, and Web Browser + SAP GUI. The Script Settings option allows you to override the default settings for a specific script.
AI playback self-healing
SciprtBuilder is equipped with a powerful self-healing mechanism. When locators fail to properly identify the target element, our smart engine can use AI for the instruction description as a fallback method, allowing it to intelligently locate the element when locators fail.
This innovative approach significantly enhances script stability and reduces the need for maintenance by automatically adapting to changes in the application's UI.
When self-healing is activated and utilized, an ‘AI locator’ note appears for AI-passed instructions.
Good to Know!
To enable AI self-healing, contact Panaya Support.
SAP logon exe path
Panaya predefined the SAP logon exe path, which should be directed to the location of sapshcut.exe. You can override the path if necessary.
The path appearing here will determine the path used for the connection instruction in the script.
Learn more about SAP Connections.
Show ScriptBuilder always on top
Select Yes if you wish the script builder to always stay on top of any other window in your operating system.
Script Settings
To define the script settings, open ScriptBuilder from the relevant script and click the menu button > Script Settings.
Use the script settings to override the default scriptBuilder settings for specific scripts. When saving the script, the script settings will be kept.
Check for Updates
When a new ScriptBuilder version is available, you will be prompted with an option to install the new updates. Operating system administrator permissions are required to complete the setup.
To check for new ScriptBuilder updates, click the menu button and select About. Then click on Check for new updates.