cancel
Showing results for 
Search instead for 
Did you mean: 

Loadrunner 9.5 - SAPGUI 7.10 scripting errors - Failed to find SapGui compo

Former Member
0 Kudos

Hi,

I am performing performance testing for SAP Project.

My problem is that SAPGUI components changes during the time.

When I run transactions and record transactions, components works.

After few hours or few days, scripts are not functional anymore.

Some of the components has been changed in SAPGUI.

most trouble some is area for Purchase Orders e.g ME21N - ME59N

But I have some similar problems in other areas. e.g.

transaction ZWM_PICK1

vuser_init.c(888): Warning: Failed to find SapGui component by ID "usr/txtSEL_QTY"

transaction VA01

vuser_init.c(183): Warning: Failed to find SapGui component by ID "usr/tabsTAXI_TABSTRIP_OVERVIEW/tabpT\06"

SAP Netweaver GUI for windows

Loadrunner 9.5

OS : Windows XP

SAPLOGON 7.100.3.12.1042

Version : 1046700

SP : 12

SAPGUI settings

rz11, sapgui/scripting, enabled

ALT+F12 scripting enabled

F4 helps in modal

Any ideas about following

1.

WHAT IS DIFFERENCES IN RZ11 values Current Value and ProfileVal?

Currently only Current values is True!

Is there a need to have Profival = True?

2.

I found one old, related fix.

Is this needed also for current version of SAP?

SAP NOTE : 213949

Accepted Solutions (0)

Answers (1)

Answers (1)

karsten_heth
Active Participant
0 Kudos

Hi Toni,

1.

The ProfileVal will be set after a reboot of the SAP server. If your ProfileVal is set to FALSE and the "Current value" is TRUE, it will be reset to FALSE after a restart of the server.

If you want to make the setting permanent, an administrator has to edit the application server profile of the SAP System to include sapgui/user_scripting = TRUE. Then scripting will be enabled by default when the server is restarted.

2.

The SAP note you mentioned gives a solution for transaction ME21N, but you are facing a general problem here. Lots of transactions show or hide fields or tab strips depending on the given input data. If you try to fill a field with your script which is currently hidden on the screen, you will get an error message as shown.

Regards,

Karsten

Former Member
0 Kudos

Thanks for your answers,

This will help me greatly

Former Member
0 Kudos

I have also found that using a dedicated test ID that is used only for running these particular tests helps greatly with hidden fields and user layout variances.