07.08.2017
The process flow analysis functionality has ability to insert check points in the test cases. The end user
can insert suitable check points while recording a process flow analysis and can provide suitable
conditions. The checkpoints are inserted as components in the SAP TAO generated test cases in SAP
Quality Center by HP. Of course, the test fails if the check point fails.
It is possible to check the value of many properties exposed by the SAP GUI scripting APIs of a UI control
and the main comparison operators are permitted by SAP TAO are:
equals (“=”)
greater or equals (“>=”)
greater (“>”)
less or equals (“<=”)
less (“<”)
different (“<>”)
When the check point is created, the value of the selected property is automatically retrieved and is set
by default.
Note:
Please keep in mind that the purpose of the Checkpoint is to validate output values as they are displayed
by the application after a round-trip to the backend system. Checking input values (i.e.: values that have
just been entered by the test engineer) does not make sense and may have a side-effect at runtime
because the check itself will be performed before setting the value.
1. First, this functionality needs to be enabled. By default it is the case, but it can be configured through
the SAP TAO configuration, in the PFA tab with the “Add Checkpoint” radio button.
2. Start process flow analysis of any transaction.
3. In the PFA Controller, click on Add Checkpoint.
InitializeContext
LaunchAndLogin
3. Add the wait component (Normally wait time is 5 seconds) before taking the status bar
message screenshot
4. Naming convention for Output value is DT_Tcode_ Description(Eg:
DT_VA01_SALES_ORDER_NO)
5. Apply below color coding in data sheet:
Yellow Green - Verification Points
Red - For the values which needs to change for every execution
Yellow – Output values
Reference data column color –
The data which is as input and don’t change every time make it that
in NO FILL
6. Naming convention for T-Code in data sheet is DT_SAPTRANSACTIONCODE_TcodeName (Eg
DT_SAPTRANSACTIONCODE_ME21n
7. Some commonly used formulae in the Datasheet as applicable are in the table below -
Purpose Formula Usage Example
OR
OR
="Document "&S2&" is
successfully created"
="String1" & "String 2"
8. Apply the reference formulae (=ColumnName) in data sheet if we passing same input data.
9. Some commonly used verification business components as applicable are listed in the table below
-
Business Component Purpose ALM Path
Name
CheckProperty To validate the message displayed on SAP Front End --> Controls
status bar
GetMessageParameters To get content from SAPGuiStatusBar SAP Front End --> Controls -->
GuiStatusbar
IMP NOTE
Close the UFT bubble from the bottom right corner on your system so that the SAP system info/Tcode
value is visible in the screen print captured.
SAP TAO Automation Learning Document