Hi Thomas,
The Tellurium Frame object provides two methods:
void selectParentFrame(Closure c){
c("relative=parent")
}
void selectTopFrame(Closure c){
c("relative=top")
}
That is to say, Tellurium uses selectParentFrame to go back to the
parent frame
and selectTopFrame to go back to the top frame. In DslContext, the
methods that users
should use are as follows,
def selectParentFrameFrom(String uid) {
WorkflowContext context = WorkflowContext.getDefaultContext()
ui.walkTo(context, uid)?.selectParentFrame() {String loc ->
eventHandler.selectFrame(loc)
}
}
def selectTopFrameFrom(String uid) {
WorkflowContext context = WorkflowContext.getDefaultContext()
ui.walkTo(context, uid)?.selectTopFrame() {String loc ->
eventHandler.selectFrame(loc)
}
}
i.e., you should use "selectParentFrameFrom frame_name" and
"selectTopFrameFrom frame_name"
in your UI module.
Have you tried them?
Thanks,
Jian