Download presentation
Presentation is loading. Please wait.
Published byEdmund Fletcher Modified over 9 years ago
1
Session Objectives Object Types – Text, Check Box and Combo Box Purpose/Usage of the Object Type Hands-on Exercise Session 3 & 4 - Set Values
2
Object Types 1. Each object type allows only certain actions. 2. Each action can only be used with certain object types. 3. For example, if a step has the Type field set to Text and the Action field set to Set_Value, you can change/add the value or data Session 3 & 4 - Set ValuesSlide 3
3
Object Type – Text / Check Box/ Comb Box Text Box Check Box Combo Box Slide 4 Session 3 & 4 - Set Values
4
Set Value – PeopleSoft Online Concept: Populate values to Text box, Combo box and Check box. Text Box (Enter Data) Combo Box(Enter Data) Check Box(Enter Data) Session 3 & 4 - Set ValuesSlide 5
5
Object Type – Text Populate/Validate Data Set_Value: Sets a data Exists: Check or variable value to whether the objects the action type exists on the page Get_property: Get the property Verify: Compares the value(prop=value) and value in the browser assigns to variable in to the expected value (ret=value). Session 3 & 4 - Set Values Slide 6
6
Object Type – Text Text Box Actions Session 3 & 4 - Set ValuesSlide 7
7
Object Type – Check Box This object type is used to check or click on a link in an online page Exists: Check Set_Value: Sets a data whether the objects or variable value to exists on the page the action type Get_property: Get the property Verify: Compares the value(prop=value) and value in the browser assigns to variable in to the expected value (ret=value). Session 3 & 4 - Set Values Slide 8
8
Object Type – Check Box Check Box Actions Session 3 & 4 - Set ValuesSlide 9
9
Object Type – Combo Box This object type is used to bring the available value or Pull down values Set_Value: Sets a data Exists: Check or variable value to whether the objects the action type exists on the page Get_property: Get the Verify: Compares the property value in the browser value(prop=value) and to the expected value assigns to variable in (ret=value). Session 3 & 4 - Set ValuesSlide 10
10
Object Type – Combo Box Combo Box Actions Session 3 & 4 - Set ValuesSlide 11
11
How to Check Object Properties In PTF, Click Tools->Message Click Menu and select HTML Browser And Show List of Properties Get_Property - Get the property value(prop=value) and assigns to variable in (ret=value). Session 3 & 4 - Set ValuesSlide 12
12
Object Type – Page Action Save - This Object Type / Action performs actions on the online pages to open or save the pages This statement is generated when we click the save button on the online Page. Slide 13 Session 3 & 4 - Set Values
13
Object Page – Action : Save Save Button Session 3 & 4 - Set ValuesSlide 14
14
Object Type – Page and Action Save Save - This Object Type / Action performs actions on the online pages to open or save the pages Save: Save the current page. Session 3 & 4 - Set ValuesSlide 15
15
Object Type – Text, Check Box, Combo Box Concept: Object: Text, Check Box, Combo Box are in use in the PTF Text Box and Check Box Combo Box and Check box, Page Save Session 3 & 4 - Set ValuesSlide 16
16
Set Values in Log Concept: How to use the Object Types : Text, Check Box, Combo Box Session 3 & 4 - Set ValuesSlide 17
17
HR – PeopleSoft Test Framework Session 4 Additional Object Types
18
Session Objectives Object Type –Radio Box, Variable, Image and Span Purpose / Usage of the Object Type/Actions Session 3 & 4 - Set ValuesSlide 19
19
Object Type – Radio Box Actions Exists - Check whether the objects exists on the page Get_Property - Gets the property value based on the prop=value parameter and assigns it to the variable in ret= &variable. Set_Value - Sets a data or variable value to the action type Verify - Compares the value in the browser to the expected value, and adds a pass or fail log entry for the validation. Session 3 & 4 - Set ValuesSlide 20
20
Object Type – Variable Variable is declared to hold value. Format for the Variable is ‘&var ’. Set_Value - Sets a data or variable value Variable Declared / Assigns Value to Variable Variable assign value to Field Session 3 & 4 - Set ValuesSlide 21
21
Object Type – Image Pictorial Object Image can act on following actions: Click – Performs click on Picture/Link/Icon objects. Exists – Check whether the objects exists on the page. Get_Property – Get the property value for the Object. Session 3 & 4 - Set ValuesSlide 22
22
Object Type – Image Object type : Image Session 3 & 4 - Set ValuesSlide 23
23
Object Type – SPAN Span has the following actions: Exists – Check whether the objects exists on the page. Get_Property – Get the property value for the Object. Verify - Compares the value in the browser to the expected value, and adds a pass or fail log entry for the validation. Session 3 & 4 - Set ValuesSlide 24
24
Function – Sum Perform numeric sum Works with HTMLTable Index Syntax Sum(text, sum_value, index_part, delimiter) ParameterDescription TextText that need to the computation Sum_valueAdd or Subtract. Index_partThe index on the section that should be computed. DelimiterDelimits each section in the text value. Session 3 & 4 - Set ValuesSlide 25
25
Function – Sum Example ExpressionResult Sum(2/5/4, 2, 1, /)4/5/4 ( 2 is added to the first part of the string.) Sum(&index, -4, 3, /)4 is subtracted from the third part of the string in the variable &index. Sum(&nvar, 2, 1, )2 is added to the value in &nvar. Assuming the value in &nvar is 5, the result would be 7. Session 3 & 4 - Set ValuesSlide 26
26
Reserved word – #TODAY Substitutes the current date. Example Enter the current date in the Effective Date Field Reserve Word #Today Compute date Session 3 & 4 - Set ValuesSlide 27
27
Reserved Word – #NOTHING Deletes a value from a text box, selects a blank value from a drop- down list box, or verifies that a text box or drop-down list box field is blank. Example In the first step in screenshot the Desig Work Location Field is set to blank. In the second step it is verified if the Desig Work Location Field is blank. Reserve Word #NOTHING Session 3 & 4 - Set ValuesSlide 28
28
Training Handout the Training Material To be completed in 45 minutes Discussion Walk through the Log Explaining the Log Results Highlight the Key words and Lesson learned Session 3 & 4 - Set ValuesSlide 29
29
Q & A and Comments Session 1Slide 30
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.