Post on 13-Jan-2017
PeopleSoft Test Framework
Presenters
Zach Cutlip
Telly Ipock
Gasser Elsayed
Jamie Scharbrough
© Copyright 2011 New Resources Consulting, LLC.
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
PeopleSoft Test Framework (PTF)• A testing tool • Allows automation of functional testing• Records steps and playback for testing• Allows for greater efficiency
Benefits of using PTF• Automates tasks within PeopleSoft
• Functional Testing • Increases efficiency and accuracy • Consistency across environments • Reduces testing resources • Ease of migration• Included in PeopleTools (no additional cost)
• Recording and Playback • Records the actions of a single user so it can then be tested via
playback.• Allows for efficient test maintenance thus reducing costs.
• Reports• Allows you to see what changes in the upgrade or implementation
will affect your tests in your archives via test maintenance report.
© Copyright 2011 New Resources Consulting, LLC.
PTF vs Other Testing ToolsFactors 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
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.
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+TestNG+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
TechnicalSupport
Medium Good Good Medium Poor on official support
PTF vs Other Testing Tools (Con.)Features unique to PTF
•Test assets are PeopleTools metadata.o Correlates metadata with existing testso 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.
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.
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
Setup & ConfigurationPTF 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.
Setup & Configuration Cont’dConfigure Browser settingsContact Systems Administrator for the port number and name.For Vidant, the database is PSHRD92, and the server and port are Clochpoint:101.
Live Demo – HR 9.2 (PT 8.54)
© Copyright 2011 New Resources Consulting, LLC.
Live Demo – HR 9.2 (PT 8.54)
© Copyright 2011 New Resources Consulting, LLC.
Live Demo – HR 9.2 (PT 8.54)
© Copyright 2011 New Resources Consulting, LLC.
Live Demo – HR 9.2 (PT 8.54)
© Copyright 2011 New Resources Consulting, LLC.
Live Demo – HR 9.2 (PT 8.54)
© Copyright 2011 New Resources Consulting, LLC.
Live Demo – HR 9.2 (PT 8.54)
© Copyright 2011 New Resources Consulting, LLC.
Migration Between Environments
© Copyright 2011 New Resources Consulting, LLC.
• Scripts can be migrated between various environments• Test cases are PeopleTools managed objects• Can be copied similar to:
• Record Definitions• SQL Definitions• PeopleCode Programs
• Application Designer projects including test cases can be exported to new environments.
• Can include tests and test cases in an upgrade project
• Challenges arise when there are differences between the metadata.• More Vanilla equals greater ease of migration.
Questions