“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".

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s