Condition based menu /tab selection

Create a Test Object with the preselected name in it then…

WebUI.click(findTestObject("/path/to/preselectednameobject"))

If that’s not any help, then try reading this and responding accordingly. That way you can help me and maybe, just maybe, I can help you. :confused: