session objectives login to peoplesoft test framework(ptf) how to use ptf and edit options how to...
TRANSCRIPT
Session Objectives
• Login to PeopleSoft Test Framework(PTF)
• How to use PTF and Edit options
• How to create a Test and Folder
• Establish a link between PTF and PeopleSoft online pages
• Hands-on exercise.
Session 1 Slide 2
Login to PTF
First-time use:• PTF Login screen can be launched through the desktop shortcut.
• Enter Database Name, Server-Port, Node ID, User ID and Password and click OK to open
the tool.
Regular use:• PTF Login screen can be launched through the desktop shortcut.
• Environment details will be populated from recently used information.
Slide 3
Using PTF - Folder Management
Creating & Managing Folders:Login to PTF takes the user to the PTF Explorer
myFolder:The default user's folder is used to store tests that are not visible to other users.
User-Created Folder:Automated scripts are available to all users
Folder Creation:The right-click menu at any Node on the PTF Explorerprovides an option to Create Folders & SubFolders.
Current Instance Current User Current Execution Option
Slide 4
Test Editor
The Test Editor enables:
• Record and edit test steps.
• Add, copy, and delete test steps.
• Create and edit test.
• View both test and test in a single view.
• Debug tests.
Session 1 Slide 5
Create Test
Creating a Test Case : PeopleSoft Test Frame opens a new editor and allows to recordor edit.
New TestCurrent Instance
Recording Options
Session 1 Slide 7
Recording Test
e
Test Recorder Bar
Launches a PeopleSoft BeginsHooks a browser. application in a browser.recording.
Stopsrecording.
Opens a MouseOver text Copies theEnables field check popup page enables you recording to theMode. to take an action on it. clipboard.
Session 1 Slide 8
Steps to record a Test:
Login to the PTF
Select Execution Options
Create a Test
Click on Recording toolbar pop-up
Hook the browser and click on start recording
Begin recording and stop recording when done
Save and give a test name
Session 1 Slide 9
Select Execution Option
Execution Option: Can be opened by Clicking Current Instant and Execution Options
Current Instant
New execution option
Default Execution option
URL
Process Server
Yes to record a detailline in the log eachstep executed in thetest.Select No to recordonly the test rollupstatus (Pass or Fail).
Session 1 Slide 10
Execution Option
• Use the Debugging – Skip PageSave option – it would allow to
skip saving the test data on the Page. (Ex. When Data is entered on theName or Contact Information – Record and Play option allows to run the script without
modifying the test)
• Using Output - Verbose = No – create a shorter version of
Execution log. It suppress the data information that are handledduring the test and detail warning or information details.
Session 1 Slide 11
Create a New Test Case
Creating Scripts: Create a Test in Myfolder or appropriate folder.
Create a Test
Session 1 Slide 12
Recording
• Click Home Icon to launch a PeopleSoft application
• Drag and drop the Hooks on the Sign on Page
• Click the Begin Recording Button
• Ready for recording (Green Bar) appears
Hooks a Stops recordingLaunches a PeopleSoft Begins recording.browser. application in a browser.
Green bar indicates that the recorder isready to record the next step
13
Recording Test case
• Enter User Id and Password
• Click Sign In.
Green bar indicates that therecorder is ready to record the
next step
14
Navigating on Online pageGreen bar indicates that the recorder isready to record the next step
Navigation recorded in PTF
Session 1 Slide 15
Link between PeopleSoft Online and PTF
Stop Recording• Click the Stop Recording Button
• Stop the Recording process and capture all the activities that took place
Launches a PeopleSoftHooks a Stops recordingapplication in a browser Begins recording.browser. hooks the Recorder to that
browser.
• Save Test Script
Session 1
Test Name and Description
• Save button saves the Test if the Test name is assigned.
• If the Test is new or Save as option is used, it would allowto enter the Name for the Test
• Test name – allows to enter 30 Upper case letters. Theletters will be translated to upper case, even if the Testname is entered in Lower case
• Test name’s description allows 30 characters to enter. Nocase sensitive. Additional description can be added in Propusing the Long Description. Click on Prop button after theName field.
Session 1
PTF Test Editor Reviewing Test case
Test Case NameTest Name
Test Description
Edit Options
Navigation Steps toreach Modify A Personpage are recorded here
Person ID can bechanged here
Add a new row
Name details aremodified here
Session 1 Slide 19
Test Step Fields in Test Editor
Seq (sequence): A system generated sequence number, steps executeacc. to sequence order
ID: A system generated unique identifier for each step, testmaintenance reports use the ID value
Active: Deselect the field for inactive steps
Scroll ID: Field required for scroll handling
Slide 20Session 1 Session 1
Test Step Fields contd.
Type: The type of application object the step is to take an action orvalidate it
Action: The action the test is to take on the object (e.g., Set, Verify)
Recognition: PTF uses to identify the objects within theapplication
Value: The value the tester entered for an object
Slide 21Session 1 Session 1
PTF Test Editor
Launches the browser to PeopleSoft online login page
Provides user ID and passwords and clicks on submit to login
Navigates to desired online page
Session 1 Slide 22
PTF Test Editor Contd.
Enter the search criteria and click on search
The data changes made on online page are recorded here along with save button
Session 1 Slide 23
PTF Warning/Error Handling
To handle warning (Error) messages that pop up during the test, PTFuses message recognition.
• Use Message Recognition
• Boeing Recommendation – Capture Warning message only.
The link becomesactivated when ErrorHandling is checked.
The number of the warningmessage, along with desiredaction is entered here
Session 1 Slide 24
Executing TestsTest, Run or Press F5 or Click the Run button
PLAY STOP
LocationEmpNo Name Emp Email Id Role (BLR/HYD/PUNE/MCIT Exam Project
Y/US/Aus/UK)Anubha Anubha_jain03@info
179326 Jain sys.com S. A. Con. HYD SEZ Fusion- Sales BHMFGORCAnubha Anubha_jain03@info
179326 Jain sys.com S. A. Con. HYD SEZ Taleo- Sales BHMFGORC
Session 1 Slide 25Session 1
Test Case Log
Test Log – Shows all the Execution Options-Provides user ,steps executed in the test test and setup details for PTF
Result Flag
Test Sequence No.-Shows the sequenceno. of step being highlighted
Session 1 Slide 27
Log Flags
Flags in PTF
Information message onlyor
Information message onlyor
Step was successfulor
Step was successful, butor ewith a warning
Step failedor
The test encountered aorcondition that it was not
configured to handle
Session 1 Slide 28
Logout
• Exit or Close allows to Close the PTF Editor or PTF Explorer
Allows to Close PTFeditor or Explorer
Session 1 Slide 29
Move/Copy a Test or Folder
• PTF Explorer allows to Move a Test and Folders – using
Edit->Cut (Ctrl + X) and Edit->Paste (Ctrl + V)
• PTF Explorer allows to copy a Test with different name – using
Edit -> Copy (Ctrl + C) and Edit->Paste (Ctrl + V)
Session 1 Slide 30
Business Usage
• Login to PTF
• Understand the PTF Explorer.
• Created a Test and Folder.
• Execution Option.
• Record and Play.
Session 1 Slide 31