1. Home
  2. OpKey Help
  3. 16. Keywords in OpKey Test Accelerator
  4. 16.11 PeopleSoft Keywords

16.11 PeopleSoft Keywords

PS_ClickLink

PS_ClickLink

This keyword is used to click on the given link in PeopleSoft Application. It takes an object as input argument only.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes an object input argument.

Data Input Arguments

Required?

Description

Items

No

This keyword does not take any data input arguments.

Output

True

This keyword Passes if it clicks on the given link in PeopleSoft Application.

Example

In this above example, if you want to click on the “Please click here to PeopleSoft logon page” link then you need to use PS_ClickLink keyword and provide the required object input argument (mandatory).

Data Input Arguments:

Common Error conditions

Condition

Debug Information

Message

When Object is Not given

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

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.

PS_SelectWindow

PS_SelectWindow

This keyword is used to select the PeopleSoft window as per the given input arguments. It takes data input argument argument only.

Input Arguments

Object Input

Arguments

Required?

Description

Object

No

This keyword does not take any object input argument.

Data Input Arguments

Required?

Description

Items

Yes

This keyword takes two optional data input arguments.

Output

True

This keyword Passes if it selects the given window of the PeopleSoft Application.

Example

In this above example, if you want to select the “POracle PeopleSoft Sign-in” window then you need to use PS_SelectWindow keyword and provide the required data input arguments (optional).

Data Input Arguments:

Providing data input arguments is not compulsory. This keyword passes even with wrong or blank data input arguments given.

Common Error conditions

Condition

Debug Information

Message

When given Title and TitleIndex are invalid

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

Note: Keyword Passes with False output.

 

Message: Actually Found :<Oracle PeopleSoft Sign-in> and Expected :<zvbnhkyhdrdsdaScvcb>

PS_TypeTextOnEditBox

PS_TypeTextOnEditBox

This keyword is used to type the given text in the edit box of PeopleSoft Application. It takes object as well as data as input arguments.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes an object input argument.

Data Input Arguments

Required?

Description

Items

Yes

This keyword takes two mandatory data input arguments.

Output

True

This keyword Passes if it types the given text in the edit box of the PeopleSoft Application.

Example

In this above example, if you want to type the User ID & Password text in the respective text box in Oracle PeopleSoft application then then you need to use PS_TypeTextOnEditBox keyword and provide the required object & data input arguments (mandatory).

Data Input Arguments:

However, the data input arguments are mandatory but this keyword passes even when you have provided invalid or no data input arguments.

Object Input Arguments:

This keyword fails only when you provide wrong or no object input argument.

Common Error conditions

Condition

Debug Information

Message

When Value is given but Object is not given

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

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.

When Value & Object both are not given

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

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.

PS_Click

PS_Click

This keyword is used to click on the specified object in the PeopleSoft Application. It takes an object as input argument.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes an object input argument.

Data Input Arguments

Required?

Description

Items

No

This keyword does not take any data input arguments.

Output

True

This keyword Passes if it clicks on the given object in PeopleSoft Application.

Example

In this above example, if you want to click on the “Sign In” object then you need to use PS_Click keyword and provide the required object input argument (mandatory).

Data Input Arguments:

Common Error conditions

Condition

Debug Information

Message

When Object is Not given

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

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.

PS_ClickButton

PS_ClickButton

This keyword is used to click on the specified button in PeopleSoft Application. It takes an object as input argument.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes an object input argument.

Data Input Arguments

Required?

Description

Items

No

This keyword does not take any data input arguments.

Output

True

This keyword Passes if it clicks on the given button in PeopleSoft Application.

Example

In this above example, if you want to click on the “Add Person” button then you need to use PS_ClickButton keyword and provide the required object input argument (mandatory).

Data Input Arguments:

It takes no data input arguments.

Common Error conditions

Condition

Debug Information

Message

When Object is Not given

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

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.

PS_SelectDropDownItem

PS_SelectDropDownItem

This keyword is used to select the desired item from the specified dropdown in PeopleSoft Application. It takes object as well as data as input arguments.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes an object input argument.

Data Input Arguments

Required?

Description

Items

Yes

This keyword takes two (1 mandatory & 1 optional) data input arguments.

Output

True

This keyword Passes if it selects the given item from the dropdown in PeopleSoft Application.

Example

In this above example, if you want to select the desired item from the Month/Year dropdown of the Calendar in Oracle PeopleSoft application then then you need to use SF_SelectDropDownItem keyword and provide the required object & data input arguments.

Common Error conditions

Condition

Debug Information

Message

When given Item value is invalid

Cannot find element with given item

Argument Data Invalid (-13300) DESCRIPTION: The data value for one or more input arguments was not what was expected. This might happen when the input is expected in a specific format or should be chosen from a predefined set of values. Check for spell errors and capsing.

When Object is not mapped but given value is valid

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

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.

PS_SelectCheckbox

PS_SelectCheckbox

This keyword is used to mark the respective checkbox checked in PeopleSoft Application. It takes object as well as data as input arguments.

Input Arguments

Object Input

Arguments

Required?

Description

Object

Yes

This keyword takes an object input argument.

Data Input Arguments

Required?

Description

Items

Yes

This keyword takes Checkbox value data as data input arguments.

Output

True

This keyword Passes if it selects the given item from the dropdown in PeopleSoft Application.

Example

In this above example, if you want to check the “Waive Data Protection” checkbox then then you need to use SF_SelectCheckbox keyword and provide the required object & data input arguments, as required.

Note: Mapping of object is compulsory whereas values (On/Off) in data input arguments, depends upon your scenario. Some common scenarios are…

Current State of checkbox

Given Value in Data Input Argument

Execution

Output

Unchecked

On

Pass

True

Unchecked

Off

Pass

True

Checked

On

Pass

True

Checked

Off

Pass

True

Common Error conditions

Condition

Debug Information

Message

When object is mapped but value is not given

Argument(s) : (Value) is/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, output of a previous step, a global variable etc; but it must not be left blank.

When Object & value are not given

Data not provided for argument: ‘Object’. Expected StaticValue was empty.

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.

Was this article helpful to you? Yes No