Wait for has suddenly stopped waiting for.

Ranorex Studio, Spy, Recorder, and Driver.
dmconsulting1
Posts: 169
Joined: Fri Nov 08, 2019 3:23 pm

Wait for has suddenly stopped waiting for.

Post by dmconsulting1 » Tue Nov 22, 2022 11:55 pm

I have a wait for exists on an object that has a variable waitTime. It used to wait based on the value but for some reason it has stopped. Now I get an error that Invocation did not finish within the timeout of '00:00:05'. and the test fails. It is currently set to 20 minutes but you can see based on the time stamp that didn't happen.
waitTime.png
So why would it suddenly stop working and how can I make it work again? Ranorex 9.5.3 and nothing has changed since it last worked.
You do not have the required permissions to view the files attached to this post.

dmconsulting1
Posts: 169
Joined: Fri Nov 08, 2019 3:23 pm

Re: Wait for has suddenly stopped waiting for.

Post by dmconsulting1 » Wed Nov 23, 2022 1:20 am

So for fun I copied the line, pasted it bellow and disabled the original and it is working now.

dmconsulting1
Posts: 169
Joined: Fri Nov 08, 2019 3:23 pm

Re: Wait for has suddenly stopped waiting for.

Post by dmconsulting1 » Wed Nov 23, 2022 1:41 pm

And if I disable the "new" one and enable the original, it still fails. So I guess I will use the "new" one until it stops working for some unknown reason.
waitForError.png
You do not have the required permissions to view the files attached to this post.

dmconsulting1
Posts: 169
Joined: Fri Nov 08, 2019 3:23 pm

Re: Wait for has suddenly stopped waiting for.

Post by dmconsulting1 » Wed Nov 23, 2022 3:46 pm

I lied, its not waiting either. So why is it not waiting?

dmconsulting1
Posts: 169
Joined: Fri Nov 08, 2019 3:23 pm

Re: Wait for has suddenly stopped waiting for.

Post by dmconsulting1 » Wed Nov 23, 2022 4:03 pm

Here is the stack trace of the error:

at Ranorex.Core.Repository.RepoItemInfo.WaitForExists(Duration waitTimeout)at P38.Modules.Recipe_Functions.Run_Simple_Recipe_With_Handler.Ranorex.Core.Testing.ITestModule.Run() in c:\Work\Temp\Geode\Geode.Ranorex\P38\Modules\Recipe Functions\Run_Simple_Recipe_With_Handler.cs:line 216at Ranorex.Core.Testing.TestModuleLeaf.RunInternal(DataContext parentDataContext, Int32 iteration, Int32 iterationCount, Boolean skipIteration)

dmconsulting1
Posts: 169
Joined: Fri Nov 08, 2019 3:23 pm

Re: Wait for has suddenly stopped waiting for.

Post by dmconsulting1 » Mon Nov 28, 2022 6:16 pm

So while I still don't understand why this started happening, it seems increasing the adapter.functionexecutiontimeout setting in the solutions settings resolves it.
executionTimeoutSetting.png
You do not have the required permissions to view the files attached to this post.