Vous êtes sur la page 1sur 20

PeopleSoft PeopleTools 8.

55

Test Framework: Delivered Tests


HCM Release 9.2 Update Image 21

January 2017
PeopleSoft PeopleTools 8.55 Product Documentation Update: Test Framework Delivered Tests

Copyright 2017, Oracle and/or its affiliates. All rights reserved.

License Restrictions Warranty/Consequential Damages Disclaimer


This software and related documentation are provided under a license agreement containing restrictions on use
and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license
agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit,
distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering,
disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.
Warranty Disclaimer
The information contained herein is subject to change without notice and is not warranted to be error-free. If you
find any errors, please report them to us in writing.
Restricted Rights Notice
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf
of the U.S. Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS:
Oracle programs, including any operating system, integrated software, any programs installed on the hardware,
and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to
the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use,
duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated
software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and
license restrictions applicable to the programs. No other rights are granted to the U.S. Government.
Hazardous Applications Notice
This software or hardware is developed for general use in a variety of information management applications. It is
not developed or intended for use in any inherently dangerous applications, including applications that may create
a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be
responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use.
Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or
hardware in dangerous applications.
Trademark Notice
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their
respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used
under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD
logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a
registered trademark of The Open Group.
Third Party Content, Products, and Services Disclaimer
This software or hardware and documentation may provide access to or information about content, products, and
services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all
warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an
applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any
loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except
as set forth in an applicable agreement between you and Oracle.
Alpha and Beta Draft Documentation Notice
If this document is in preproduction status:
This documentation is in preproduction status and is intended for demonstration and preliminary use only. It may
not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not
responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be
responsible for any loss, costs, or damages incurred due to the use of this documentation.
Product Documentation Update Test Framework: Delivered Tests
January 2017

Private Alpha and Beta Draft Documentation Notice


If this document is in private preproduction status:
The information contained in this document is for informational sharing purposes only and should be
considered in your capacity as a customer advisory board member or pursuant to your beta trial agreement
only. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in
making purchasing decisions. The development, release, and timing of any features or functionality described
in this document remains at the sole discretion of Oracle.
This document in any form, software or printed matter, contains proprietary information that is the exclusive
property of Oracle. Your access to and use of this confidential material is subject to the terms and conditions
of your Oracle Master Agreement, Oracle License and Services Agreement, Oracle PartnerNetwork
Agreement, Oracle distribution agreement, or other license agreement which has been executed by you and
Oracle and with which you agree to comply. This document and information contained herein may not be
disclosed, copied, reproduced, or distributed to anyone outside Oracle without prior written consent of Oracle.
This document is not part of your license agreement nor can it be incorporated into any contractual
agreement with Oracle or its subsidiaries or affiliates.
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Access to Oracle Support
Oracle customers that have purchased support have access to electronic support through My Oracle Support.
For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit
http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.

Copyright 2017, Oracle and/or its affiliates. All rights reserved. 3


Product Documentation Update Test Framework: Delivered Tests
January 2017

Contents
Introduction....................................................................................................................................................... 5
Required Configuration Settings ...................................................................................................................... 6
Activating the PTTST_CONFIG_NO_SSL Web Service.............................................................................. 6
Configuring the Web Profile ......................................................................................................................... 7
Unlocking Demo Users ................................................................................................................................. 8
Setting up PTF Execution Options ............................................................................................................... 9
Delivered Library Tests .................................................................................................................................. 13
CLICK_OR_VERIFY_TILE_LIB ................................................................................................................. 13
CLICK_OR_VERIFY_NAVBARTILE_LIB................................................................................................... 14
NUI_TILE_VERIFY_WITH_CROSS_LIB ................................................................................................... 14
FLUID_BASE_NAVIGATION_LIB .............................................................................................................. 15
CLASSIC_FLUID_NAV_LIB ....................................................................................................................... 15
PORTAL_LIB .............................................................................................................................................. 15
DAY_BY_DATE_LIB .................................................................................................................................. 16
CLASSIC_FLUID_SIGNOUT_LIB .............................................................................................................. 16
Delivered Tests .............................................................................................................................................. 18
Delivered Tests - Addendum.......................................................................................................................... 20

4 Copyright 2017, Oracle and/or its affiliates. All rights reserved.


Product Documentation Update Test Framework: Delivered Tests
January 2017

Introduction
This document describes the PeopleSoft Test Framework library tests and test cases that are delivered in
HCM Release 9.2 Update Image 21.
The following sections describe the required configuration settings, the delivered library tests, and the
delivered HCM tests.

