SAP modules

The technology-specific modules for SAP perform specific tasks for the SAP technology.

SAP ContextMenu

Steers SAP context menus.

Value

Description

ContextMenu

Path to the menu item.

Indicate nodes with ->, for instance Insert->Image.

Use x, X, or no value to select the entry directly.

ContextMenu->ContextMenuEntry

Alternatively, you can use ContextMenuEntry to specify the menu item.

SAP Login

Steers the SAP Login screen.

Value

Description

Client

Client you want to use.

User

User name of the user that should sign in.

Password

Password of the user.

Language

Preferred language.

Enter

Enter {Click} to perform a mouse click on the Enter button.

SAP Logon

Opens a SAP session, steers the SAP Logon window for instance. This is a mandatory first step if you want to steer the SAP login screen.

Value

Description

SapLogonPath

Full path to the program file saplogon.exe.

SapConnection

Name or system ID (SID) of the session that you want to connect to. You can use wildcards.

Bypass Single Sign-On

Optional and you have to add it manually.

Set it to True if the default sign-in method in your SAP environment is single sign-on (SSO), but you want to use your username and password instead.

SAP Multiple Logon License Warning

Steer the modal dialog window License Information for Multiple Logon. This dialog opens when a user attempts to sign in to the system several times.

Value

Description

Login Options

Specify what to do with the attempts to sign in.

The following values are available:

  • Continue with this logon and end any other logons in system: continues with the current log-on attempt and terminates any other log-on attempts.

  • Continue with this logon, without ending any other logons in system: continues with the current log-on attempt and leaves any other log-on attempts.

  • Terminate this logon: terminates the current log-on attempt.

Buttons

Steer the dialog box buttons.

The following values are available:

  • Confirm Selection: confirm your selection and close the dialog box.

  • Cancel: cancel your selection and close the dialog box.

SAP Statusbar

Verifies information on the SAP Status Bar and the current session.

Value

Description

Message

Message you want to verify. Use action mode Verify.

Messagetype

Message type that you want to verify.

The following values are available:

  • Success

  • Warning

  • Error

  • Abort

  • Information

Use action mode Verify.

SessionInfo

Information on the current sessions that you want to verify.

The following values are available:

  • Client

  • Flushes

  • InterpretationTime

  • Language

  • Program

  • ResponseTime

  • RoundTrips

  • SystemName

  • Transaction

  • User

Use action mode Verify.

SAP SubToolBar

Steers SAP SubToolbars.

Value

Description

SubToolBar

SubToolbar entry you want to steer.

SAP Toolbar

Steers SAP Toolbars that contain the transaction code field.

Value

Description

Transaction code

Specify the transaction code.

Buttons

Define which action you want to perform.

The following values are available:

  • Enter

  • Save

  • Back

  • Exit

  • Cancel

  • Print

  • Find, Find Next

  • First Page, Previous Page, Next Page, Last Page

  • Help

SAP TreeView

Steers SAP TreeViews.

Value

Description

MenuPath

Path to the menu item.

Indicate nodes with ->, for instance Insert->Image.

Use x, X, or no value to select the entry directly.

MenuPath->TreeMenuEntry

Alternatively, you can use ContextMenuEntry to specify the menu item.

Docked Tree-Menu

Path to the menu item that you want to select on a docked TreeView.

Depending on the Technical ID of a TreeView, use either MenuPath or Docked Tree-Menu. The default value is MenuPath.

SAP Logon - Open with Solution Manager

Opens multiple SAP connections during test runs.

Value

Description

SapLogonPath

Full path to the SAP Logon GUI.

SapConnection

Name of the session you want to connect to.

SAP Emulated Tree

Steers SAP Emulated Trees.

Value

Description

Tree

Path to an item in the Emulated Tree.

Indicate nodes with ->, for instance NodeA->NodeB.

If more than one entry matches the path, Tosca Cloud steers the first matching one.

You can replace a node with an index number, for example enter NodeA->#5->NodeC to select the fifth entry in the second node.

Column

Number of the column in the Emulated Tree. The numbering of columns starts from #1.

Columns with cells that don't contain any text are also counted. In some Emulated Trees, such empty cells divide columns.

Action

Action you want to perform on an item in the Emulated Tree.

The following values are available:

  • {CLICK}

  • {DOUBLECLICK}

  • {RIGHTCLICK}

  • For an icon tooltip: .Tooltip==Tooltip Text

  • For a traffic light: Green, Yellow, Red

ScanAlgorithm

SAP uses this algorithm to navigate through the Emulated Tree.

The following algorithms are available:

  • FastVerticalNoHorizontal - It's the default algorithm for this module. It vertically scrolls through the Emulated Tree, but doesn't scroll horizontally. This algorithm is not suitable if you want to steer an Emulated Tree that contains a frozen top row.

  • FastVerticalFastHorizontalWithStaticArea - It scrolls both vertically and horizontally through the Emulated Tree. This algorithm takes into account static areas, so it's suitable, for example, to steer an Emulated Tree that contains a frozen top row.

  • DetailedIdentification - It scrolls both vertically and horizontally through the Emulated Tree. This algorithm identifies table cells more accurately so it is suitable for edge cases. You can also use it to steer Emulated Trees with static areas.

SAP Emulated Table Tree

Steers SAP Emulated Table Trees.

Value

Description

Header Table

Steers the main table.

Content Table

Steers the embedded table. If you want to steer controls embedded in the Emulated Table Tree, for example, traffic lights, you can create them on the <Cell> level of the module.

ScanAlgorithm

Algorithm that SAP uses to navigate through the Emulated Table Tree.

The following algorithms are available:

  • FastVerticalNoHorizontal - It vertically scrolls through the Emulated Tree, but doesn't scroll horizontally. This algorithm is not suitable if you want to steer an Emulated Tree that contains a frozen top row.

  • FastVerticalFastHorizontalWithStaticArea - It's the default algorithm for this Module. It scrolls both vertically and horizontally through the Emulated Tree. This algorithm takes into account static areas, so it's suitable, for example, if you want to steer an Emulated Table Tree that contains a frozen top row.

  • DetailedIdentification - It scrolls both vertically and horizontally through the Emulated Tree. This algorithm identifies table cells more accurately so it is suitable for edge cases. You can also use it to steer Emulated Trees with static areas.