Hello.
I want to get cell colour and I found following post:
https://www.ranorex.com/forum/get-backg ... tml#p28331
But I recieved following error: The type or namespace name 'Control' does not exist in the namespace 'Ranorex' (are you missing an assembly reference?)
What I'm doing wrong?
Ranorex.Control does not exist
-
- Posts: 254
- Joined: Tue Mar 24, 2015 5:05 pm
- Location: Des Moines, Iowa, USA
Re: Ranorex.Control does not exist
Can you post a snapshot from the Ranorex Spy (NOT A SCREENSHOT)? This would help immensely.
Doug Vaughan
-
- Posts: 30
- Joined: Fri Sep 09, 2016 10:14 am
Re: Ranorex.Control does not exist
Sorry, how is the snapshot related to my question?
-
- Posts: 254
- Joined: Tue Mar 24, 2015 5:05 pm
- Location: Des Moines, Iowa, USA
Re: Ranorex.Control does not exist
i.vasilyev wrote:Sorry, how is the snapshot related to my question?
This will give us more information about the object you're working with and how Ranorex is identifying it.
Doug Vaughan
-
- Posts: 30
- Joined: Fri Sep 09, 2016 10:14 am
Re: Ranorex.Control does not exist
Ranorex version 7.0.1
I'm asking not about some ranorex element or something similar. I'm asking about Control class and how can I get access to it and use InvokeRemotely method?
https://www.ranorex.com/Documentation/R ... ontrol.htm
I'm asking not about some ranorex element or something similar. I'm asking about Control class and how can I get access to it and use InvokeRemotely method?
https://www.ranorex.com/Documentation/R ... ontrol.htm
-
- Posts: 254
- Joined: Tue Mar 24, 2015 5:05 pm
- Location: Des Moines, Iowa, USA
Re: Ranorex.Control does not exist
When I whip out a basic form with a DGV as described in the example I get the code snippet to run without a problem.
You do not have the required permissions to view the files attached to this post.
Doug Vaughan
-
- Posts: 30
- Joined: Fri Sep 09, 2016 10:14 am
Re: Ranorex.Control does not exist
Can you provide your example? With usings please
-
- Posts: 30
- Joined: Fri Sep 09, 2016 10:14 am
Re: Ranorex.Control does not exist
Ranorex.Plugin.WinForms was missed. The problem is solved