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.
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.
Wait for has suddenly stopped waiting for.
-
- Posts: 169
- Joined: Fri Nov 08, 2019 3:23 pm
Wait for has suddenly stopped waiting for.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 169
- Joined: Fri Nov 08, 2019 3:23 pm
Re: Wait for has suddenly stopped waiting for.
So for fun I copied the line, pasted it bellow and disabled the original and it is working now.
-
- Posts: 169
- Joined: Fri Nov 08, 2019 3:23 pm
Re: Wait for has suddenly stopped waiting for.
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.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 169
- Joined: Fri Nov 08, 2019 3:23 pm
Re: Wait for has suddenly stopped waiting for.
I lied, its not waiting either. So why is it not waiting?
-
- Posts: 169
- Joined: Fri Nov 08, 2019 3:23 pm
Re: Wait for has suddenly stopped waiting for.
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)
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)
-
- Posts: 169
- Joined: Fri Nov 08, 2019 3:23 pm
Re: Wait for has suddenly stopped waiting for.
So while I still don't understand why this started happening, it seems increasing the adapter.functionexecutiontimeout setting in the solutions settings resolves it.
You do not have the required permissions to view the files attached to this post.