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?

View Entire Topic
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?