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\user.name\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 https://community.hpe.com/favicon.ico
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 https://community.hpe.com/t5/forums/searchpage/tab/message?allow_punctuation=true&filter=location&location=Board:sws-LoadRunner_SF&q=%25QUERY%25
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.