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 Explorer provides 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
PTF Test Editor Create a Test Session 1 Slide 6
Create Test Creating a Test Case : PeopleSoft Test Frame opens a new editor and allows to record or edit. Current Instance New Test Recording Options Session 1 Slide 7
Recording Test e Test Recorder Bar Hooks a browser. Begins recording. Launches a PeopleSoft Hooks a browser. Begins application in a browser. recording. Stops recording. Opens a MouseOver text Copies the Enables field check popup page enables you recording to the Mode. 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 detail line in the log each step executed in the test. Select No to record only the test rollup status (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 the Name 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 handled during 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 Begins recording. Stops recording Launches a PeopleSoft browser. application in a browser. Green bar indicates that the recorder is ready to record the next step 13
Recording Test case • Enter User Id and Password • Click Sign In. Green bar indicates that the recorder is ready to record the next step 14
Navigating on Online page Green bar indicates that the recorder is ready to record the next step Navigation recorded in PTF Session 1 Slide 15
Navigating on online page Session 1
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 PeopleSoft Hooks a Begins recording. Stops recording application in a browser 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 allow to enter the Name for the Test • Test name – allows to enter 30 Upper case letters. The letters will be translated to upper case, even if the Test name is entered in Lower case • Test name’s description allows 30 characters to enter. No case sensitive. Additional description can be added in Prop using the Long Description. Click on Prop button after the Name field. Session 1
PTF Test Editor Reviewing Test case Test Case Name Test Name Test Description Edit Options Navigation Steps to reach Modify A Person page are recorded here Person ID can be changed here Add a new row Name details are modified here Session 1 Slide 19
Test Step Fields in Test Editor Seq (sequence): A system generated sequence number, steps execute acc. to sequence order ID: A system generated unique identifier for each step, test maintenance reports use the ID value Active: Deselect the field for inactive steps Scroll ID: Field required for scroll handling Session 1 Session 1 Slide 20
Test Step Fields contd. Type: The type of application object the step is to take an action or validate it Action: The action the test is to take on the object (e.g., Set, Verify) Recognition: PTF uses to identify the objects within the application Value: The value the tester entered for an object Session 1 Session 1 Slide 21
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, PTF uses message recognition. • Use Message Recognition • Boeing Recommendation – Capture Warning message only. The link becomes activated when Error Handling is checked. The number of the warning message, along with desired action is entered here Session 1 Slide 24
Executing Tests Test, Run or Press F5 or Click the Run button PLAY STOP Location EmpNo 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 BHMFGORC Anubha Anubha_jain03@info 179326 Jain sys.com S. A. Con. HYD SEZ Taleo- Sales BHMFGORC Session 1 Session 1 Slide 25
Using Log Viewer The Log Tab opens after run a Test Session 1 PLAY STOP Session 1 Slide 26
Test Case Log Session 1 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 sequence no. of step being highlighted Session 1 Slide 27
Log Flags Flags in PTF e Information message only or Step was successful or Step was successful, but or e with a warning Step failed or The test encountered a or condition 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 PTF editor 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
Reference Material • Test Case Name • Rename Test Case • Description • Log Session 1 Slide 32
Q&A • Session 1 Slide 33