var browserProcessId = Host.Local.OpenBrowser(crmUrl,
Configuration.GetConfigurationValue("BrowserType"), true, true);
isn't working on Windows 10, testing IE 11. The parameter TRUE for 'close existing' is causing an access denied message to be thrown. if I use the following then it is OK, but I need to close similar browsers in another way.
browserProcessId = Host.Local.OpenBrowser(crmUrl,
Configuration.GetConfigurationValue("BrowserType"));
Right now I'm catching the error, using the method without the close and maximize parameters, and closing browsers which might be open already by scanning for open web browsers and calling Close() in the WebDocument class.
OpenBrowser issue with Win 10\IE 11
Re: OpenBrowser issue with Win 10\IE 11
Hello fwason,
What is "Configuration.GetConfigurationValue("BrowserType")" and where is this from?
If I put just "IE" instead of this, it works for me. Closes IE if it is already open without issues. I have full admin rights and Enhanced Protected Mode disabled in IE.
Do you have Enhanced Protected Mode disabled and do you have admin rights?
Also, please let me know if writing "IE" instead of Configuration.GetConfigurationValue("BrowserType") has any influence.
Regards,
McTurtle
What is "Configuration.GetConfigurationValue("BrowserType")" and where is this from?
If I put just "IE" instead of this, it works for me. Closes IE if it is already open without issues. I have full admin rights and Enhanced Protected Mode disabled in IE.
Do you have Enhanced Protected Mode disabled and do you have admin rights?
Also, please let me know if writing "IE" instead of Configuration.GetConfigurationValue("BrowserType") has any influence.
Regards,
McTurtle
Re: OpenBrowser issue with Win 10\IE 11
no, it doesn't work with IE. The property accessor you're referring to is part of our framework... reading the type of browser under test for a specific run\configuration.
I have full admin rights, EPM disabled. This is only happening on a Win 10 machine... Win 7 and Win 8.1 are fine. As I mentioned, this works (abridged code presented):
IList<Ranorex.WebDocument> AllDoms = Host.Local.FindChildren<WebDocument>();
foreach (WebDocument myDom in AllDoms)
if (myDom.Domain == domain) //here domain is the application domain under test. We don't care to close unrelated windows
:
:
myDom.Close();
I have full admin rights, EPM disabled. This is only happening on a Win 10 machine... Win 7 and Win 8.1 are fine. As I mentioned, this works (abridged code presented):
IList<Ranorex.WebDocument> AllDoms = Host.Local.FindChildren<WebDocument>();
foreach (WebDocument myDom in AllDoms)
if (myDom.Domain == domain) //here domain is the application domain under test. We don't care to close unrelated windows
:
:
myDom.Close();
Re: OpenBrowser issue with Win 10\IE 11
Please ALWAYS include the FULL Ranorex version when raising issues.
*** DELETED INCORRECT INFORMATION ***
Have you tried a clean reinstall of Ranorex?
1. Uninstall Ranorex.
2. Reboot the system.
3. Reinstall using the Ranorex-6.2.1.exe download (not the MSI).
*** DELETED INCORRECT INFORMATION ***
Have you tried a clean reinstall of Ranorex?
1. Uninstall Ranorex.
2. Reboot the system.
3. Reinstall using the Ranorex-6.2.1.exe download (not the MSI).
Last edited by krstcs on Tue Apr 25, 2017 2:40 pm, edited 1 time in total.
Shortcuts usually aren't...
Re: OpenBrowser issue with Win 10\IE 11
I'm deleting this reply as Ranorex has reached out directly to work on the issue together. I will post an update when appropriate.
Last edited by fwason on Wed Apr 26, 2017 1:58 pm, edited 2 times in total.
Re: OpenBrowser issue with Win 10\IE 11
First, I'm trying to help. Regardless of whether you like or agree with my answers or not, my intention is to help. I'm sorry if you feel any of this is not helping.
*** DELETED DUE TO INCORRECT INFORMATION ***
Finally, the information I referenced should be posted in the plain text of the post, every time you raise an issue, regardless of whether it is included in attached files, because it is easier for those helping to see it, and sometimes attachments don't work on other's systems. This is stated in the Please Read posts that are stickied at the top of the forums.
*** DELETED DUE TO INCORRECT INFORMATION ***
Finally, the information I referenced should be posted in the plain text of the post, every time you raise an issue, regardless of whether it is included in attached files, because it is easier for those helping to see it, and sometimes attachments don't work on other's systems. This is stated in the Please Read posts that are stickied at the top of the forums.
Last edited by krstcs on Tue Apr 25, 2017 2:38 pm, edited 1 time in total.
Shortcuts usually aren't...
Re: OpenBrowser issue with Win 10\IE 11
.....
Last edited by fwason on Wed Apr 26, 2017 1:59 pm, edited 1 time in total.
Re: OpenBrowser issue with Win 10\IE 11
I must apologize. You are correct, I was looking at the IHost interface instead of the Host class.
Again, I apologize if anything I've said has caused problems. I'll delete my original post to clear up the confusion.
Again, I apologize if anything I've said has caused problems. I'll delete my original post to clear up the confusion.
Shortcuts usually aren't...