“Expected identifier” error takes place when replaying a SAP test recorded using a localized version of QuickTest Professional 10.0

When recording a SAP test against SAP GUI 7.10 on a computer where the User Interface Pack is installed, QuickTest Professional replaces the method names in recorded steps by gibberish characters. These characters cause the test to fail with an "Expected identifier" error during replay.

For example, QuickTest Professional will record:

SAPGuiTable("Table_Name").###?

Instead of:

SAPGuiTable("Table_Name").Input "…"

To fix the problem install hotfix "QTPSAP_00010 – Prevent Method Names from Being Recorded as Non-English Characters When Using SAP Add-in with a Localized Version of QuickTest".

Leave a Comment