FLuent wait

Ask general questions here.
Posts: 118
Joined: Fri Jan 04, 2019 1:38 pm

FLuent wait

Post by rsudhak » Tue Apr 02, 2019 12:41 pm

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)

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


User avatar
Ranorex Guru
Ranorex Guru
Posts: 6781
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: FLuent wait

Post by odklizec » Tue Apr 02, 2019 3:00 pm


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?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration