Professional Documents
Culture Documents
PTF Oracle Workshop
PTF Oracle Workshop
Application Technology
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for
information purposes only, and may not be incorporated into any contract. 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 for Oracles products remains at the sole
discretion of Oracle.
2
Agenda
Developing Tests
Manual Steps, Debugging , Optimizing
3
Agenda
Developing Tests
Manual Steps, Debugging , Optimizing
4
PeopleSoft Test Framework
of time?
5
PeopleSoft Test Framework What is it?
6
PeopleSoft Test Framework What is it?
7
PeopleSoft Test Framework Architecture
8
Agenda
Developing Tests
Manual Steps, Debugging , Optimizing
9
Installing the PTF Client
Requirements:
Microsoft Windows
Supports only Microsoft Internet Explorer.
Microsoft .NET 3.5 or above
Read/write access to the PTF Home Directory
C:\Program Files\PeopleSoft\PeopleSoft Test Framework
Runtime access to the PTF Data Directory
C:\Documents and Settings\<User>\Application
Data\PeopleSoft\PeopleSoft Test Framework (by default)
Configure the Client Browser
Security settings to accept the test application URL.
Add *.mydomain.com to zone (trusted, internal, etc.)
Run the PTF Setup Wizard to install the PTF client
10
Installing the PTF Client
Run the PTF Setup Wizard to install the PTF Client
:
12
Agenda
Developing Tests
Manual Steps, Debugging , Optimizing
13
PTF Tightly Integrated with PeopleTools
14
PTF Components
PTF Client Features
Explorer
Test Editor
Test Recorder
PTF Web Features
Configuration
Administration
Test Reporting
Usage Monitor
15
PTF Client PTF Explorer
16
PTF Client - PTF Explorer
Create, Copy and Delete tests and folders.
Navigate to and open test assets
17
PTF Test Structure
Test level
Save as
Message recognition
Properties
Comments
Test Case level
Save as (new)
Properties
Comments
Step level
Field label (new available as tooltip or distinct column)
Prompt to select test for Test.Exec step (new)
Comments
18
PTF Client - Test Editor
A PTF Test consists of a Test Case and a series of Steps
When recording a test, PTF creates one step for each
action you take against the target application
19
PTF Client - PTF Log
When running a test, PTF creates an execution log entry
The log is located in PTF Explorer under the test name,
in the log folder specified in Execution Options
20
PTF Explorer - Shell Tests
21
PTF Client - PTF Log
Log entries in the Logs folder of PTF Explorer
22
PTF Client Record and Playback
23
PTF Recorder
24
PTF Recorder
Additional info for the tester can now be defined as part of a PTF Test
Formatted comments
CaptureScreen shots
25
PTF - Interface with Other PeopleTools
26
PTF Enhanced PeopleTools Functionality
Data Mover
Parameters for script input / output / working path
Queries
Query.Exec_Private action
Define expected number of rows returned
Secondary pages
Page.SecPage_Open and .SecPage_Close actions
Functionality for new PeopleTools objects and features
Modal frames
[Browser.FrameSet Recognition ptModFrame_##]
LongText.SetValue_InModal action
Scroll.ModalGrid_Open and .ModalGrid_Close actions
Mouse right-clicks
Image.RightClick action
27
PTF Administration Information in PIA
Set default recording options
Page prompting
Message recognition
Define process server list (for execution options)
Define execution options
Test compare report
Test details report
28
Agenda
Developing Tests
Manual Steps, Debugging , Optimizing
29
PTF Explorer Test Optimization
You might need to correct typos that might appear in your test
30
PTF Test Level Automation
Change execution options during execution
Execution.Set_Options
Override specific execution option settings during execution
Skip login Execution.Skip_Login
Skip run request Execution.Skip_RunRequest
Skip page save Execution.Skip_PageSave
Stop on error Execution.Skip_On_Error
Manipulate URL during execution
Browser.Set_URL - works with Page.Prompt, not entire URL
Call log actions from a shell
Pass values to library tests as true parameters
31
PTF Step Level Automation
Add additional logic to tests with
Loop.Do, .For, and .While actions
Conditional.Else action
AND and OR operations
Manipulate strings with string functions
Substr, Trim, Replace, Concat, etc.
Manipulate and calculate numeric values with math functions
Add, Multiply, Round, Now, etc.
Reference system values with system variables
last process instance, current test name, etc.
Add pauses with Wait.For_Seconds and For_Value actions
Verify field labels with .GetLabel action
Call multiple test cases in one step
Supply comma-separated list in Value field
Skip Test.Exec steps for certain test cases with #IGNORE
32
PTF Explorer Test Optimization
- Modify steps within a test
- These four steps log you into the PeopleSoft application
Using Test Optimization you can replace these four steps listed above with
one step using Browser.Start_Login.
This action opens the browser instance where the test will be executed and
logs into the PeopleSoft application using the URL, user ID, and password
from the selected execution option.
33
PTF Explorer Test Optimization
Variables
Store a value for a variable in a parameter in the Recognition field on the
step
34
PTF Explorer Test Optimization
- Reserved Words provide access to data available from the PTF program when a
test is executed
- Reserved Words are useful when data is not known before the test is executed
35
PTF Explorer Test Optimization
#PREFIX#
Reserved word substitutes the text in the Prefix field for the string in the
Value field
Run the test again with a different value, only needing to change the value
in the Prefix field
36
PTF Explorer Test Optimization
#LIST#
Reserved word LIST will check for the values of a ComboBox. It works
either on full text entries or translation values.
37
PTF Explorer Quick Open
PTF enables you to send links to test, test cases, and logs to other user
This feature is available in PTF Explorer, Test Editor, and Log Viewer
The system automatically copies the link for the asset to the Quick Open
dialog box
Recipient opens the test asset and is able to work with that asset
38
PTF Explorer Test Optimization
Application Error management
You can use the Error Handling feature to indicate that PTF should
click OK if an expected error occurs.
39
PTF Explorer Test Optimization
Application Error Management
Enter the button that PTF should select when it encounters the
message. Select the action that should be taken.
40
PTF Explorer Test Optimization
Reserved Words enable you to access data available from the PTF program
when a test is executed.
Reserved Words are useful when data is not known before the test is executed
41
PTF Explorer Test Optimization
Optimizing Scroll testing
You can use the Scroll.Key_Set action and a Scroll.Action step to locate a
row by key and generate a dynamic position index variable.
You can use the dynamic position index variable to reference a row or a
field reliably and repeatably because the variable is regenerated each time
the test is run.
42
PTF Explorer - Test Optimization
Easily leverage testing ofPeopleSoft scrolling function
Data in a PeopleSoft component is organized hierarchically using rowsets,
or scrolls, and rows
43
PTF Explorer Test Optimization
44
Agenda
Developing Tests
Manual Steps, Debugging , Optimizing
45
PeopleSoft Test Framework
46
PeopleSoft Change Management
Change Assistant
Compare Reports
Usage Monitor
47
Testing - Without PeopleSoft Test Framework
Process Duration
Apply or
Business System Test
ignore
48
Testing with PeopleSoft Test Framework
Process Duration
System
Download Impact Analysis Development
IT Test
Apply or System
Business ignore
Test
49
Usage Monitor
50
Compare Report Output Option
51
Leveraging Business MetaData
Application Features and Functions
Your Usage
Your Tests
ooo x
ooo xxxx
ooo xxxxx
oo xxxxx
Compare oo xxxx
Data oo xx
52
PTF - Impact Analysis Process
53
Upgrades And Maintenance - Today
Development
54
Upgrades And Maintenance - Today
Development
55
Upgrades And Maintenance - Today
Development
56
Upgrades And Maintenance - with PTF
Discovery
Development
Discovery
Development
Discovery
Development
63
PTF Test Maintenance Reports
64
PTF Test Coverage Reports
65
<Insert Picture Here>
More Information
66
More Information
education.oracle.com docs.oracle.com
67
PeopleTools Viewlets Now Available
http://download.oracle.com/peopletools/viewlets.html
Topic Areas
Web Services & Integration Broker
Life cycle Management
Enterprise 2.0 and User Interface
Platforms
Reporting
Security
PeopleTools for the Developer
General PeopleTools
PeopleSoft Test Framework
68
69