Copyright 2017, Oracle and/or its affiliates. All rights reserved. 5


Product Documentation Update Test Framework: Delivered Tests
January 2017

Required Configuration Settings


This section describes several settings that are commonly required to configure a PTF environment to work
with the delivered test libraries and test cases. You must configure these settings as instructed or the tests
will not work properly.
The settings described in this section are not comprehensive. For complete information about configuring
PTF, see Configuring an Environment for PTF in the Test Framework online help
(http:/docs.oracle.com/cd/E66686_01/pt855pbr1/eng/pt/tptf/task_ConfiguringanEnvironmentforPTF-
427e2a.html).

Activating the PTTST_CONFIG_NO_SSL Web Service


When you launch the Peoplesoft Test Framework client, if the database that you are attempting to connect to
does not have a valid SSL certificate, an error message appears, indicating that the environment does not
allow unsecured connections.
This example shows the error message that appears when using an unsecured connection:

Sign on Error for an Unsecured Connection


You can resolve this error by activating the PTTST_CONFIG_NO_SSL web service.
To activate the PTTST_CONFIG_NO_SSL web service:

6 Copyright 2017, Oracle and/or its affiliates. All rights reserved.


Product Documentation Update Test Framework: Delivered Tests
January 2017

1. Sign in to the database via the PeopleSoft Internet Architecture (PIA) using PS for the UserID and
Password.
2. Access the Service Operations Search page by selecting NavBar:Navigator, PeopleTools, Integration
Broker, Integration Setup, Service Operations.
3. In the Service Operation search criteria field, enter PTTST_CONFIG_NO_SSL and click the Search
button. The PTTST_CONFIG_NO_SSL appears in the Service Operations search results as shown in
this example:

Service Operations Search page


4. In the Service Operations search results grid, click the PTTST_CONFIG_NO_SSL link to access the
Service Operations General page.
5. Select the Active check box to activate the service operation, then click the Save button. This example
shows the page with the Active check box selected:

Service Operations General page

Configuring the Web Profile


There are several required debugging options that must be selected in the web profile for the PTF
environment.
To configure the web profile:

Copyright 2017, Oracle and/or its affiliates. All rights reserved. 7


Product Documentation Update Test Framework: Delivered Tests
January 2017

1. Sign in to the database via the PeopleSoft Internet Architecture (PIA) using PS for the UserID and
Password.
2. Access the Web Profile page (select NavBar:Navigator, PeopleTools, Web Profile, Web Profile
Configuration).
3. Enter PROD in the Profile Name field, and then click the Search button.
4. Select the Debugging tab.
5. Select the following check boxes, as shown in the example below:
Show Connection & Sys Info

Show Trace Link at Signon

Generate HTML for Testing

Write Dump File

Debugging page
6. Save.
7. Reboot the web server to activate these settings.
For information about starting and stopping the web server, see the PeopleSoft PeopleTools 8.55
Installation Guide: Setting up the PeopleSoft Pure Internet Architecture in GUI Mode, Using PSADMIN to
Start and Stop Web Servers, at
https://support.oracle.com/epmos/faces/DocumentDisplay?id=2068525.1.

Unlocking Demo Users


You must unlock the following demo users before using the delivered tests: RCHANNING, JPATTERSON,
VP1.
To unlock demo users:

8 Copyright 2017, Oracle and/or its affiliates. All rights reserved.


Product Documentation Update Test Framework: Delivered Tests
January 2017

