I am beginner in Ranorex and I am following the Ranorex tutorial. I run it and it works. Then I run the same test with different input data. I faced 2 errors:
1. In the Spy View, all the icons are red and it is written the elements for the respitory folder "MAinForm" could not be found.
2. When I run the program, this error occurs:
Failed to find item 'myFirstTryRepository.MainForm.Edit'.
No element found for path '/form[@controlname='MainForm']/?/?/menuitem[@accessiblename='Edit']' within 1m.
I increase the search time to 30ms but still it has not been solved.
I would be thankful to guide me.
Technology specific object identification, supported applications, web technologies, and 3rd party controls.
2 posts • Page 1 of 1
Most like this problem has nothing to do with the timeout and, instead, is related to an incorrect XPath. Use Ranorex Spy to TRACK the menu item again and verify that the XPath that Spy generates for it is the same as the one you have in the repository. If it isn't then you need to change the XPath in the repository so that it points at the correct element.
Shortcuts usually aren't...