There are two primary reasons why some items can't be found during replay:
- Search timeout: Each element and each folder stored within the objects repository defines is it's own timeout used for search. In many cases it is required to wait for a dialog before continuing automation. Use the 'SearchTimeout' property to define the maximum time to search for the specified element.
- Wrong RanoreXPath: Start the application under test and make sure that the relevant GUI object is visible. Check the object's RanoreXPath within the repository browser using the 'Highlight Element' context menu item to see if Ranorex can find the element. Open Ranorex Spy to track the specified GUI object again. Compare the absolute path, shown within the object repository's property grid, with the given RanoreXPath provided by Ranorex Spy. If the given path by Ranorex Spy differs from the path represented by the repository use the path from Spy to the repository.