Hiya
In our GUI automation framework we have a functional code class for each window in the AUT
All our functional window classes expose business methods to test cases
Each functional window class inherit from a base class, and we would like the base class to inherit from Ranorex.Form
e.g.
- Ranorex.Form
- - FunctionalWindowBase
- - - UserLoginWindow
- - - ExitApplicationWindowe
etc.
However it seems than Ranorex.Form methods are not overridable
Can that be changed in future release's?
Thanks
Inheriting from Ranorex.Form
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Inheriting from Ranorex.Form
Hi atom,
There shouldn't be a problem to add override methods to the Ranorex.Form class.
I will add a feature request to our internal bug tracking tool.
Regards,
Peter
Ranorex Team
There shouldn't be a problem to add override methods to the Ranorex.Form class.
I will add a feature request to our internal bug tracking tool.
Regards,
Peter
Ranorex Team
Re: Inheriting from Ranorex.Form
Ok cool thanks
The .Close method is one we want to over-ride
This is because in the functional class for the window we cache some data
If a test does Form.Close that cached data is not cleared
So we want to inherit from Form, override Close method, clear our data cache, then call MyBase.Close
Thanks
The .Close method is one we want to over-ride
This is because in the functional class for the window we cache some data
If a test does Form.Close that cached data is not cleared
So we want to inherit from Form, override Close method, clear our data cache, then call MyBase.Close
Thanks