Salesforce module

The technology-specific module for testing Salesforce applications is the SfWaitForBusyIndicator module. It can pause test execution while a Salesforce default or custom busy indicator is visible on the screen. Test execution continues after the busy indicator disappears. This ensures that your application has loaded all of its controls before test execution resumes and all pending operations with busy indicators are complete.

Value

Description

CssClasses

Optional. CSS class is used to identify the waiting element. SfWaitForBusyIndicator waits until the element specified in CssClass disappears.

If the busy indicator on Salesforce uses custom CSS classes, enter the name of your CSS class. For example, .customBusyIndicator.

If your busy indicator uses multiple CSS classes, separate them with a comma. For example, .customBusyIndicatorCircle, .customBusyIndicatorLocal.

If you specify a CSS class, Tosca Cloud searches for the default CSS classes and custom CSS classes.

Timeout

Optional. Defines the timeout for SfWaitForBusyIndicator in milliseconds. The default values is 30000, that is 30 seconds.

ContinueOnFailure

Optional. If set to True or empty, test step is successful and test execution continues in case of timeout or any other failure.

If set to False, test execution fails after the timeout value exceeds.