NOTICE: Branded Content
NOTICE: Certain versions of content (“Material”) accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.
LoadRunner User Discussions

SAP Gui ComboBox select

ThisIsShubham Contributor.

SAP Gui ComboBox select

Hi All,

This is regarding the SAP Gui automation using Loadrunner.

I am aware of SAP Gui but new to loadrunner tool. Need to the performance testing.

I am facing one issue while automating SAP Gui

Issue is: While selecting the dropdown for some value it is getting failed.

One popup gets open then we have to select one value.

here is the code:

    sapgui_select_combobox_entry("TEW Type", 
        "0001 Standard", 


0001 Standard is the value which i have to select.

But this step is getting failed.

Can you please help me out.

Thanks in advance.



Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: SAP Gui ComboBox select



How are you?


For this could you share the following.

* Version of Load Runner you are using?

* Vugen log. Path: 

Type %temp% and press Enter button  

Search file named HP.LR.VuGen 

<Installation direcoty>:\Users\\AppData\Local\Temp

*Exact error message that displays when you tried to expand the comboBox?


Awaiting on your response.



ThisIsShubham Contributor.

Re: SAP Gui ComboBox select


I am fine. Thanks for replying.

Loadrunner version- 12.55

that error got resolved. I have enabled "Replay using running SAP logon application" setting in runtime settings.

But i think this is not the best practice.

However, I am getting now new error which is "Error: Failed to set OKCode "/nwb21"".

here is the vugen log:

2018-06-26 13:29:48,056 VUGEN [ 7] ERROR - Exception happened when requesting the web page
System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
at System.Net.HttpWebRequest.GetResponse()
at HP.LR.VuGen.FrontEnd.GeneralAddins.VuGenHelp.Community.WebRequestHelper.DownloadIconToDisk(String dir, String fileName, String iconUrl) in e:\LT\LT-CORE\win32_release\12.55.911.0\app\VuGen\FrontEnd\Current\GeneralAddins\VuGenHelp\Community\WebRequestHelper.cs:line 234
2018-06-26 13:29:48,720 VUGEN [ 17] ERROR - Exception happened when handling the response of web page
System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at HP.LR.VuGen.FrontEnd.GeneralAddins.VuGenHelp.Community.WebRequestHelper.FetchFavoriteIconCallback(IAsyncResult result) in e:\LT\LT-CORE\win32_release\12.55.911.0\app\VuGen\FrontEnd\Current\GeneralAddins\VuGenHelp\Community\WebRequestHelper.cs:line 168


I hope you can find this useful and help me with this.

Thanks in advance.

Top Contributors Last 30 Days