I am having the following problem, which is proving a little tricky to solve.
I am currently coding and building tests on a Windows 7 (x64) machine with Ranorex Studio installed. I can execute the test(s) fine on this machine - no problems there.
However, my plan is to 'push' the built .exe to a VM (on Hyper-V) with the exact same config, Windows 7 (x64) but with only the Ranorex runtime installed.
However, when I execute the tests on that machine I get the following object recognition/security issue;
Code: Select all
Ranorex.ElementNotFoundException: Failed to find item 'TestRepository.FormLogin.TextUser_name'. ---> Ranorex.ElementNotFoundException: No element found for path 'text[@accessiblename='uixUserNameTextBox']' within 10s.
--- End of inner exception stack trace ---
at Ranorex.Core.Repository.RepoItemInfo.Find[T](Boolean findSingle, Boolean throwException)
at Ranorex.Core.Repository.RepoItemInfo.CreateAdapter[T](Boolean throwException)
at
- Ensured that the AUT and Ranorex .exe files all have permission to run as Admin
Ensured that the 64/32 bit debug bridge is activated on the dev machine.
Switched off UAC on both machines (completely)
Ensure that the tested is compiled to 32 bit (as the AUT is 32 bit) and that it is compiled to .NET 4.0 (as per AUT)
Added an app.config file and ensured that the respective .exe is in the build folder.
Any thoughts or ideas you could provide would be appreciated. I've run out of them.
Chris