cancel
Showing results for 
Search instead for 
Did you mean: 

Error during script execution

former_member195355
Participant
0 Kudos

Hi Everyone,

When I use the https://yyy.co.uk/sap/bc/gui/sap/its/webgui? url and I try to load a flavor with a script associated with it, I encounter this error:

The script is simply:

session.findById("wnd[0]/usr/ctxtGRPDYNP-NAME_COALL").text = "LA1";

//session.findById("wnd[0]/usr/ctxtGRPDYNP-NAME_COALL").setFocus();

session.findById("wnd[0]/tbar[1]/btn[6]").press();

session.findById("wnd[1]/usr/btnBUTTON_1").press();

session.findById("wnd[0]/usr/lbl[0,0]").setFocus();

session.findById("wnd[0]/tbar[1]/btn[8]").press();

session.findById("wnd[0]/mbar/menu[1]/menu[7]/menu[4]").select();

Has anyone seen this error before?

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Did you get this script by recording? (looks like you did, just checking)
If so, did you change anything after capturing it?
Also, is the last client sources note version implemented?

Accepted Solutions (0)

Answers (2)

Answers (2)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

There are different handlers for the personas vs. the webgui services. The former uses an older handler. Depending on your basis release, the older handler call is forwarded to the newer one and usually everything works fine with both.

I can imagine some constellation where the older handler works better than the newer one for a specific case, although this shouldn't really happen. Not being sufficiently familiar with the inner workings of the new webgui handler, this may be something the ITS team could assist with. So perhaps a ticket created for component BC-FES-ITS or BC-FES-WGU would be the way to go to get explanation why the personas service behaves differently. This doesn't seem to be a Personas problem to me.

former_member195355
Participant
0 Kudos

Hi Tamas,

Yes you are correct, I got the script via recording.

The client sources are up to date:

The odd thing is that the script works fine when I use a url with https://yyyyy/sap/bc/personas but the same script doesn't work with https://yyyyy/sap/bc/gui/sap/its/webgui

Not sure if there is anything that you would like me to try?