Subclassing Role and Adapter
-
- Posts: 3
- Joined: Tue Apr 07, 2009 1:58 am
Subclassing Role and Adapter
If I were to subclass Ranorex.Core.Role and Ranorex.Adapter is the there currently away to have the Ranorex tools (Spy, Recorder, etc.) make use of my extensions as it would the built-in Role class and the various built-in Adapter derivations?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
-
- Posts: 3
- Joined: Tue Apr 07, 2009 1:58 am
Any ETA for the release of that mini-SDK?
As for the statement "Subclassing those classes does not work", I see that Ranorex.Core.Role is sealed; however, Ranorex.Adapter does not appear to sealed.
Does Ranorex.Adapter have some methods, which are necessary to call when implementing a derived class, marked as internal?
As for the statement "Subclassing those classes does not work", I see that Ranorex.Core.Role is sealed; however, Ranorex.Adapter does not appear to sealed.
Does Ranorex.Adapter have some methods, which are necessary to call when implementing a derived class, marked as internal?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Sorry, no ETA yet for the Plugin SDK.
To your question:
Of course you can subclass "Adapter" or the existing Adapter classes if you want to add specific functionality or "remix" existing functionality; but the tools wont be aware of it. For this to work, things need to be added "under the hood", which requires implementing a "FlavorPlugin" and dependent bits.
Is there anything special you want to accomplish by creating your own plugin?
Michael
Ranorex Team
To your question:
Of course you can subclass "Adapter" or the existing Adapter classes if you want to add specific functionality or "remix" existing functionality; but the tools wont be aware of it. For this to work, things need to be added "under the hood", which requires implementing a "FlavorPlugin" and dependent bits.
Is there anything special you want to accomplish by creating your own plugin?
Michael
Ranorex Team
-
- Posts: 3
- Joined: Tue Apr 07, 2009 1:58 am
It would be so that we could create adapters for our in-house developed UI elements and have the Ranorex tools make use of those adapters when spying or recording.Support Team wrote:Sorry, no ETA yet for the Plugin SDK.
To your question:
Of course you can subclass "Adapter" or the existing Adapter classes if you want to add specific functionality or "remix" existing functionality; but the tools wont be aware of it. For this to work, things need to be added "under the hood", which requires implementing a "FlavorPlugin" and dependent bits.
Is there anything special you want to accomplish by creating your own plugin?
Michael
Ranorex Team