I have a List in a View and a context menu for this View. ListItemLocator can find my List, the statement
ui.click(new ListItemLocator("DTObjA"));
works correctly, but the contextClick does not work, neither without parent locator
ui.contextClick(new ListItemLocator("DTObjA"), "ContMenuStubEntryA");
nor with
ui.contextClick(new ListItemLocator("DTObjA", new ViewLocator("com.subsystem.ViewStub")),"ContMenuStubEntryA");
The error is an exception.
Of course context menu manually work well.
ContextClick works well with something out the View, for instance:
ui.contextClick(new CTabItemLocator("ViewStub"), "&Close");
The problem seems to be, it can not locate something inside the View.
Thank