Download presentation
Presentation is loading. Please wait.
Published byClaude Norman Modified over 9 years ago
1
Session Objectives How to create a Library Test Script How to use the Library Test Script in main PTF Script Object Types – Test/Exec Usage of Object Type 2
2
Library A library test is a test that cannot be executed on its own and needs to be called by another test to run. A library test is useful to record a set of sequences which needs to be run repeatedly in a test. These sequences can be recorded as a library test in isolation. Any test can be converted to LIB, by checking the library test check box. A library test can be called in Multiple tests. Session 7 - Lib and ShellSlide 3
3
Advantages Reduced recording effort Reduced debugging effort Reduced maintenance effort Session 7 - Lib and ShellSlide 4
4
Steps to create and use Library Test Record a test online Open Test Editor and mark the Library test checkbox and save it Open the test in which the library test needs to be added In the test editor, inset a new row and fill in the following Test/Exec – Test Name - Test Case Name Session 7 - Lib and ShellSlide 5
5
Step 1 – Library Test Library test check box is checked. The value present in the Test Case Information box is added Session 7 - Lib and ShellSlide 6
6
Step 2 – Save Library A library test can be saved under any folder, but is shown with a different icon than the usual PS icon for a test. Library Test saved and it has different Icon Session 7 - Lib and ShellSlide 7
7
Folder View A library test can be saved under any folder, but is shown with a different icon than the usual PS icon for a test. Library Test is differentiated through a different icon from other PTF tests Session 7 - Lib and ShellSlide 8
8
PeopleSoft Online – Usage of Library Generate NID Library Test is differentiated through a different icon from other PTF tests Session 7 - Lib and ShellSlide 9
9
Object Type – Test Exec Test is an Object Type, and Exec is an Action associated with it. Calls another library. Specify the test name in the ID field and the test case name in the value field. Test/Exec to Call the Library Session 7 - Lib and ShellSlide 10
10
Business Usage Library Test can be used in the following scenarios: To reduce developmental effort while recording To record a process which may be used in multiple scenarios Ex.: Generate BEMS ID process needs to be run before every new hire and rehire without history Session 7 - Lib and ShellSlide 11
11
Shell Test A shell test is the script that is used to call another test in PTF. A shell test only supports the following actions: Data Mover - Calling data mover scripts Query – Running Queries Test - Calling other tests Variable – Manipulating variables Variables in the called script and the shell script can be used interchangeably Session 7 - Lib and ShellSlide 12
12
Create a Shell Test Test is an Object Type, and Exec is an Action associated with it. Select Shell Test in explorer Shell Test in Editor Session 7 - Lib and ShellSlide 13
13
Training Hand out the Training Material To be completed in 15 minutes Discussion Walk through the Log Explaining the log results Highlight the key words and lesson learned Session 7 - Lib and ShellSlide 14
14
Q & A and Comments Session 7 - Lib and ShellSlide 15
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.