Error using repository element as Webdocument
Posted: Wed Apr 12, 2017 12:09 am
Here is my code.
I am getting these messages:
(1)WARN
Note: I have Ranorex automation plugin installed on that chrome browser.
(2) ERROR
I am using Ranorex 7.
Question: I can launch chrome with --force-renderer-accessibility to eliminate message 1. But how do I go about message #2. Thanks.
Code: Select all
Host.Current.OpenBrowser("http://example.com", "Chrome", "");
var ExampleRepo repo = ExampleRepo.Instance;
repo.ExampleDomain.Self.Navigate("http://google.com");
(1)WARN
Code: Select all
The Chrome debugging interface was either not found or is not enabled.
Process: 'chrome' (pid 6864)
The following website provides more information on this technology limitation:
http://www.ranorex.com/support/user-guide-20/technology-instrumentation/testing-of-cef-applications.html#remote-debugging-not-available
(This message is only shown once per report.)
(2) ERROR
Code: Select all
Item 'ExampleRepo.ExampleDomain.Self' is no WebDocument.
The element does not support the required capability 'webdocument'.
Question: I can launch chrome with --force-renderer-accessibility to eliminate message 1. But how do I go about message #2. Thanks.