Advanced SAP User Actions

  • Empower users to interact with specific elements in an application interface, manipulating associated properties and methods.

  • Enables dynamic adaptation to different elements, automating a wide range of tasks without manual intervention.

  • Qyrus introduces "Set Element Property" and "Invoke Element Method" actions to manage various methods for different object types in SAP.

  • Ensures efficient handling of diverse input elements, enhancing automation capabilities for complex workflows.

  • Qyrus offers a comprehensive selection of several distinct SAP action types. These user actions, tailored for Desktop Testing, are systematically categorized according to their specific nature. Each user action is accompanied by both mandatory and optional input parameters. Mandatory inputs are indicated by an asterisk (*) appended to the input name.

Advanced SAP Action Types


1. Set Element Property

This action type allows users to dynamically modify properties of a specified element. Users can set an element's property by using the Set statement and referencing the property they want to change.

Inputs:

  • Locator type - This field specifies how you want to identify or locate the element in the user interface. Common locator types include "ID" and others.

  • Locator value - This field contains the specific value or expression that corresponds to the locator type. It helps pinpoint the exact element you want to modify.

  • Property - This field specifies which property of the element you want to change. A property is like an attribute of the element that defines its characteristics, such as text.

  • Property Value - This field holds the new value you want to assign to the selected property. It's what you want to set the property to.

Example:

  • Locator Type: ID

  • Locator Value: win[9]

  • Property: topNode

  • Property Value: 1

After executing this action, it sets the custom property "topNode" of the element located by the ID "win[9]" to the value 1.


2. Invoke Element Method

This action type executes a specific method associated with a specified element. Users can invoke an element method to trigger predefined actions or behaviors associated with an SAP element.

Inputs:

  • Locator type

  • Locator value

  • Argument Value - This field is used to provide any required arguments or parameters that the method may need.

  • Method - This field specifies which method you want to call on the element. A method is like a function or action that the element can perform. For example, a button element might have a "Click" method to simulate a button click.

Example:

  • Locator Type: ID

  • Locator Value: "wnd[0]"

  • Method: "sendVKey"

  • Argument Value: 0

After executing this action, it will call the "sendVKey" method on the element identified by "wnd[0]" and pass the argument value 0 to it.


Last updated