Folder SAP FIORI
The folder SAP Fiori in Standard modules->TBox XEngines->Html contains the Modules that perform specific tasks for the SAP Web Extension 3.0.
SAP Message Toast
The Module SAP Message Toast allows you to verify the default name of the Message Toast or its text (see chapter "SAP Fiori Message Toast").
The Module has the following ModuleAttributes:
ModuleAttribute |
Description |
---|---|
Page Title |
Caption of the page where you want to steer a Message Toast. Tricentis recommends that you open only one page with a specific title in your browser. If you have more than one page with the same title open, close the other pages before you run the SAP Message Toast Module. This ModuleAttribute is optional. Tricentis recommends that you use this ModuleAttribute, if you want to ensure that you steer the Message Toast on the correct page. |
MessageToast |
Verify the following properties (see chapter "Verifying properties"):
|
In this example, you verify the text in the Message Toast. To do so, you specify the following ModuleAttributes:
Verify the text in the SAP Fiori Message Toast |
SAP Tile
The Module SAP Tile allows you to click a specific tile on the SAP Fiori dashboard page.
The Module has the following ModuleAttributes:
ModuleAttribute |
Description |
---|---|
Page Title |
Caption of the page where you want to steer a tile. Tricentis recommends that you open only one page with a specific title in your browser. If you have more than one page with the same title open, close the other pages before you run the SAP Tile Module. This ModuleAttribute is optional. Tricentis recommends that you use this ModuleAttribute to ensure that you steer the tile on the correct page. |
Tile Category |
Category to which the tile belongs. This ModuleAttribute is optional. Tricentis recommends that you use this ModuleAttribute to ensure that you steer the tile in the correct category. |
Tile Title |
Title of the tile you want to click. This ModuleAttribute is mandatory. |
Tile Subtitle |
Subtitle of the tile you want to click. This ModuleAttribute is optional. Use this ModuleAttribute if there are multiple tiles with the same title in the category you specified with Tile Category ModuleAttribute. |
In this example, the SAP Web Extension 3.0 clicks a specific SAP Fiori Generic Tile from Sales Orders category.
Sales Orders category with Sales Order Fulfillment tile To do so, you specify the following ModuleAttributes:
Click Sales Order Fulfillment tile in SAP Fiori |
SAP WaitForBusyIndicator
The Module SAP WaitForBusyIndicator allows you to pause test execution while a default or custom busy indicator is visible on the screen. Test execution continues after the busy indicator disappears. This ensures that all controls are fully loaded before execution resumes.
The Module has the following ModuleAttributes:
ModuleAttribute |
Description |
---|---|
Title |
Caption of the page where you want to pause test execution to wait for a busy indicator. Tricentis recommends that you open only one page with a specific title in your browser. If you have more than one page with the same title open, close the other pages before you run the SAP WaitForBusyIndicator TestStep. |
CssClasses |
If the busy indicator on your SAP Fiori page 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. This ModuleAttribute is optional. If you don't specify a CSS class, the SAP Web Extension 3.0 searches for the default CSS classes for busy indicators in SAP Fiori: .sapUiLocalBusyIndicator and .sapUIBusy. |
In this example, you want to pause test execution until the tile that you want to steer is loaded.
SAP WaitForBusyIndicator TestCase |