Learn how to use basic and advanced features of PeopleSoft Test Framework on 9.2/9.1 and on PeopleTools 8.53. See a live demo of PeopleSoft Test Framework. Learn how to accelerate your testing using Astute's FasTest library containing over 1000 test scripts that can plug-and-play in your system.
Accelerate and Automate PeopleSoft 9.2/9.1 Testing with PeopleSoft Test Framework
1. h t t p : / / w w w . b e a s t u t e . c o m
Automate and Accelerate 9.2/9.1 Testing
with PeopleSoft Test Framework
Presented By:
Arvind Rajan and Tanvi
Astute Business Solutions
2. Agenda
2 Astute Business Solutions
• PeopleSoft Test Framework Introduction
• Overview
• PTF Features and Benefits
• PTF Usage Scenarios
• Using PTF
• Development Environment
• PTF Demo
• Q&A
3. Overview – What is PTF
3 Astute Business Solutions
• Users can record manual test procedures and save them within the framework
• During Playback, users can execute those tests against the application to verify
whether the application still behaves as expected
• No additional license required – included in PeopleTools 8.51 and higher
Record and Playback approach
Application ApplicationPTF
Automates business process testing within PeopleSoft through its Record and Playback capability
PeopleSoft Test Framework (PTF) in PeopleTools 8.53
4. Overview – PTF integrated with PeopleTools
• Each manually recorded test is saved as a special type of PeopleTools object called a test
• Test assets are People Tools managed objects, which enables PTF to validate recorded objects against
PeopleSoft object metadata definitions
• Can be included in upgrade projects and moved to a new database as part of the upgrade process.
PeopleTools Metadata for PTF
4
5. Overview - PTF Features and Benefits
5 Astute Business Solutions
Replicates the actions of a single user executing
functional tests against the PeopleSoft browser-
based application.
Automation of functional
testing
Regression Testing tool
Execute the recorded test scripts (after an upgrade or
a patch) against the application to verify whether the
application still behaves as expected.
Reduce testing time and effort
Create reusable repository of test scripts. Conduct
frequent test cycles. Greater accuracy and reduced
testing efforts.
Access to Test Maintenance and Test Coverage reports.
Reporting
Easy to Migrate Can be included in upgrade projects and moved to a
new database as part of the upgrade process.
6. PTF Usage Scenarios
Astute Business Solutions
Unit Test
System
Integration
Test
User
Acceptance
Test
Regression
Test
Test
Automation
When to use PTF:
• Testing application after deploying
patches and fixes
• Limited functional resources to
participate in testing
• Limited availability of testing
documentation
• Highly customized environment
• New Implementation projects
• Upgrade projects
6
8. PTF Development Environment
8 Astute Business Solutions
A PTF development environment consists of the following elements:
• The PTF client is a standalone program that runs on a Windows workstation.
• The client connects to the PeopleSoft application database using a secure HTTPS connection through Integration
Broker Web Services.
• The client connects to the PeopleSoft application that is to be tested through an Internet Explorer browser session.
10. Launching the Test Recorder Test Recorder Toolbar
Recording Tests
Recording a Test
To record a test:
1. Open a test.
2. Launch the test recorder.
3. Hook a browser.
4. Start recording.
5. Perform the test steps in the
PeopleSoft application.
6. Stop recording.
7. Close the rest recorder.
8. Save the test.
10
11. Using the Log Viewer
Executing Tests & Reviewing Logs
Executing a Test
1. With a test open in PTF, select Test, Run.
2. PTF opens the PeopleSoft application specified in Execution
Options and executes the test steps.
3. After the test executes, PTF opens the test log in the Log Viewer.
11
12. PTF – Editing Scripts
12 Astute Business Solutions
PTF Editor
Test assets appear in tree structure and used to create/manage
tests and folder
PTF Explorer
• Record and edit test
steps
• Add, copy, and delete
test steps
• Create and edit test
cases
• View both test and test
data, or test case, in a
single view
• Debug tests
16. Using Advanced Features in PTF
16 Astute Business Solutions
Build Verification into your scripts by using the “verify”
functionality to validate test script actions within the
test script itself.
Test Verification
Global Variables
Use Global Variables to store values from one
transaction and re-use that value in a subsequent
transaction.
Scroll Handling
Programmatically address pages that have scroll in
PeopleSoft enter values at the right level
Group test scripts and test cases in batches and
execute them using Process Scheduler.
Schedule as a batch
If-Else Conditions Use If-Else conditions in your test script
18. Page Prompting
• Testers should record all PTF tests using Page Prompting by default,
• PTF administrator can update this setting at the database level in PIA at
PeopleTools > Lifecycle Tools > Test Framework > Define Configuration
Options.
Process Run
• Use Process Run Feature to run a process in process scheduler.
TYPE ACTION RECOGNITION VALUE
Process Run
prcname=PAT07; prctype=SQR Report;
wait=True; expected=Success
Page Prompting & Process Run
18
19. Scroll handling
• PTF tests should use scroll handling whenever test data residing in a scroll or
grid could change between executions
Libraries
• Whenever testers find that they are coding the same sequence of PTF steps
multiple times, they should try to isolate that sequence of steps in a library
• Library is a special type of PTF test that can then be called by another test
• Parameter feature provides the user with flexibility in passing values to the
library
Using Test Cases
• Testers should clone a unique test case specific to the functionality being
entered from the default test case using the test case save as feature
Scroll handling, Libraries & Using Test Cases
19
20. Comments fields
PTF supports comments at the Test, Test Case, and Test Step levels. Comments
must be used to clearly document the functional testware being automated
Comments fields
20
21. Astute Business Solutions
Want more information?
Have questions about our FasTest accelerator for
PTF? – Contact peoplesoft@beastute.com
PTF Training – Contact Astute Business Solutions
for our PTF JumpStart training – Contact
sales@beastute.com
Visit us on Slideshare - go to slideshare.com and
search for Astute Business Solutions
Additional Resources from Astute Business
Solutions on PeopleSoft 9.2 New Release Features
are available at
http://beastute.com/resources/guides-and-fact-
sheets
21
22. Thank You
h t t p : / / w w w . b e a s t u t e . c o m