What is new in Sahi Pro v11.2.0.0
abstract
Sahi Pro v11.2.0.0 is a minor release with features and improvements primarily in Sahi Pro Flowcharts.
Key Features
Merge Conflict in Flowcharts
It is prudent to version control your automation artifacts, thus facilitating collaboration. However, at times you also need to resolve Merge Conflicts. Sahi Pro's Diff and Merge UI provides an intuitive user interface to visualize differences between automation artifacts as well as enabling users to easily resolve Merge Conflicts in Flowcharts.Environment based Datasets
You would want to verify your application in multiple software environments like Quality Assurance, Staging, User Acceptance Testing, Production Environment, etc. Consequently, you would want to run a flowchart/project with different data for different environments without modifying this flowchart/project for each environment. You can achieve this by using Environment based Datasets to override datasets and use different data based on the execution environments.Controlling Branch Flow with Sub-Label Grouping
Now, a new provision Sub-Label Grouping is introduced to control the branch flow without adding a condition. Sub-label groups are used to ensure that paths follow specific branches only. Sub-label groups are useful when a flowchart branches, converges and then branches again.Dependency at Flowcharts Level
When running a Project, you may need a specific flowchart to run successfully before running another flowchart. For example, in a shopping cart application, we would want the "Create Product" flowchart to run successfully before running the "Checkout" flowchart. For this, you can now define a dependency between different flowcharts using the Flowchart Dependency feature.Add Data / Loop Boundary on Node
You can now data drive multiple nodes together by attaching a Dataset. For this, you can define the start and end boundaries for the Dataset at the Node level. This will facilitate running all the Keywords within this start and end boundaries in a loop for all rows of the dataset. Refer here for details.Improvements
- At node level, the Data source and Dataset can be dynamically set by using an external variable. You can also define a variable inside another dataset to specify the Data source and Dataset at the node level. Refer here for details.
- Additions to Flowcharts Controller
- Clicking on
List Properties
button on the Controller, lists all the properties of the UI Element. Now, you can also create a UI element by selecting any one of the listed properties as identifier for this element. Refer here for details. - Added
Get Text
,Get Value
,Exists
andIs Visible
actions in Quick Actions of Flowcharts Controller - Now, Sahi Pro also detects blob URL based file downloads, and automatically saves them. The downloaded files can be worked upon using actions for File Download.
- Application server may specify the name of the file to be downloaded in the
Content-Disposition
response header. If this file name is specified as percent-encoded, now Sahi Pro will percent-decode it before saving the file to the file system. - Improvements in Add Step dialog
- Double-clicking a step parameter in the
Add Step
dialog enables String / Code mode. - Added
Has Value
checkbox in Add Step dialog to execute step only if value step parameter has non-empty data. - Fixed: The auto-suggestion list for Actions in the
Add Step
dialog fails to populate custom functions following a metadata refresh. - Improvements in Scenario files
- On failure of a scenario running from dd.csv, you would want to run the complete scenario in the failure suite run. You can do this by disabling userdata property
suite.retry_only_failed_testcases_for_scenario
. - While using Data Drive in Scenario, now data file and data label can be set from variable as well.
- Performance improvements for scenario files and data files in Scenario Editor
- In browser automation, now Native Events based actions will also work on systems with more than 100% screen scaling.
- Modified Custom Function behavior to pass only attribute data when an entity object is used as a parameter, removing unnecessary entity metadata.
- Improved performance of opening project, flowchart and automate dialog.
- Added
.gitingonre
and.gitattributes
files in project folder while creating a new project in-order to handle line ending for json and csv files for different operating system. - Fixed: Unable to load a specific project with errors in artifacts.
- Auto-suggested Entity and Attribute names based on UI Element under
Extract To
column in Quick Extract dialog. - Sahi Pro automatically waits for page loads and ajax activity. Thus, Sahi Pro also waits for the URLs that match the patterns added to
<Sahi_Installation>\userdata\config\streaming_urls.txt
and<Sahi_Installation>\userdata\config\passthrough_ws_ssh_domains.txt
. - To bypass a specific URL from Sahi Pro's automatic waiting mechanism, use action By Pass Wait Mechanism
- To bypass streaming URLs from Sahi Pro's automatic waiting mechanism, enable userdata property
sahi.auto_wait.bypass_streaming_urls
. - To bypass passthrough domains from Sahi Pro's automatic waiting mechanism, enable userdata property
sahi.auto_wait.bypass_passthrough_domains
.
New Actions
- Key Press Native: It simulates a native keypress event.
- Skip Screenshots: Screenshot capturing can be skipped using this action.
- Skip Screenshots Comparison: Screenshot comparison can be skipped using this action.
- Set Authentication: Adds credentials to authenticate user for the specified HTTP authentication scheme and realm.
Modified Actions
- Style: Added
$pseudoEl
parameter to fetch style attributes from pseudo-elements like::before
,::after
, etc.
Bug Fixes
- Fixed:
Run Till Here
andRun This
failed on keywords following dynamic conditions when theelse
branch was empty. - Fixed: Unable to use
Run Till Here
when automating Java applications. - Fixed: Step and keyword overrides were not applied when running tests from the Flowchart or Project level.
- Fixed: When running from Project or Flowchart level, custom functions fail to execute if a keyword is reused across multiple paths within the Flowchart.
- Fixed: Node operations
add, remove, paste
are causing path data to be lost. - Fixed: When validations are disabled, both positive and negative validation flows still execute for a path during an Ant run.
- Fixed: If artifact name or its content contains special character then its Flowcharts UI is getting distorted.
- Fixed: The positions of JSON attributes are getting interchanged in the JSON file after updating artifact. So JSON files show unnecessary changes in Git.
- Fixed: Empty values at end of dataset row is not picking up while running path from Automate dialog.
- Fixed: UI Element is not visible correctly in Screen and Entity if UI Element identifier has single quote.
- Fixed: Step with
Is Check
api and Assert step type is failing if assertion value is passed from Dataset. - Fixed: Unable to automatically download files on clicking specific HTML link elements containing download attribute.
- Fixed: The script generated from the Rest Client is missing the request body when an XML body is provided.
- Fixed: Tests are not executing on specific node configured with node tag, when tag is provided in prerequisites
- Fixed: Unable to set value in a specific text box that accepts only numbers.
- Now, action Is Enabled will fail if the specified element does not exist.
What is new in Sahi Pro Desktop Add-on v11.2.0.0
- No changes.
What is new in Sahi Pro Mobile Add-on v11.2.0.0
- No changes.
What is new in Sahi Pro SAP Add-on v11.2.0.0
- No changes.
What is new in Sahi Pro AI Assist Add-on v11.2.0.0
Improvements
- AI Assist Add-on now supports automating on ARM based macOS systems.