Ranorex 7: Equivalent to WebDocument
Posted: Tue Apr 25, 2017 5:09 pm
Hi
I'm trying to do some basic Java injection.
Using an example from a previous post:
Host.Local.OpenBrowser("anActualURL", "Chrome", "", false, false);
WebDocument webDocument = @"/dom[@domain='anActualURL' and @caption='Test Automation Tools - Ranorex Automation Framework']";
webDocument.ExecuteScript("document.write('Hello World!');");
(sorry can't put in a URL - new accounts are not allowed - but it's Ranorex's)
This requires a few of the plugins (Ranorex.Plugin.Web, Ranorex.Plugin.Msaa, etc) from Ranorex 6 to work although the OpenBrowser is also missing a few default plugins...
How would I now do something similiar using Ranorex 7?
Thanks
Steve
I'm trying to do some basic Java injection.
Using an example from a previous post:
Host.Local.OpenBrowser("anActualURL", "Chrome", "", false, false);
WebDocument webDocument = @"/dom[@domain='anActualURL' and @caption='Test Automation Tools - Ranorex Automation Framework']";
webDocument.ExecuteScript("document.write('Hello World!');");
(sorry can't put in a URL - new accounts are not allowed - but it's Ranorex's)
This requires a few of the plugins (Ranorex.Plugin.Web, Ranorex.Plugin.Msaa, etc) from Ranorex 6 to work although the OpenBrowser is also missing a few default plugins...
How would I now do something similiar using Ranorex 7?
Thanks
Steve