3. Agenda
• What is PTF?
• What are the benefits of using PTF?
• Other test automation tools and how they
compare with PTF
• What are the barriers to implementation?
• Setup & Configuration
• Live demo on PSHCM 9.2
• Portability of PTF test scripts
4. PeopleSoft Test Framework (PTF)
• A testing tool
• Allows automation of functional testing
• Records steps and playback for testing
• Allows for greater efficiency
6. PTF vs Other Testing Tools
Factors for choosing a test framework
o What to Test: functional / regression testing, load / stress testing
o How to Test / Approaches: record-and-playback, code-driven, graphical user
interface testing, API driven testing
o Compatibility / Environment: OS, browsers, desktop vs mobile, languages, etc.
o Integrations: other testing or reporting tools, add-ons
o Features / Requirements: web based / desktop application, image / object
validation, detect certain user actions (drag-and-drop), detect third party
objects, etc.
o Complexity / Technical Requirements / Technical Support
o Cost / Licensing: proprietary vs open source
7. PTF vs Other Testing Tools (Con.)
Functional / Regression Testing Tools
PTF Oracle Functional
Testing Suite
HP UFT / QTP Borland Silk Test Selenium
WebDriver
Company Oracle /
PeopleSoft
Oracle HP Micro Focus
International
Selenium
Load / Stress
Testing
No No (Can integrate
with Oracle Load
Testing Suite)
No (Can
integrate with
HP Loadrunner)
No (Can integrate
with Silk
Performer for
load testing)
Yes (better
integrate with
JMeter or Gattling)
Validate images
and objects
No Yes (Can validate
objects based on their
attribute values)
Possible but not
easy
Yes (Image /
object
recognition)
Yes
Operating
Systems
Windows Windows, Linux Windows Windows Windows, Linux,
Solaris OS X, etc.
Browsers IE only IE, FF IE, FF, Chrome IE, FF, Chrome,
mobile browsers
IE, FF, Chrome,
Safari, Opera, etc.
8. PTF vs Other Testing Tools (Con.)
Functional / Regression Testing Tools
PTF Oracle Functional
Testing Suite
HP UFT / QTP Borland Silk
Test
Selenium
WebDriver
Non-browser
support
No No Windows Mobile No
Framework /
Integration
Integration with
PeopleSoft
metadata, Process
Scheduler, PS
Query and Data
Mover
Oracle Load Testing
Suite
HP Quality
Center or HP
ALM,
HP Loadrunner
Visual
Studio,
Eclipse, SAP,
Silk Central,
Silk Central
Connect
Selenium+Eclipse+
Maven/ANT
+Jenkins/Hudson
& its plugins/
CruiseControl+Test
NG+SVN
License / Cost Free with
PeopleTools 8.51
& above
Proprietary
(Named User Plus)
Proprietary
(Single-seat,
floating,
concurrent)
Proprietary Open source
Technical Skill
Requirement
Medium Low Low Medium High
Technical
Support
Medium Good Good Medium Poor on official
support
9. PTF vs Other Testing Tools (Con.)
Features unique to PTF
•Test assets are PeopleTools metadata.
o Correlates metadata with existing tests
o Assist with Change Impact Analysis
•Features that help users manipulate data within the PeopleSoft
rowset-oriented data structure.
•Ability to run processes through Process Scheduler.
•Functionality that interfaces with other PeopleSoft automation
tools, such as Data Mover and PsQuery.
10. PTF vs Other Testing Tools (Con.)
PTF’s Limitations:
•Not a user interface or browser testing too. It is unable to validate image
appearance, position of data, or online objects.
•Not a load testing tool. It replicates the experience of a single user running
the application.
•Unable to replicate certain types of user actions, such as drag-and-drop.
•Unable to recognize or validate certain types of objects from third-party or
external application, such as Flash/Flex objects, and data displayed in HTML
regions. PTF is designed to validate objects in the PeopleSoft application.
11. Barriers to Implementation
• Monetary
• No cost to users with PeopleTools 8.51 & above
• Hardware
• Oracle/PeopleSoft
• Windows and IE only
• Time
• Installation - efficient
• Configuration - inefficient
• Creating Test Cases – efficient depending application
• Social/Political
• Before 8.52, users used other testing applications or power users to
test
• Getting users to deviate away from there norm to the new PTF
• Now new upgrades are much more efficient
• Competition
12. Setup & Configuration
PTF client connects to the PeopleSoft application database using a secure
HTTPS connection through Integration Broker Web Services
To configure PTF, Integration Broker must be set up as well.
•Navigate PeopleTools, Integration Broker, Configuration, Gateways. Ping
Gateway, verify Active return message status.
• To connect to PTF test environment, user ID must be associated with PTF
User, Editor, or Admin.
13. Setup & Configuration Cont’d
Configure Browser settings
Contact Systems Administrator for the port number and name.
For Vidant, the database is PSHRD92, and the server and port
are Clochpoint:101.
Functional Testing: a software testing process that verify the functions and features of a software system. Functional testing tends to answer the questions like “can the user do this” or “does this particular feature work”.
Regression Testing: a software testing that seeks to uncover new software bugs, side-effects, or regressions, in a software system after changes such as upgrades, customizations, patches or configuration changes, have taken place.
Load Testing: the process of putting demand on a software system and measuring its response. It is performed to determine a system’s behavior under both normal and anticipated peak load conditions. It helps to identify the maximum operating capacity of an application as well as any bottlenecks and determine which element is causing degradation.
Stress Testing: a software testing that determines the robustness of software by testing beyond the limits of normal operation. Stress tests commonly put a greater emphasis on robustness, availability, and error handling under a heavy load, than on what would be considered correct behavior under normal circumstances.
PeopleSoft Object Metadata: menus, components, pages, records, and fields
Change Impacts: In the course of customizations and upgrades, changes are made to, among other elements, application menus, components, pages, records, and fields. Tests that were developed prior to these changes may fail when executed against the new application. One way to identify the effects on tests is to run each test against the new application and note where the test fails. This manual process is time-consuming, expensive, and prone to errors. It also fails to identify those areas in the new application that are not covered by existing tests. Because PeopleSoft Test Framework (PTF) test assets are PeopleTools metadata, PTF is able to automate the process of correlating metadata changes with existing tests. PTF delivers two tools that help test developers to determine the effect of changes:
Test maintenance reports: a test maintenance report correlates PeopleTools compare report data with PTF test metadata to identify certain changes to menus, components, pages, records, and fields that may impact the PTF tests.
Test coverage reports: a test coverage report correlates PeopleTools project data with PTF test metadata to identify menus, components, pages, records, and fields that are referenced in PTF tests.
PeopleSoft Object Metadata: menus, components, pages, records, and fields
This illustration depicts the PeopleTools elements and the Oracle SES elements interacting to enable the PeopleSoft Search Framework features
Security Plug-in: This module gets invoked from Search Engine side for a user who initiates a search from an application. Search security framework is responsible for authentication, search user validation and authorization of search query request. Search Engine passes user credentials to PeopleSoft Security Service (Web service) which authorizes the users and get security attribute for that user. Search Results are filtered based on this security attribute. Security Plug-In a part of SES Search Engine and is written in Java. SES comes with built-in plug-ins specifically for PeopleSoft.
There are two security plug-ins: PeopleSoft Identity Plug-in and PeopleSoft Authorization Plug-in. PeopleSoft Identity plug-in is responsible for authenticating search users. PeopleSoft Authorization Plug-in is responsible for getting security attributes for search users and filtering search results based on them.
Crawler Plug-in: Crawler plug-in is part of SES search engine. The Crawler plug-in is responsible for extracting documents for a source and indexing them. The PeopleSoft crawler-plug-in extracts documents from PSQUERY (each returned row is a document). The Crawler plug-in indexes document search attributes like Title, Summary, search fields (fields to index), and so on. It can also index document-level security attributes if document-level security is being used.