When testing SAPGUI applications, differences can occur in corresponding control values between replay and record TrueLogs.
Some differences may result in replay errors.
Open a replay Truelog and click
Analyze Test.
The
Analyze Test dialog box displays.
Click
Compare your test.
The associated record TrueLog opens in compare view. The
Step through TrueLog dialog box displays.
In the
Step through TrueLog dialog box, select the
appropriate option button. You can advance through:
All
API calls (each API node)
All
Roundtrips (SapGuiRoundtrip calls)
All
Windows (SapGuiSetActiveWindow nodes)
All
Customizable calls (the next node in which field value changes can
be customized)
All errors
TrueLog On Error files are searched sequentially, as they
are recorded in time.
Click
Find Next to advance to the first API call,
roundtrip, window, customizable call, or error.
Visually compare the values and states of the controls and screenshots to see if there are any differences.
Based on any differences you discover, complete any required customizations.
Click
Try Script Run to confirm that your customizations run without error.
Repeat this procedure as many times as is required until your script is fully customized and all necessary customizations
have been added.
Turn off compare mode by performing one of the following steps: