Comparing Replay and Record TrueLogs

When testing SAPGUI applications, differences can occur in corresponding control values between replay and record TrueLogs. Some differences may result in replay errors.

  1. Open a replay Truelog and click Analyze Test. The Analyze Test dialog box displays.
  2. Click Compare your test. The associated record TrueLog opens in compare view. The Step through TrueLog dialog box displays.
  3. 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.
  4. Click Find Next to advance to the first API call, roundtrip, window, customizable call, or error.
  5. 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.
  6. Click Try Script Run to confirm that your customizations run without error.
  7. Repeat this procedure as many times as is required until your script is fully customized and all necessary customizations have been added.
  8. Turn off compare mode by performing one of the following steps:
    • Choose View > Compare Mode .
    • Click the Compare Mode icon.