def boolean waitForElementPresent(WorkflowContext context, String
locator, int timeout) {
//boolean result = false
for (int second = 0; second < timeout; second += 500) {
try {
if (cbp.isElementPresent(context, locator)) {
//result = true
return true
}
} catch (Exception e) {
}
Helper.pause(500)
}
//return result;
return false
}
Did you see multiple commands issued to Selenium server during the
wait time? If not, on which command did Tellurium hang?
Perhaps you could also try to delay the tests for a while and run the
tests after the redirect.
Thanks,
Jian
> --
> You received this message because you are subscribed to the Google Groups "tellurium-users" group.
> To post to this group, send email to telluri...@googlegroups.com.
> To unsubscribe from this group, send email to tellurium-use...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/tellurium-users?hl=en.
>
>