06-06-2016 1:54 PM
Hi GuiXT Script Expert,
While doing recording of GuiXT Script, getting different-2 element name for Development and SandBox System. Initially I recorded script in Sandox adn everything is working fine in Sandbox but when tried to run same script in Development system then getting error.
In SandBox getting below line during record and this recording is for t-code OX10
session.findById("wnd[0]/usr/ctxt[0]").text = "5504"
But in development getting
session.findById("wnd[0]/usr/ctxtV_T001W-NAME1").text = "5504"
now due to different-2 recording, system is throwing error when trying to executing same script in Development.
Please help how to resolve above problem.
06-06-2016 9:31 PM
06-07-2016 7:15 AM
There was exactly the same question in the forum (https://scn.sap.com/thread/3529951), and proposed to use findByName to avoid these incompatibilities between systems
session.findById("wnd[0]").findByName("V_T001W-NAME1","GuiTextField").text
Could you check on both systems if it works?