I only test webSites,so i don't need other plugins.how can i remove unNecessary Plugins. In the Solution, I remove the unusing References Plugin. After rebuilding, the removed Plugin is still there. i try to not install the plugins when install ing ranorex, but failed.
with the unNecessary Plugins .the buiding process is very slow .process of finding elements is also very slow.
so any way?
How to remove Unnecessary Plugins?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to remove Unnecessary Plugins?
Hello,
Basically, the number of enabled Ranorex flavors (technologies) should have only a very minor impact on performance. Consequently, disabling a flavor will most probably not speed up your automation, simply because the flavor was not used anyway if the AUT does not use that technology.
Performance problems usually have other causes, e.g. RanoreXPaths that are not specific enough or search too many elements. Could you post the code/RanoreXPath you use and a snapshot of the elements that cause trouble?
Do you get any warnings in the Ranorex report?
Anyway, just for completeness, you could disable a specific Plugin in User Code as shown below:
Disabling a flavor can have unwanted side effects. Many applications do not use a single technology; in other words, multiple Ranorex flavors are needed to automate a single application. For example:
The Win32Flavor is a base flavor and disabling it will basically render all other flavors useless.
The MsaaFlavor is used by nearly all technologies, especially in Win32, WinForms, and Web applications. So if you disable that flavor, some elements in such application will not be identified any more.
Regards,
Markus (T)
Basically, the number of enabled Ranorex flavors (technologies) should have only a very minor impact on performance. Consequently, disabling a flavor will most probably not speed up your automation, simply because the flavor was not used anyway if the AUT does not use that technology.
Performance problems usually have other causes, e.g. RanoreXPaths that are not specific enough or search too many elements. Could you post the code/RanoreXPath you use and a snapshot of the elements that cause trouble?
Do you get any warnings in the Ranorex report?
Anyway, just for completeness, you could disable a specific Plugin in User Code as shown below:
Ranorex.Plugin.Win32Flavor.Instance.Enabled = false; Ranorex.Plugin.JavaFlavor.Instance.Enabled = false; Ranorex.Plugin.MsaaFlavor.Instance.Enabled = false; Ranorex.Plugin.WebFlavor.Instance.Enabled = false; Ranorex.Plugin.ChromeWebFlavor.Instance.Enabled = false; Ranorex.Plugin.FlexFlavor.Instance.Enabled = false; Ranorex.Plugin.RawTextFlavor.Instance.Enabled = false; Ranorex.Plugin.WinFormsFlavor.Instance.Enabled = false; Ranorex.Plugin.WpfFlavor.Instance.Enabled = false; Ranorex.Plugin.MozillaWebFlavor.Instance.Enabled = false;Warning:
Disabling a flavor can have unwanted side effects. Many applications do not use a single technology; in other words, multiple Ranorex flavors are needed to automate a single application. For example:
The Win32Flavor is a base flavor and disabling it will basically render all other flavors useless.
The MsaaFlavor is used by nearly all technologies, especially in Win32, WinForms, and Web applications. So if you disable that flavor, some elements in such application will not be identified any more.
Regards,
Markus (T)
- taoyang987
- Posts: 19
- Joined: Sun Jan 06, 2013 8:43 am
Re: How to remove Unnecessary Plugins?
thanks i got it
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to remove Unnecessary Plugins?
Hello,
You are welcome
Regards,
Markus (T)
You are welcome

Regards,
Markus (T)
- taoyang987
- Posts: 19
- Joined: Sun Jan 06, 2013 8:43 am
Re: How to remove Unnecessary Plugins?
when installing , we can cancel the firefox or chrome plugin, why can't cancel the othe plugins?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: How to remove Unnecessary Plugins?
I think you are mixing up Ranorex Plug-ins and browser Add-ons.taoyang987 wrote:when installing , we can cancel the firefox or chrome plugin, why can't cancel the othe plugins?
All Ranorex plug-ins are always installed and you cannot deselect those plug-ins (listed under "Ranorex Main Components" in the setup). The plug-ins are DLLs that are placed in the .NET Global Assembly Cache (GAC).
You can however choose to not install specific browser add-ons (e.g. for Firefox, Chrome, IE) if you do not want to automate these browsers.
As Markus tried to explain before, there is usually little sense in not installing or disabling a Ranorex plug-in/flavor (=technology), because performance problems are only very rarely solved that way.
Regards,
Alex
Ranorex Team
- taoyang987
- Posts: 19
- Joined: Sun Jan 06, 2013 8:43 am
Re: How to remove Unnecessary Plugins?
thanks ,i got it.
- taoyang987
- Posts: 19
- Joined: Sun Jan 06, 2013 8:43 am
Re: How to remove Unnecessary Plugins?
i used qtp before, so i always think in that way 
