This keyword is used to clear the value present in any edit field object. It takes Edit field Object as Object Input argument. It does not take any Data Input Arguments.
Input Arguments
Object Input Arguments
Required?
Description
Object
Yes
This keyword takes an Edit field object as an object input argument.
Data Input Arguments
Required?
Description
Data
No
This keyword doesn’t take any data input argument.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Image
Comments
This keyword clears the text in the highlighted edit field.
In the above screenshot, if you want to clear the Text in the “ Short Text ” EditBox then you can use the “SAPNW_ClearEditField” keyword as follows:
SAPNW_ClearEditField
Object
< Choose an Edit Field Object from the OR > Here, Metal Sheet
Common Error Conditions
Scenarios
Error Message
Debug Information
When an object is not given
Argument Data Missing (-13200)
Data not provided for argument: 'Object'. The expected StaticValue was empty.
When the keyword is used without using SAPNW_LaunchSAPApp Keyword prior to it
Argument Data Missing (-13200)
Insufficient Privileges (-14100)
Object not found
-plugin-unable-to-take-screenshot-
SAPNW_ClearEditFieldUsingText
This keyword is used to clear the value present in any edit field using the label or placeholder of the edit field. It takes Text To Search, Text Index, Partial Text, Before as Data Input Arguments.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword does take an Object Input Argument.
Data Input Arguments
Required?
Description
TextToSearch
Yes
This is used to search the specified text to find the Edit box.
Text Index
Yes
This is used to define the index of text if that text is written multiple times on the screen.
Index 0- Starts from Top Left of the screen
Partial Text
Optional
This can be used to search the edibox with partial text instead of the exact text mentioned.
Data Field: True/False
Before
Optional
This is used to search text present before the specified object.
Data Field: True/False
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
When object is not given
Argument Data Missing (-13200)
Data not provided for argument: 'Object'. Expected StaticValue was empty.
When the keyword is used without using SAPNW_LaunchSAPApp Keyword prior to it
Argument Data Missing (-13200)
Insufficient Privileges (-14100)
Object not found
-plugin-unable-to-take-screenshot-
SAPNW_Click
This keyword is used to click on any of the object. It takes object as Object Input Argument. It does not take Data Input Argument.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword does take an Object Input Argument.
Object Input
Arguments
Required?
Description
Object
Yes
This keyword takes one object as object input argument.
Data Input Arguments
Required?
Description
Data
No
This keyword doesn’t take any data Input argument.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
In the above screenshot, if you want to click on the “Default Values” of the SAP application then this is how you will use "SAPNW_Click" keyword.
SAPNW_Click
Object
< Choose an Object from the OR > Here, Default Values
While using "SAPNW_Click" keyword, you should ensure that you are using this keyword with a relevant keyword (like SAPNW_LaunchSAPApp) which can open your application for clicking over the desired object.
Common Error conditions
Scenarios
Error Message
Debug Information
When an object is not given
Argument Data Missing (-13200)
Data not provided for argument: 'Object'. The expected Static Value was empty.
When the keyword is used without using SAPNW_LaunchSAPApp Keyword prior to it
Argument Data Missing (-13200)
Insufficient Privileges (-14100)
Object not found
-plugin-unable-to-take-screenshot-
SAPNW_ClickButton
This keyword is used to click on any of the button object. It takes the Button object as an object input argument. It does not take data input argument.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword does take an Object Input Argument.
Object Input
Arguments
Required?
Description
Object
Yes
This keyword takes one object as object input argument.
Data Input Arguments
Required?
Description
Data
No
This keyword doesn’t take any data Input argument.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Application
Comments
SAP
In this Application, the user clicks on Save button to enter the values.
In the above screenshot, if you want to click on the “ Save” button of the SAP application then this is how you will use "SAPNW_ClickButton" keyword.
While using "SAPNW_ClickButton" keyword, you should ensure that you are using this keyword with a relevant keyword (like SAPNW_LaunchSAPApp) which can open your application for clicking over the desired object.
Common Error Conditions
Scenarios
Error Message
Debug Information
When an object is not given
Argument Data Missing (-13200)
Data not provided for argument: 'Object'. The expected Static Value was empty.
When the keyword is used without using SAPNW_LaunchSAPApp Keyword prior to it
Argument Data Missing (-13200)
Insufficient Privileges (-14100)
Object not found
-plugin-unable-to-take-screenshot-
SAPNW_ClickByText
This keyword is used to click on any of the text present in the application. It takes TextToSearch, Index, Partial Text, Before and After as Data Input Arguments.
Input Arguments
Data Input Arguments
Required?
Description
TextToSearch
Yes
This is used to search the specified text available to search the object
Index
Yes
This is used to define the index of text if that text is written multiple times on the screen.
Index 0- Starts from Top Left of the screen
Partial Text
Optional
This can be used to search partial text instead of exact text mentioned.
Data Field: True/False
Before
Optional
This is used to search text before the specified object.
After
Optional
This is used to search data after the specified object.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
If “TextToSearch” is not given
Object Not Found (-11100)
Object Not found on the given page.
When SAPNW_ClickByText keyword is used without launching the SAP application form.
Step Timed Out (-12200)
Step [#140 timed out. The system waited for 90sec.
SAPNW_GetObjectExistence
This keyword is used to check the existence of any object. It takes an object as object input argument. It does not take Data Input argument.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword does take an Object Input Argument.
Object Input
Arguments
Required?
Description
Object
Yes
This keyword takes one object as object Input argument.
Data Input Arguments
Required?
Description
Data
No
This keyword doesn’t take any data Input argument.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
SAP Application
If you want to get the existence of the object available in SAP Application then you need to use "SAPNW_GetObjectExistence" keyword.
Common Error Conditions
Scenarios
Error Message
Debug Information
If object is not given
Object: No object
Object Not Found (-11100)
Object Not found on the given page.
When SAPNW_GetObjectExistence keyword is used without launching the SAP application.
Step Timed Out (-12200)
Step [#11] timed out. The system waited for 90sec.
SAPNW_GetObjectText
This keyword is used to get the text or value of any object. It takes object input argument. It does not take data input argument.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword does take an Object Input Argument.
Object Input Arguments
Required?
Description
Object
Yes
This keyword takes Object from OR as an object input argument whose text has to be fetched.
Data Input Arguments
Required?
Description
Data
No
This keyword doesn’t take any data input argument.
Output
Returns Text of the Specified Object
If the keyword passes successfully or the object has any Text
It does not display anything if the keyword fails or the object does not have any Text
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
When the keyword is used without using SAPNW_LaunchApplication Keyword prior to it
Argument Data Missing (-13200)
Insufficient Privileges (-14100)
Object not found
-plugin-unable-to-take-screenshot-
If Object in Object input argument is not given
Object Input Argument: Object not given
Argument Data Missing (-13200)
A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, the output of a previous step, a global variable, etc; but it must not be left blank.
SAPNW_GetObjectTextByLabel
This keyword is used to get the value present in the edit field using the label of the edit field. It takes TextToSearch, Index, Partial Text, and Before as Data Input Arguments.
Input Arguments
Object Input Arguments
Required?
Description
Object
Yes
This keyword takes an objectas an object input argument.
Data Input Arguments
Required?
Description
TextToSearch
Yes
This is used to search the specified text in the Edit box.
Index
Optional
This is used to define the index of text if that text is written multiple times on the screen.
Index 0- Starts from the Top Left of the screen
Partial Text
Optional
This can be used to search partial text instead of the exact text mentioned.
Data Field: True/False
Before
Optional
This is used to search data before the specified object. Data Field: True/False
Output
Returns the object’s text from the label
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Condition
Scenarios
Error Message
Debug Information
When “TextToSearch” is not given
Object Not Found (-11100)
Object Not found on the given page.
When SAPNW_GetObjectTextByLabel keyword is used without launching the SAP Application.
Step Timed Out (-12200)
Step [#12] timed out. System waited for 90sec.
SAPNW_DeSelectCheckBox
This keyword is used to deselect the checkbox object. It takes the checkbox object as an Object Input argument. It does not take data input argument.
Input Arguments
Object Input Arguments
Required?
Description
Object
Yes
This keyword takes the checkbox object as an object input argument.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
When an object is not given
Object Not Found (-11100)
Object Not found on the given page.
When the SAPNW_DeSelectCheckbox keyword is used without launching the SAP application form.
Step Timed Out (-12200)
Step [#12] timed out. The system waited for 90sec.
SAPNW_DeSelectCheckBoxByText
This keyword is used to deselect the checkbox using the label or text of the checkbox. It takes Text To Search, Partial Text, Index, and Before as data input arguments.
Input Arguments
Data Input Arguments
Required?
Description
TextToSearch
Yes
This is used to search the specified text in the Edit box.
Index
Yes
This is used to define the index of text if that text is written multiple times on the screen.
Index 0- Starts from the Top Left of the screen
Partial Text
Optional
This can be used to search partial text instead of the exact text mentioned.
Data Field: True/False
Before
Optional
This is used to search data before the specified object. Data Field: True/False
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
When “TextToSearch” is not given
Object Not Found (-11100)
Object Not found on the given page.
When SAPNW_DeSelectCheckBoxByText keyword is used without launching the SAP application.
Step Timed Out (-12200)
Step [#12] timed out. The system waited for 90sec.
SAPNW_DoubleClick
This keyword double-clicks on any of the object. It takes an object as an object input argument. It does not take data input argument.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword does take an Object Input Argument.
Object Input Arguments
Required?
Description
Object
Yes
This keyword takes one object as an object input argument.
Data Input Arguments
Required?
Description
Data
No
This keyword doesn’t take any data input argument.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
When Application Name is not given.
SAP Application
Object Input Argument: Double click me
Argument Data Missing (-13200)
Insufficient Privileges (-14100)
If Valid object Input argument is provided
Done
When No object is provided.
Argument Data Missing (-13200)
DESCRIPTION:
A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, the output of a previous step, a global variable, etc; but it must not be left blank.
SAPNW_LaunchApp
This keyword is used to launch the SAP Application. It does not take Object Input Argument. It takes the Path of the App that has to be launched as Data Input Arguments.
Input Arguments
Object Input Arguments
Required?
Description
Object
No
This keyword doesn’t take any object input argument.
Data Input Arguments
Required?
Description
AppPath
Yes
Specify the Path of the Application to be launched.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
For example, in the above screenshot, if you want to click on the Application Launcher of the SAP Application and then open the highlighted text "HP6" then you can use the keyword SAPNW_LaunchApp as follows:
SAPNW_LaunchApp
App Path
SAP
Common Error Conditions
Scenarios
Error Message
Debug Information
When Blank Data Input arguments are provided
Argument Data Missing (-13200)
DESCRIPTION:
A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, the output of a previous step, and a global variable etc; but it must not be left blank.
Argument(s) : (AppName) is blank.
When the user opens an application other than SAP.
Object Not Found (-11100)
DESCRIPTION:
The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.
Inner Object Not found
SAPNW_IsObjectEnabledDisabled
This keyword is used to check whether the object is Enabled or Disabled. It takes Object as Object Input Argument. It does not take data input argument.
Input Arguments
Object Input Arguments
Required?
Description
Object
Yes
This Keyword takes an object as an Object input argument. You need to select any object which needs to be verified.
Data Input
Arguments
Required?
Description
Data
No
This Keyword does not require any Data Input Arguments.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
If the provided object doesn’t exist on the page
Object Not Found (-11100)
DESCRIPTION:
The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.
Object not found
If Object is not Provided
No Object Attached
SAPNW_IsObjectSelectedorDeselected
This keyword is used to check whether the object is Selected or Deselected. It takes Object as Object Input argument. It does not take data input argument.
Input Arguments
Object Input Arguments
Required?
Description
Object
Yes
This Keyword takes an object as an Object input argument. You need to select any object which needs to be verified.
Data Input
Arguments
Required?
Description
Data
No
This Keyword does not require any Data Input Arguments.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
If the provided object doesn’t exist on the page
Object Not Found (-11100)
DESCRIPTION:
The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.
Object not found
If Object is not Provided
No Object Attached
SAPNW_IsTextPresentOnScreen
This keyword is used to check whether the given text is present in the SAP application or not. It takes object as Object Input argument. It takes TextToSearch, Before, and After as a Data Input Argument.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword does take an Object Input Argument.
Data Input Arguments
Required?
Description
TextToSearch
Yes
This is used to search the specified text in the Edit box.
Before
Optional
This is used to search text before the specified object.
After
Optional
This is used to search text after the specified object.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
If “TextToSearch” is not given
Object: No object
Object Not Found (-11100)
Object Not found on the given page.
When SAPNW_IsTextPresentOnScreen keyword is used without launching the SAP application.
Step Timed Out (-12200)
Step [#14] timed out. The system waited for 90sec.
SAPNW_MouseHover
This keyword is used to hover on any of the object. It takes object as input argument. It does not take data input argument.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword takes an object as object Input argument.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
If the object is not given
Object: No object
Object Not Found (-11100)
Object Not found on the given page.
When the SAPNW_MouseHover keyword is used without launching the SAP application.
Step Timed Out (-12200)
Step [#11] timed out. System waited for 90sec.
SAPNW_OpenConnection
This keyword opens the given connection name. It does not take Object input argument. It takes the Connection Name as a data input argument.
Input Arguments
Object Input Arguments
Required?
Description
Object
No
This keyword doesn’t take any object input argument.
Data Input Arguments
Required?
Description
Connection Name
Yes
Specify the Name of the connection with HP 6
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
When the Data Input Arguments are not provided
Argument Data Missing (-13200)
DESCRIPTION:
A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, the output of a previous step, a global variable, etc; but it must not be left blank.
Argument(s) : Path should not be blank
Scenarios
Error Message
Debug Information
If the object in Object Input Argument is given but Data input Argument not given
Object Input Argument: Object given
Data Input Argument: not given
Argument Data Missing (-13200)
DESCRIPTION:
A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.
Data not provided for argument: 'object'. The expected StaticValue was empty.
If Object in Object input argument and Value in Data input argument is not given
Object Input Argument: Object not given
Data Input Argument: Item not given
Argument Data Missing (-13200)
A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.
SAPNW_SelectCheckBox
This keyword is used to select the checkbox object. It takes the checkbox Object as an object input argument. It does not take data input argument.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword does take an Object Input Argument.
Object Input Arguments
Required?
Description
Object
Yes
This keyword takes the checkbox object as an object input argument.
Data Input Arguments
Required?
Description
Value
No
It doesn’t take any data input argument.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
When SAPNW_SelectCheckBox
keyword is used without launching the SAP application.
Step Timed Out (-12200)
Step [#15] timed out. The system waited for 90sec.
If the object is not given
Object: No object
Object Not Found (-11100)
Object Not found on the given page.
SAPNW_SelectCheckBoxByText
This keyword is used to select the checkbox using the label or text of the checkbox. It takes Text To Search, Partial Text, Index, Before, and Status as data input arguments.
Input Arguments
Data Input Arguments
Required?
Description
TextToSearch
Yes
This is used to search the specified text in the Edit box.
Index
Yes
This is used to define the index of text if that text is written multiple times on the screen.
Index 0- Starts from the Top Left of the screen
Partial Text
Optional
This can be used to search partial text instead of the exact text mentioned.
Data Field: True/False
Before
Optional
This is used to search data before the specified object. Data Field: True/False
Status
Yes
“On” to select the checkbox and “Off” to deselect the checkbox
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error conditions
Scenarios
Error Message
Debug Information
When “TextToSearch” is not given
Object Not Found (-11100)
Object Not found on the given page.
When the SAPNW_SelectCheckBoxByText keyword is used without launching the SAP application.
Step Timed Out (-12200)
Step [#12] timed out. The system waited for 90sec.
SAPNW_SelectDropDownByText
This keyword is used to select an item in the dropdown using the label or text of the dropdown.. It takes DropdownLabel, Index, Partial Text, Before, ValueToSelect, and IsMultipleDropdown as input arguments.
Input Arguments
Data Input Arguments
Required?
Description
DropdownLabel
Yes
Required to find the dropdown object
Index
Optional
This is used to define the index of text if that text is written multiple times on the screen.
Index 0- Starts from the Top Left of the screen
Partial Text
Optional
This can be used to search partial text instead of the exact text mentioned.
Data Field: True/False
ValueToSelect
Yes
Provide the value to be selected from the dropdown
Before
Optional
This is used to search data before the specified object. Data Field: True/False
IsMultipleDropdown
Optional
True/False
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error conditions
Scenarios
Error Message
Debug Information
When Label is not given
Object Not Found (-11100)
Object Not found on the given page.
When SAPNW_SelectDropDownByText keyword is used without launching the SAP application.
Step Timed Out (-12200)
Step [#12] timed out. The system waited for 90sec.
SAPNW_SelectDropDownItem
This keyword is used to select an item in the dropdown object. It takes as an Object Input argument. It also takes Value to be selected as Data Input Arguments.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword takes an Object Input Argument.
Data Input Arguments
Required?
Description
Value
Yes
Specify the Value to be selected from the dropdown list.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error conditions
Scenarios
Error Message
Debug Information
When an object is not given
Object Not Found (-11100)
Object Not found on the given page.
When SAPNW_SelectDropDownItem keyword is used without launching the SAP application.
Step Timed Out (-12200)
Step [#10] timed out. The system waited for 90sec.
SAPNW_SelectRadioButton
This keyword is used to select the radio button object. It takes the radio button object as an Object Input argument. It doesn’t take any Data Input Arguments.
Input Arguments
Object Input Arguments
Required?
Description
Object
Yes
This keyword takes the Radio Button object an object input argument.
Data Input Arguments
Required?
Description
Data
No
This keyword doesn’t take any Data Input Argument.
Output
True
If the keyword passes successfully.
False
If the keyword fails.
Example
Object
< Choose a radio button object from the OR >
Common Error conditions
Scenarios
Error Message
Debug Information
When an object is not given.
Object Not Found (-11100)
Object Not found on the given page.
When SAPNW_SelectRadioButton keyword is used without launching the SAP application.
Step Timed Out (-12200)
Step [#11] timed out. The system waited for 90sec.
SAPNW_SelectRadioButtonByText
This keyword is used to select the radio button using the label or text of the radio button.This keyword takes “Text to Search, Index, Partial Text, and Before” as the Data Input Arguments.
Input Arguments
Data Input Arguments
Required?
Description
Text to Search
Yes
Provide the Text that exists near the radio button.
Partial
Text
No
Provide True if the Text to be searched is partial Text.
By Default, it is false.
Index
No
Specify the Index of the Text to be searched.
Note: Index starts from ‘0’.
Before
Yes
Provide True if the radio button appears before the Text
By Default, it is false.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
When Text To search Data Input arguments is blank.
Argument Data Missing (-13200)
DESCRIPTION:
A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, the output of a previous step, a global variable etc; but it must not be left blank.
Argument(s) : (Text To Search)
is blank.
SAPNW_SelectWindow
This keyword is used to select the window on the basis of the window title and index. It does not take Object Input argument. It takes the WinIdentifier as the data input argument.
Input Arguments
Object Input Arguments
Required?
Description
Object
No
This Keyword does not take any Object input argument.
Data Input Arguments
Required?
Description
Data
Yes
This keyword takes WinIdentifier as Data Input Arguments.
Output
Selects the window
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
When Blank Data Input Argument is provided.
Argument Data Missing (-13200)
Argument(s) : (WinIdentifier) is blank.
When Invalid Data Input Argument is provided.
Argument Data Invalid (-13300)
Exceptions.
MalformedQueryException: Unable to execute query. Possibly syntax error or insufficient parameters.
SAPNW_TypeByText
This keyword is used to enter a value in edit field or edit box using the label or text or placeholder of the edit field. This keyword takes “Text to Search, Index, PartialText, TextToType, and Before” as the Data Input Arguments.
Input Arguments
Data Input Arguments
Required?
Description
Text To
Search
Yes
Provide Text that exists near the element.
Partial
Text
No
Provide True if the text to be searched is partial Text.
By Default, it is false.
Index
No
Specify the Index of the Text to be searched.
Note: Index starts from ‘0’.
Before
Yes
Provide True if the element appears before the Text
By Default, it is false.
Text To Type
No
Specify the Text that has to be typed on the element.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
When Text To search Data Input arguments is blank.
Argument Data Missing (-13200)
DESCRIPTION:
A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, the output of a previous step, a global variable etc; but it must not be left blank.
SAPNW_TypeByTextAndEnter
This keyword is used to enter a value in edit field or edit box using the label or text or placeholder of the edit field and will automatically press Enter key after entering the given value. This keyword takes “Text to Search, Index, PartialText, TextToType, and Before” as the Data Input Arguments.
Input Arguments
Data Input Arguments
Required?
Description
Text To
Search
Yes
Provide Text that exists near the element.
Partial
Text
No
Provide True if the text to be searched is partial Text.
By Default, it is false.
Index
No
Specify the Index of the Text to be searched.
Note: Index starts from ‘0’.
Before
Yes
Provide True if the element appears before the Text
By Default, it is false.
Text To Type
No
Specify the Text that has to be typed on the element.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
When Text To search Data Input arguments is blank.
Argument Data Missing (-13200)
DESCRIPTION:
A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, the output of a previous step, a global variable etc; but it must not be left blank.
the Argument(s) : (Text To Search)
is blank.
SAPNW_TypeTextAndEnterEditBox
This keyword is used to enter a value in edit field or edit box object and will automatically press Enter key after entering the given value..
This keyword takes Object as Object Input Argument. This keyword takes “Value” as the Data Input Argument.
Input Arguments
Object Input Arguments
Required?
Description
Object
Yes
This Keyword take an Object input argument.
Data Input Arguments
Required?
Description
Value
Yes
Provide Value of the element.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
When Value Input arguments is blank.
Argument Data Missing (-13200)
DESCRIPTION:
A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, the output of a previous step, a global variable etc; but it must not be left blank.
Argument(s) : (Value)
is blank.
SAPNW_TypeTextAndEnterTextArea
This keyword is used to enter a value in text area object and will automatically press Enter key after entering the given value.
It takes Object as an Object Input Argument. It takes the Value as a Data Input Argument.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword takes an Object Input Argument.
Data Input Arguments
Required?
Description
Value
Yes
Provide Value of the element.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
When Value Data Input arguments are blank.
Argument Data Missing (-13200)
DESCRIPTION:
A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, the output of a previous step, a global variable etc; but it must not be left blank.
Argument(s) : (Value)
is blank.
SAPNW_TypeTextInTextArea
This keyword is used to enter a value in text area object. It takes Object as Object Input Argument. It also takes Value to be typed as Data Input Arguments.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword does take an Object Input Argument.
Data Input Arguments
Required?
Description
Value
No
Specify the value to be typed in specified area as Data Input Arguments.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
When object is not given
Argument Data Missing (-13200)
Data not provided for argument: ‘Object’. Expected StaticValue was empty.
When SAPNW_TypeTextInTextArea keyword is used without launching the SAP application.
Step Timed Out (-12200)
Step [#11] timed out. System waited for 90sec.
SAPNW_TypeTextonEditBox
This keyword is used to enter a value in edit field or edit box object. It takes Object as Object Input Argument. It takes Value as input argument.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword takes an Object Input Argument.
Data Input Arguments
Required?
Description
Value
Yes
Specify the Value to be typed in the Edit Box.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error conditions
Scenarios
Error Message
Debug Information
When the keyword is used without using SAP_LaunchApplication Keyword prior to it
Argument Data Missing (-13200)
Insufficient Privileges (-14100)
Object not found
-plugin-unable-to-take-screenshot-
If Object in Object input argument and Value in Data input argument is not given
Object Input Argument: Object not given
Data Input Argument: Item not given
Argument Data Missing (-13200)
A step could not be executed because one or more of the arguments have not been provided a value. Of all the arguments a keyword accepts, some arguments might be compulsory. As opposed to the non-compulsory ones, the compulsory argument must be provided some data. The data may be provided through one of many sources like statically entering, output of a previous step, a global variable etc; but it must not be left blank.
SAPNW_VerifyObjectText
This keyword is used to verify the text or value of an object. It takes an Object as Object Input Argument and Text to be verified as the Data Input argument.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword does takes an Object Input Argument.
Data Input Arguments
Required?
Description
Text
Yes
Specify the Text that has to be matched with the current Text
Output
True
If the keyword passes successfully
False
If the Keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
If the object is not found
Object Not Found (-11100)
DESCRIPTION:
The object on which an action was supposed to be performed, was not found on the currently active page or view. This happens when the page is not properly loaded or the properties of the object are not exactly matched.
N.A
If Expected Value Does not match With Actual value
Verification Failed (-16100)
DESCRIPTION:
The value which is required, was not found on the currently active page or view.
Actually Found :
< The Conclusion > and Expected is < Editing OptionThe Conclusion >
SAPNW_Wait
This keyword is used to wait for the given timeout(in seconds). It does not take object input argument. This keyword takes Seconds as Data input arguments.
Input Arguments
Object Input
Arguments
Required?
Description
Object
No
This keyword does not take any object Input argument.
Data Input Arguments
Required?
Description
Seconds
Yes
This keyword takes Seconds as the data Input argument.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
When Seconds is not given
Seconds: Blank
Argument Data Missing (-13200)
Argument(s) : (Seconds) is/are blank.
When SAPNW_Wait keyword is used without launching the SAP application.
Step Timed Out (-12200)
Step [#11] timed out. System waited for 90sec.
SAPNW_WaitforObject
This keyword is used to wait for an object for the given timeout(in seconds). It takes Object as Object Input Argument. It takes timeout in seconds as data input arguments.
Input Arguments
Object Input
Arguments
Required?
Description
Object
Yes
This keyword does take an Object Input Argument.
Data Input Arguments
Required?
Description
Timeout
Yes
This keyword takes Timeout as data Input argument.
Output
True
If the keyword passes successfully
False
If the keyword fails
Example
Common Error Conditions
Scenarios
Error Message
Debug Information
If object is not given
Object: No object
Object Not Found (-11100)
Object Not found on the given page.
When SAPNW_WaitForObject keyword is used without launching the SAP application.