Closed GoogleCodeExporter closed 9 years ago
Apparently, there are two errors
1) In Window.groovy
void waitForPopUp(int timeout, Closure c){
// c(name, timeout) should be the following
c(name)
}
2) DslContext should be changed to use the following
def waitForPopUp(String uid, int timeout){
WorkflowContext context = WorkflowContext.getDefaultContext()
ui.walkTo(context, uid)?.waitForPopUp(timeout) {String loc ->
accessor.waitForPopUp(loc, Integer.toString(timeout))
}
}
Original comment by John.Jian.Fang@gmail.com
on 18 Nov 2008 at 9:19
Original comment by John.Jian.Fang@gmail.com
on 19 Nov 2008 at 10:00
Original issue reported on code.google.com by
John.Jian.Fang@gmail.com
on 18 Nov 2008 at 2:12