How to solve "LineageGlueRule 'cef_wpf_rule' caused SetAttributeFailedException on Execute"?
Posted: Mon Nov 05, 2018 10:15 am
Hello Forum,
after integration of stuff regarding "cefSharp" (based on Chromium Browser) we get during test excecution the below detailed described exception.
How to solve this?
Rx: 8.3.0
WPF application
Thanks in advance for a solution.
Regards
Klaus
----------- snippet from Rx logfile ------
2018-11-05 04:51:24.729| INFO|Ranorex.Plugin.CefUtil|start CEF injection into process 'Basereport', pid 7408, host-flavor: wpf, hwnd: 263132
2018-11-05 04:51:25.580|DEBUG|Ranorex.Report|Plugins: LineageGlueRule 'cef_wpf_rule' caused SetAttributeFailedException on Execute. Setting attribute 'Width' failed on element '{Container:CefBrowser}'. Failed to set property 'width' on RemoteObject 'WpfHandle{83f70ed8-b24c-4022-ba2b-ee1aab09861e}'. Unexpected exception during operation. '-1' is not a valid value for property 'Width'.
2018-11-05 04:51:25.580| INFO|Ranorex.Report|LineageGlueRule 'cef_wpf_rule' caused SetAttributeFailedException on Execute. Ranorex.SetAttributeFailedException: Setting attribute 'Width' failed on element '{Container:CefBrowser}'. ---> Ranorex.RanorexException: Failed to set property 'width' on RemoteObject 'WpfHandle{83f70ed8-b24c-4022-ba2b-ee1aab09861e}'. ---> Ranorex.Plugin.Wpf.WpfRemotingException: Unexpected exception during operation. ---> System.ArgumentException: '-1' is not a valid value for property 'Width'.
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
------------------------------- end of snippet ------------------------------
after integration of stuff regarding "cefSharp" (based on Chromium Browser) we get during test excecution the below detailed described exception.
How to solve this?
Rx: 8.3.0
WPF application
Thanks in advance for a solution.
Regards
Klaus
----------- snippet from Rx logfile ------
2018-11-05 04:51:24.729| INFO|Ranorex.Plugin.CefUtil|start CEF injection into process 'Basereport', pid 7408, host-flavor: wpf, hwnd: 263132
2018-11-05 04:51:25.580|DEBUG|Ranorex.Report|Plugins: LineageGlueRule 'cef_wpf_rule' caused SetAttributeFailedException on Execute. Setting attribute 'Width' failed on element '{Container:CefBrowser}'. Failed to set property 'width' on RemoteObject 'WpfHandle{83f70ed8-b24c-4022-ba2b-ee1aab09861e}'. Unexpected exception during operation. '-1' is not a valid value for property 'Width'.
2018-11-05 04:51:25.580| INFO|Ranorex.Report|LineageGlueRule 'cef_wpf_rule' caused SetAttributeFailedException on Execute. Ranorex.SetAttributeFailedException: Setting attribute 'Width' failed on element '{Container:CefBrowser}'. ---> Ranorex.RanorexException: Failed to set property 'width' on RemoteObject 'WpfHandle{83f70ed8-b24c-4022-ba2b-ee1aab09861e}'. ---> Ranorex.Plugin.Wpf.WpfRemotingException: Unexpected exception during operation. ---> System.ArgumentException: '-1' is not a valid value for property 'Width'.
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
------------------------------- end of snippet ------------------------------