Page 1 of 1

Ranorex going to infinite stage

Posted: Mon Feb 20, 2017 3:12 pm
by Rohit2911
Hi

Question 1
I am using ranorex 5.3.2 method for automating my windows based application
but sometime while using Host.Local.FindSingle<Element>(path, timeout) method
ranorex is infinetly searching for the element.


Question 2
What is the default time out for Host.Local.FindSingle<Element>(path) method.


I am using windows 10 operating system.

Re: Ranorex going to infinite stage

Posted: Tue Mar 14, 2017 6:06 pm
by N612
A1: What timeout are your entering? What path are you searching for? A Ranorex Snapshot will help us better understand your environment.
http://www.ranorex.com/support/user-gui ... files.html

A2: With no timeout set, it will fail as soon as it finishes searching all element's within your path.This varies on your environment and machine specs. With a timeout, it will wait for the element to exist, and fail if it never does.