1. Home
  2. Opkey Help
  3. 25. Opkey Keyword Documentation
  4. 25.12 PeopleSoft Keywords

25.12 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.

PS_ClickByText

PS_ClickByText

This keyword is used to click on an object on the basis of its text, index. This keyword takes object as well as few optional data 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 TestToSearch, Index, PartialText, Before & After as data input arguments.

 

Output

 

True

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

 

Example

In this above example, if you want to click on the “Please click here to PeopleSoft logon page” text link then you need to use PS_ClickByText keyword and provide the required object & data input arguments.

 

Data Input Arguments:

 

TextToSearch

Provide the text which need to be searched in the page and then clicked (optional argument)

Index

Provide the index of the specified text on which you want to click (optional argument)

PartialText

Provide True/False value of PartialText. If it’s True then keyword will look for the sentence which contains the specified text otherwise (if False) it will look at the exact matching text on the page.

Before

Provide the “Before” text which is located just before the specified text for clicking (optional argument)

After

Provide the “After” text which is located just before the specified text for clicking (optional argument)


 

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_DeSelectCheckBox

PS_DeSelectCheckbox

This keyword is used to deselect the marked checkbox on the PeopleSoft application. This keyword takes an object as object 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 deselects the specified checkbox on the PeopleSoft Application.

 

Example

In this above example, if you want to deselect the on the “Enable Screen Reader Mode” checkbox then you need to use PS_DeSelectCheckbox keyword and provide the required object 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_VerifyObjectText

PS_VerifyObjectText

This keyword is used to verify the text of the specified object from the PeopleSoft application. This keyword takes object as well as few optional data 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 Value, Before & After as optional data input arguments.

 

Output

 

True

This keyword Passes if it verifies the text of the given object on the PeopleSoft Application.

 

Example

In this above example, if you want to verify the the text of the “Sign In” object then you need to use PS_VerifyObjectText keyword and provide the required object 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.

If the Value of the object to be compared, is Invalid

Actually Found :<Sign In> and Expected :<cbn,/.,hgfds>

Verification Failed (-16100) DESCRIPTION: The value which is required, was not found on the currently active page or view.

PS_GetObjectExistence

PS_GetObjectExistence

This keyword is used to verify if the specified object exists in the DOM. This keyword takes an object as object 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 verifies the existence of the specified object on the PeopleSoft Application.

 

Example

In this above example, if you want to deselect the on the “Sign In” object then you need to use SF_GetObjectExistence keyword and provide the required object 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.

Was this article helpful to you? Yes No