Issue with InvokeRemotely() in .NET 4.0 framework VS2010
Posted: Tue Sep 20, 2011 12:13 pm
Hi,
I have been using Ranorex with .NET 4.0 framework and things were working fine until I used the InvokeRemotely() method to manipulate DevExpress controls. If I switch to .NET 3.5 framework, I'm able to use Ranorex InvokeRemotely() and automate the DevExpress controls without any issues.
Much of my solution has evolved on .NET 4.0 framework and it is not possible for me to revert the entire solution to .NET 3.5. I have also applied the useLegacyV2RuntimeActivationPolicy attribute in application configuration, but this hasn't resolved the problem. (http://www.ranorex.com/forum/how-to-use ... t1489.html)
Operating System : Windows 7 64-bit
Ranorex Spy Version : 3.0.5.13548
Exception: Ranorex.ActionFailedException {"Action 'invokeremotely' failed on element '{Container:m_ComboBox}'."} where the m_ComboBox is DevExpress control.
Can you please provide me a solution as I'm not able to proceed further due to this issue.
Thanks,
Shobana
I have been using Ranorex with .NET 4.0 framework and things were working fine until I used the InvokeRemotely() method to manipulate DevExpress controls. If I switch to .NET 3.5 framework, I'm able to use Ranorex InvokeRemotely() and automate the DevExpress controls without any issues.
Much of my solution has evolved on .NET 4.0 framework and it is not possible for me to revert the entire solution to .NET 3.5. I have also applied the useLegacyV2RuntimeActivationPolicy attribute in application configuration, but this hasn't resolved the problem. (http://www.ranorex.com/forum/how-to-use ... t1489.html)
Operating System : Windows 7 64-bit
Ranorex Spy Version : 3.0.5.13548
Exception: Ranorex.ActionFailedException {"Action 'invokeremotely' failed on element '{Container:m_ComboBox}'."} where the m_ComboBox is DevExpress control.
Can you please provide me a solution as I'm not able to proceed further due to this issue.
Thanks,
Shobana