after updating from Ranorex 6.1 to 7.0 our tests have some problems.
Now we always get a warning at the beginning of the test:
This warning wasn't shown in Version 6.1 and we read the article carefully: looks like we didn't start Ranorex and the application using the same privileges.The automating process does not have the required security permissions to access the process 'Profi32'. UI element identification capabilities for controls in that process are limited.
Process: 'Profi32' (pid 7896)
The following website provides more information on this technology limitation:
http://www.ranorex.com/support/user-gui ... html#c3252
(This message is only shown once per report.)
Later the test Ranorex failed to find a .NET-Form which always could be found using Ranorex 6.1.
First we got a warning:
And then the form couldn't be found:This control (from process 'Profi32') seems to be a Windows Forms control, but was not recognized as such, possibly due to a security limitation. UI element identification capabilities for this control may be limited.
If this control is a WinForms control, please make sure that the automating process has the rights to access the automated application. Otherwise, please ignore this limitation.
Process: 'Profi32' (pid 7896)
The following website provides more information on this technology limitation:
http://www.ranorex.com/support/user-gui ... html#c3250
(This message is only shown once per report.)
When we start the Studio with admin-privileges Ranorex is able to find this item and the test is green. When we start the Studio without admin-privileges Ranorex isn't able to find this item and the test turns red.Failed to find item 'SucheRepository.StandardSucheSQL.Self'.
Ranorex always starts the application using
Ranorex.Host.Local.RunApplicationWe are using Ranorex 7.0 ("Enable 32/64 Bit Bridge" ist turned on) on Win 7 Pro and Win10 Pro (UAC is always turned off). Jenkins starts Ranorex with local agents on the Ranorex-Runner to perform the tests.
How do we have to start the application that Ranorex and the application always use the same user-rights?
Or: How do we have to start Ranorex by Jenkins that Ranorex and the application always use the same user-rights?
Regards,
BcTest.