1. Sign in to the database via the PeopleSoft Internet Architecture (PIA) using PS for the UserID and
Password.
2. Access the User Profiles page (select NavBar:Navigator, PeopleTools, Security, User Profiles, User
Profiles.
On the search page, enter RCHANNING in the Search By: User ID begins with field, and then
click the Search button. The User Profiles General page appears:

User Profiles General page


3. Clear the Account Locked Out? check box to activate the user profile.
4. Save.
5. Repeat steps 2 through 5 using the following user IDs in place of RCHANNING in step 3 to unlock the
additional demo users:
JPATTERSON

VP1

Setting up PTF Execution Options


Use the TF_GSE_DEFAULT execution option with the delivered tests. This execution option provides the
various settings that are required for running the delivered tests.

Important! You will need to modify the delivered execution options with your own site-specific information
(especially URL) in order to execute the delivered tests.

To set up PTF execution options:


1. Login to the PTF client.
1. Access the Execution Options dialog, by selecting the @<PTF Environment Name> menu, then selecting
Execution Options.
2. Select the TF_GSE_DEFAULT execution option.

Copyright 2017, Oracle and/or its affiliates. All rights reserved. 9


Product Documentation Update Test Framework: Delivered Tests
January 2017

The TF_GSE_DEFAULT execution option appears selected on the left hand pane, as the active
execution option, as shown in the following example:

Execution Options dialog box

10 Copyright 2017, Oracle and/or its affiliates. All rights reserved.


Product Documentation Update Test Framework: Delivered Tests
January 2017

3. Update these fields on the Options tab using the following values:

Field Value

URL Enter the URL of the login page for the PeopleSoft application to be tested.

Browser Select the browser you will use to execute tests.

Process Server Leave as blank or enter a valid process server, such as PSNT.

Log Folder Leave as blank or select a log folder.

4. Select the Advanced Options tab.


5. Update these fields on the Advanced Options tab using the following values:

Field Value

Portal URL Enter the URL of your application database. If you are running your tests on a portal environment,
enter the portal URL here. If you are running your tests on a stand-alone (non-portal)
environment, enter the same URL here as you entered in the Options tab.
In the URL entered here, replace ?cmd=login with /EMPLOYEE/HRMS/.
For example, if your application database URL is
http://myserver.us.oracle.com:8010/psp/ps/?cmd=login then you would enter
http://myserver.us.oracle.com:8010/psp/ps//EMPLOYEE/HRMS/
See the description for PORTAL_LIB under the Delivered Library Tests section below for
additional details.

Copyright 2017, Oracle and/or its affiliates. All rights reserved. 11


Product Documentation Update Test Framework: Delivered Tests
January 2017

This example shows how the completed Advanced options tab should appear:

Advanced Options dialog box


6. Click Accept to save the updated TF_GSE_DEFAULT execution options settings.

12 Copyright 2017, Oracle and/or its affiliates. All rights reserved.


Product Documentation Update Test Framework: Delivered Tests
January 2017

Delivered Library Tests


This section describes each library test, lists its parameters, and provides an example of its use. A library test
cannot be executed by itself; it must be called from another test using the Test.Exec step type.action.

Note: The delivered library tests support general automation functionality. A library test may not necessarily
be called by any of the tests that are delivered with a specific upgrade image.

For more information about library tests, see Calling Tests: Using Library Tests in the PeopleSoft Online
Help at http://docs.oracle.com/cd/E66686_01/pt855pbr0/eng/pt/tptf/task_CallingTests-ea7f7f.html.
For more information about the Test.Exec step/action see Test Language Reference: Test in the PeopleSoft
Online help at http://docs.oracle.com/cd/E66686_01/pt855pbr0/eng/pt/tptf/langref_Test-477ebe.html.

CLICK_OR_VERIFY_TILE_LIB
This library test performs a specific action (verify, click, or delete) to a PeopleSoft Fluid User Interface
homepage tile. A pass or fail log entry is generated in the execution log to indicate if the tile was found, and
whether the specified action was successful.

Parameters

TileName=<value> Specify the name of the tile.


Action=<value> Specify the action to perform. Valid actions are:
Verify: Checks if the tile exists.
Click: Clicks the tile.
Delete: Deletes the tile.

Example

This example shows a PTF test step that executes the CLICK_OR_VERIFY_TILE_LIB library test to verify
that the CompanyDirectory tile exists.

Type Action Recognition Parameters Value

Test Exec CLICK_OR_VERIFY_TILE_LIB TileName=CompanyDirectory;Action=Verify DEFAULT

Copyright 2017, Oracle and/or its affiliates. All rights reserved. 13


Product Documentation Update Test Framework: Delivered Tests
January 2017

CLICK_OR_VERIFY_NAVBARTILE_LIB
This library test performs a specific action (verify, click, or delete) to a PeopleSoft Fluid User Interface NavBar
tile. A pass or fail log entry is generated to indicate if the NavBar tile was found, and whether the action was
successful.

Parameters

TileName=<value> Specify the name of the NavBar tile.


Action=<value> Specify the action to perform. Valid actions are:
Verify: Checks if the NavBar tile exists.
Click: Clicks the NavBar tile.
Delete: Deletes the NavBar tile.

Example

This example shows a PTF test step that executes the CLICK_OR_VERIFY_NAVBARTILE_LIB library test to
verify that the Navigator NavBar tile exists.

Type Action Recognition Parameters Value

Test Exec CLICK_OR_VERIFY_NAVBARTILE_LIB TileName=Navigator;Action=Verify DEFAULT

NUI_TILE_VERIFY_WITH_CROSS_LIB
This library test verifies that a PeopleSoft Fluid User Interface tile includes a delete/cancel button (the
encircled red X symbol). A pass or fail log entry is generated to indicate if the delete/cancel button exists.

Parameters

TileName=<value> Specify the name of the tile.

Example

This example shows a PTF test step that executes the NUI_TILE_VERIFY_WITH_CROSS_LIB library test to
verify that the Time tile includes a delete/cancel button.

Type Action Recognition Parameters Value

Test Exec NUI_TILE_VERIFY_WITH_CROSS_LIB TileName=Time DEFAULT

14 Copyright 2017, Oracle and/or its affiliates. All rights reserved.


Product Documentation Update Test Framework: Delivered Tests
January 2017

FLUID_BASE_NAVIGATION_LIB
This library test dynamically checks the current state of the fluid NavBar: Navigator menu and activates it as
necessary to receive menu-based navigation link clicks, resetting the navigation path to the initial base menu
(rather than the most recent navigation path) if applicable. This library test does not execute actual menu link
click steps. Call this library test before performing any explicit Navigator menu navigation link click steps.

Parameters

None No parameters are used.

Example

This example shows a PTF test step that executes the FLUID_BASE_NAVIGATION_LIB library test to
activate the NavBar: Navigator menu initialized to the base menu.

Type Action Recognition Parameters Value

Test Exec FLUID_BASE_NAVIGATION_LIB DEFAULT

CLASSIC_FLUID_NAV_LIB
This library test activates PeopleSoft Classic menu link navigation from the homepage regardless of whether
the homepage uses Classic menu navigation or PeopleSoft Fluid User Interface NavBar: Navigator menu
navigation. This enables you to perform any PeopleSoft Classic menu navigation whether or not the menu is
present. Call this library test prior to performing any explicit PeopleSoft Classic menu navigation link click
steps.

Parameters

None No parameters are used.

Example

This example shows a PTF test step that executes the CLASSIC_FLUID_NAV_LIB library test to activate the
PeopleSoft Classic menu link navigation from the homepage.

Type Action Recognition Parameters Value

Test Exec CLASSIC_FLUID_NAV_LIB DEFAULT

PORTAL_LIB
This library test activates a link to any PeopleSoft application, whether or not it is a portal database. This
library test dynamically detects the database to determine if it is a portal or non-portal database. Call this
library test prior to performing any explicit navigation link click steps.

Copyright 2017, Oracle and/or its affiliates. All rights reserved. 15


Product Documentation Update Test Framework: Delivered Tests
January 2017

Note: Prior to using this library test, you must update the Logfolder in the PTF Execution Options settings
with the dynamic portal number that identifies groups of links related to certain applications within the portal
environment. For example, logfolder="PTUN_XXXXXXXX", where XXXXXXX is the dynamic portal.

Parameters

None No parameters are used.

Example

This example shows a PTF test step that executes the PORTAL_LIB library test to activate links to
PeopleSoft applications.

Type Action Recognition Parameters Value

Test Exec PORTAL_LIB DEFAULT

DAY_BY_DATE_LIB
This library test calculates the weekday for the date specified in the DATE parameter and assigns it to the
global variable &Day_Exp. The weekday is stored as a character string. This works only for dates with years
within the range 1900 through 2099.

Parameters

DATE=<value> Specify the date for which to find the day.

Example

This example shows a PTF test step that executes the DAY_BY_DATE_LIB library test to calculate the weekday
of todays date, assigning it to the &Day_EXP global variable.

Type Action Recognition Parameters Value

Test Exec DAY_BY_DATE_LIB DATE=#TODAY DEFAULT

CLASSIC_FLUID_SIGNOUT_LIB
This library test clicks Sign Out link on PeopleSoft pages. This test will use the classic Sign Out link if exists
or else it will use the Sign Out link under Fluid Action Menu bar.

Parameters

None No parameters are used.

16 Copyright 2017, Oracle and/or its affiliates. All rights reserved.


Product Documentation Update Test Framework: Delivered Tests
January 2017

Example

This example shows a PTF test step that executes the CLASSIC_FLUID_SIGNOUT_LIB library test to sign
out of PeopleSoft applications.

Type Action Recognition Parameters Value

Test Exec CLASSIC_FLUID_SIGNOUT_LIB DEFAULT

Copyright 2017, Oracle and/or its affiliates. All rights reserved. 17


Product Documentation Update Test Framework: Delivered Tests
January 2017

Delivered Tests
This table lists delivered tests by test name.
For each test, it describes the scenario that is tested and what the test validates.

Note: In some cases, sample PTF tests return a failed execution status due to application changes
introduced in specific update images. One sample PTF test included in HCM Release 9.2 Update Image 21
returns a failed execution status; it is identified in the following table. Errors and their expected causes and
solutions are described in the addendum that follows the Delivered Tests table.

Test Name Scenario Validations

NUI_10010_AM_REPORT_TIME_SHELL Employee logs into the application from Verify that the employee is able to
her phone to access employee self report time using Employee Self
service and would like to submit a Service, is able to request an absence
request for a vacation that she is from Self Service, and can view their
planning. leave balance.
Note: COBOL must be set up prior to
running this test.
For information about setting up
COBOL, please refer to the
PeopleTools 8.55 Installation Guide:
Installing and Compiling COBOL.

A_10400_CANDIDAT_GATEWAY_SHELL Employee should search for a job, view Verify that the employee is able to
the details of the job they are interested search for a job from the Careers
in, and submit it. homepage, is able to view the details
of the job and fill in the job workflow
details and can submit the job
successfully.

NUI_10040_CO_SELF_SERVICE_SHEL Rosanna Channing should be able to Verify that Rosanna Channing is able
access 'My Team' through NavBar, and to view the default tiles in NavBar, is
view navigation to promote through able to access Personalize NavBar,
related action. and can tap on the related action for
Christelle Stevenson and view the
navigation to promote.

NUI_10120_CO_COMPANY_DIR_SHELL Company directory renders in the Fluid Verify that company directory is
branding UI. displayed in the Fluid branding, not in
the old light blue tangerine branding.

18 Copyright 2017, Oracle and/or its affiliates. All rights reserved.


Product Documentation Update Test Framework: Delivered Tests
January 2017

Test Name Scenario Validations

NUI_10340_HOME_PAGE_NAV_SHELL Employee views the tax withholding Employee should be able to view the
options and navigates back to the tax withholding options under payroll.
homepage.
Employee should be able to go back to
the homepage.

A_10350_HOME_NAV_BENEFITS_SHEL Employee views the Life Events option Employee should be able to view the
and navigates back to the homepage. Life Events options under Benefits.
Employee should be able to go back to
the homepage.

NUI_10360_SUBMIT_FORM_I9_SHELL Complete the information and submit Verify that the form should be
Note: Returns a failure in HCM 9.2 Update the Form I-9. submitted without any issues or errors.
Image 21

NUI_10370_FORECAST_ABS_SHELL Check eligibility prior to request Verify that a valid message is


absence for an employee using displayed on click of check Eligibility
manager self service. button.
Note: COBOL must be set up prior to
running this test.
For information about setting up
COBOL, please refer to the
PeopleTools 8.55 Installation Guide:
Installing and Compiling COBOL.

A_10310_21884318ACTIVITY_SHELL Manager should be able to access the Verify that guided workflow page for
dynamic data for his/her direct report the promotion request is displayed.
and request for promotion.

NUI_10320_21960840_MOBILE_SHEL Employee should view the list of the Verify that the Paycheck summary
paychecks and view the latest pay page should be displayed and able to
report. view the pay report.

NUI_10480_APPROVALS_CNT_SHELL The total approvals count in the Verify the same total Approvals count
Approvals tile and Pending Approvals is displayed in the Approvals tile, left
page should be the same. and right panels of the pending
approvals page.

NUI_10500_PROMOTE_EMP_SHELL Rosanna initiates promotion request for Verify if Rosanna is able to view the
the direct reports of Christelle Contact & Compensation details for
Stevenson, who is one of her the direct reports of Christelle
Managers. Stevenson and initiate a Promotion
request.

Copyright 2017, Oracle and/or its affiliates. All rights reserved. 19


Product Documentation Update Test Framework: Delivered Tests
January 2017

Delivered Tests - Addendum


This table lists delivered tests by test name.

Test Name Failed Step Expected Cause / Potential Resolution

Shell Test: Unexpected Message after Seq. 24. New expected message
NUI_10360_SUBMIT_FORM_I9_SHELL
Click on Message Recognition icon next
Test: to Test Name field on the header.
NUI_10360_SUBMIT_FORM_I9_01
Add (1000, 31160) under the Message
column, choose Yes under the Button
column and choose Continue under the
Action column.

Shell Test: Seq 24: Button Click of Submit button To avoid synchronization issues, add
NUI_10360_SUBMIT_FORM_I9_SHELL below row after Seq 24:
name=HR_LINK_WRK_SUBMIT_PB
Test: Wait For_Seconds 4
NUI_10360_SUBMIT_FORM_I9_01

20 Copyright 2017, Oracle and/or its affiliates. All rights reserved.