Ranorex going to infinite stage

Ask general questions here.
Rohit2911
Posts: 1
Joined: Mon Feb 20, 2017 2:47 pm

Ranorex going to infinite stage

Post by Rohit2911 » Mon Feb 20, 2017 3:12 pm

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.

User avatar
N612
Posts: 62
Joined: Mon Jul 11, 2016 4:01 pm

Re: Ranorex going to infinite stage

Post by N612 » Tue Mar 14, 2017 6:06 pm

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.