session objectives object type – scroll purpose and usage how to use it in ptf session 9 -...
TRANSCRIPT
![Page 1: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/1.jpg)
Session Objectives
• Object Type – Scroll
• Purpose and Usage
• How to use it in PTF
Session 9 - Scroll Slide 2
![Page 2: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/2.jpg)
Scroll in PTF
• Scroll allow access to a field in the scroll area.
Individual rows of data within a scroll or grid are uniquely identified by a set of one
or more fields, or keys.
• The PTF scroll handling feature allow access to identify a Row
number/Row at test execution time based on the keys for thatrow.
• Using the Scroll.Key_Set action and a Scroll.Action step to
locate a row by key.
• Using the dynamic position index variable, reference of the
row or get the row number repeatedly.
Session 9 - Scroll Slide 3
![Page 3: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/3.jpg)
Object Type – Scroll
Follow these steps to use a dynamic position index:
• Create Key_Set steps.
• Create an Action step.
• Use the index variable for other steps.
• Specify the Scroll ID.
Session 9 - Scroll Slide 4
![Page 4: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/4.jpg)
Scroll in PeopleSoft Online Page
Text Box andCheck Box
Session 9 - Scroll Slide 5
![Page 5: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/5.jpg)
Object Type – Scroll
Creating Key_Set steps
1. Create one Key_Set step for each field in the scroll key – usingdata to create a key to identify the row
2. Key_Set requires two parameters in the Recognition column:Type= and Name=.
Field andScroll Key_Set Assignment
Session 9 - Scroll Slide 6
![Page 6: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/6.jpg)
Object Type – Scroll - Action
Action Step
• An Action Step attempts to locate a row defined by Key_Set.
• Based on the action that needs to be performed, such as Update,Insert, Select, and so on.
• The ret= parameter of the action step to populate an index variablewith the index value
• The Index of the row is populated to the index variable.
Scroll Ret ValueScroll Id Retrieve a rowto Index
Session 9 - Scroll Slide 7
![Page 7: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/7.jpg)
Object Type – Scroll - Index
Index Variable
• Provides the row position that is located based on the Key_Set.
• Referencing fields on that row using index variable.
• Format of the Index Variable = Name&var1
Locating CorrespondingRow and Acting
Session 9 - Scroll Slide 8
![Page 8: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/8.jpg)
Object Type – Scroll – Scroll ID
Specifying the Scroll ID
• Scroll ID is a required field.
• Assign a Scroll Id to group scroll actions for each scroll.
• Use a different scroll ID and scroll variable for each different scrollarea.
• Assign any unique integer.Scroll ID
Session 9 - Scroll Slide 9
![Page 9: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/9.jpg)
Object Type – Scroll
Index VariableIndexVariable
Session 9 - Scroll Slide 10
![Page 10: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/10.jpg)
Action – Values
• Ins – Insert a row. If the current row is the first row, then usethe existing row.
• Ins+ – Always Insert a row.• Delins – Delete all rows, and then insert into the first row.• Del – Delete the row specified by the Key_Set action.• Delall – Delete all rows.• Sel – Find a row specified.
Sel – Find a row usingvalue ‘ASG’
Session 9 - Scroll Slide 11
![Page 11: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/11.jpg)
Action – Values
• Upd – Find a specified row to work with. If the row is notfound, insert a new row or use the first row for the first time.
• Upd+ – Find a specified row to work with. If is not found,always insert a new row.
• Find - Use the scroll Find link. Format: find=text_to_find
Find a row using Country &Tax Id and Update
Session 9 - Scroll Slide 12
![Page 12: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/12.jpg)
Object Type – Scroll - Log
Session 9 - Scroll Slide 13
![Page 13: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/13.jpg)
Business Usage
• Allows access to data in Grid, Table and Scroll Data
• Find/Populate/Manipulate data
• Delete Data from Grid/Scroll
Session 9 - Scroll Slide 14
![Page 14: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/14.jpg)
Training
• Hand out the Training Material
• To be completed in 30 minutes
Discussion
• Walk through the Log
• Explaining the log results
• Highlight the Key words and lesson learned.
Session 9 - Scroll Slide 15
![Page 15: Session Objectives Object Type – Scroll Purpose and Usage How to use it in PTF Session 9 - ScrollSlide 2](https://reader036.vdocument.in/reader036/viewer/2022062308/56649eec5503460f94bfe177/html5/thumbnails/15.jpg)
Q & A and Comments
Session 9 - Scroll Slide 16