Hi, i would like to share my new custom package. feel free to use it and ask me any questions
1. Go to transaction code - go to specified t-code.
Video Example https://youtu.be/vxaT8X8o6Hs?t=2
2. Import Text File to SAP List - Batch import data to SAP using a text file.
Video Example:
https://youtu.be/vxaT8X8o6Hs?t=12
Inputs
- Selector of “More items” button
- input file path (text file)
3. Filter page - filter SAP Table based on input dictionary.
Video Example https://youtu.be/vxaT8X8o6Hs?t=71
Inputs:
- in_filterDictionary:
- in_filterButtonSelector - selector of filter button
Example dictionary:
New Dictionary(Of String, String()) From {{“Location”,{“Loc1”,“”}},{“Date”,{“2019.10.19”,“2020.10.19”}},{“Time”,{“10:00:00”,“12:00:00”}}}
Result:
4. ClickExecuteAndCheckResult - Standardized sequence that will click execute button in SAP and handle all scenarios:
Video Example https://youtu.be/vxaT8X8o6Hs?t=181
This is a standardized sequence that will click execute button in SAP and handle all scenarios
- Success case
- Fail case (where it will send Business Exception)
- Timeout (where it will send System Exception)
(Note that you need to provide the selectors to it to tell it what is success and what is fail)
Success case includes:
- Landing in success page (you can capture a selector in this page and pass it to the sequence)
- Status bar showing success message e.g.
(you can capture the message and pass to the
sequence)
Fail case includes: (throws Business Exception)
- Landing in fail page (you can capture a selector in this page and pass to the sequence)
- Status bar showing message with type=Error e.g.
(you don’t have to capture the message
as any message with type=”Error” will be treated as Fail - Status bar showing message with type NOT = Error but the message indicates an error. E.g.
(in this case you need to pass this message to the sequence)