Page 1 of 1

FLuent wait

Posted: Tue Apr 02, 2019 12:41 pm
by rsudhak
Hi all, is there a way to have something similar to a fluent wait in selenium, in Ranorex to have dynamic wait

Wait wait = new FluentWait(WebDriver reference)
.withTimeout(timeout, SECONDS)
.pollingEvery(timeout, SECONDS)
.ignoring(Exception.class);


Also. I have a scenario wherein for my desktop app, I have 2 combo boxes, when I select an item in the first combo box, the second combo box gets loaded with data based on the item selected in the first combo box, I need to make sure the second combo box is fully loaded before trying to select from it, is there a way to do it? something similar to what we have for web-based application, wait for the document to load

Thanks,
Rajee

Re: FLuent wait

Posted: Tue Apr 02, 2019 3:00 pm
by odklizec
Hi,

There is no such kind of Wait in Ranorex, but I think you can easily to cook up a custom method like this, using Delay and timer?

As for you second question, if I understand your problem right, you want something like waitfordocumentloaded just for desktop app? I'm afraid, there is no such functionality available. I think you will just have to wait for certain element to appear in UI or given combobox?