Skip to Content
0
Former Member
Jun 09, 2015 at 02:31 PM

Screen Personas 3 - Selecting a tab via scripting fails (control not found)

314 Views

I'm facing the following (from my point of view "simple") problem: I've a screen containing a GuiTabStrip and I want to go to a different tab via script and then proceed with executing some functionality on this tab also via script. Well, I thought this would be a simple issue. So I recorded the following very simple script:

session.findById("wnd[0]/usr/...").select();

with wnd[0]/usr/... pointing to the respective tab.

But when executing the script, I get the following error:

Error during script execution:Error: RestGui Batch Request Error: Step 0 ({"post":"action/4/wnd[0]/usr/..."}) failed: -102 [control not found]

Any idea what I'm doing wrong?

I've checked the Id of the tab via the inspector - it's ok.

Thanks in advance,

Stefan