(no subject)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

(no subject)

Hariprasad K S
Hi Guys,

I am not able to perform any action with IE11 browser(only browser will open)

Platform:
python version: 3.6
robot framework version: Robot Framework 3.0.3.
IE: version 11
selenium version: 3.11
IE driver: 3.8

Here is my code:
*** Settings ***
Test Teardown Close All Browsers
Library SeleniumLibrary
Library OperatingSystem

*** Variables ***
${local_ie_driver} C:${/}Users${/}11020053${/}AppData${/}Local${/}Programs${/}Python${/}Python36${/}Scripts${/}IEDriverServer.exe

*** Test Cases ***
Wohoo
Set Environment Variable webdriver.ie.driver ${local_ie_driver}
File Should Exist %{webdriver.ie.driver}
Open Browser http://www.google.com internetexplorer
Sleep 8s
Title Should Be Google

It is failing at verifying title page Google
Returning error message: NoSuchWindowException: Message: Unable to get browser

Thanks,
-Hariprasad

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAEWsoGDN9H6cj%2BPOfh%2BYSkYCO7ROB%2BOYZw-c4%2Bhb9bF-XsdWwg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re:

anwesana kanungo

Change the URL to https://www.google.co.in/ 
On Monday, April 9, 2018 at 11:26:08 AM UTC+5:30, hari wrote:
Hi Guys,

I am not able to perform any action with IE11 browser(only browser will open)

Platform:
python version: 3.6
robot framework version: Robot Framework 3.0.3.
IE: version 11
selenium version: 3.11
IE driver: 3.8

Here is my code:
*** Settings ***
Test Teardown Close All Browsers
Library SeleniumLibrary
Library OperatingSystem

*** Variables ***
${local_ie_driver} C:${/}Users${/}11020053${/}AppData${/}Local${/}Programs${/}Python${/}Python36${/}Scripts${/}IEDriverServer.exe

*** Test Cases ***
Wohoo
Set Environment Variable webdriver.ie.driver ${local_ie_driver}
File Should Exist %{webdriver.ie.driver}
Open Browser <a href="http://www.google.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com&#39;;return true;" onclick="this.href=&#39;http://www.google.com&#39;;return true;">http://www.google.com internetexplorer
Sleep 8s
Title Should Be Google

It is failing at verifying title page Google
Returning error message: NoSuchWindowException: Message: Unable to get browser

Thanks,
-Hariprasad

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/67b74c1d-91f9-4a29-8e34-707055acc6e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Re:

Hariprasad K S
Thank you...

I found solution:
1. IE Options --> Security Tab -> Uncheck "Enable Protected Mode" worked for me.
2. Edited the registry ..\\..\\Internet Explorer\Main\FeatureControl\FEATURE_BFCACHE. Create DWORD with iexplore.exe,  value   0.

On Mon, Apr 9, 2018 at 11:43 AM, anwesana kanungo <[hidden email]> wrote:

Change the URL to https://www.google.co.in/ 

On Monday, April 9, 2018 at 11:26:08 AM UTC+5:30, hari wrote:
Hi Guys,

I am not able to perform any action with IE11 browser(only browser will open)

Platform:
python version: 3.6
robot framework version: Robot Framework 3.0.3.
IE: version 11
selenium version: 3.11
IE driver: 3.8

Here is my code:
*** Settings ***
Test Teardown Close All Browsers
Library SeleniumLibrary
Library OperatingSystem

*** Variables ***
${local_ie_driver} C:${/}Users${/}11020053${/}AppData${/}Local${/}Programs${/}Python${/}Python36${/}Scripts${/}IEDriverServer.exe

*** Test Cases ***
Wohoo
Set Environment Variable webdriver.ie.driver ${local_ie_driver}
File Should Exist %{webdriver.ie.driver}
Open Browser http://www.google.com internetexplorer
Sleep 8s
Title Should Be Google

It is failing at verifying title page Google
Returning error message: NoSuchWindowException: Message: Unable to get browser

Thanks,
-Hariprasad

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/67b74c1d-91f9-4a29-8e34-707055acc6e2%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CAEWsoGAAfWK9q%3D8Cf_omA8LKhHchm_8wWXAHC8HBeiuLUVPOSg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.