Selenium with IE 11

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

Selenium with IE 11

aseshadri

I am looking forward to get below help .

I was doing Test Automation for an application in Chrome with Xpaths . It was working well. But now I have a requirement to use the same suite to do cross browser testing in IE 11 .

Currently Using 2.39 IE Webdriver for Selenium . I am able to open browser but with my X path with which had my script ,not working with X path in IE 11 .

So here is my Question

  1. Will I be able to use the Xpath used for chrome to do automation in IE 11
  2. Also I found Execution is slower in IE 11 when compared to chrome
  3. Do we have any X path Checker in IE 11 similarly in Chrome,Firefox .My requirement is to check all the x paths i used for chrome works in IE or not.But i dont know how should i check .
  4. I understand from all the forums to go with CSS instead of X path , I can also do the same but just to understand is the X path same across Chrome and IE 11
  5. Last i would like to understand a basic thing, when we say Xpath native support not present in ie browser -what do we mean

PS : I used Capabilities Ignorezoomsetting to true,require window focus to true ,native elements to false for Internet Explorer

Please Experts , its on a high priority im writing ,hope you understand and help me knowing Answers at the earliest.

Thanks in Advance

--
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/4d0d6f8d-ba7e-4f51-bf33-ff79393d32b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Selenium with IE 11

Mike Hetzer
https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver

Check out the "Required Configurations" section on this page and make sure you configured your IE correctly prior to starting.
Otherwise your driver might just start up and only that - it won't seem to execute anything past that.
Which is what I gathered was happening from what you wrote.

If not, you will need to provide more detail as to what exceptions your are getting, etc.

On Tuesday, June 19, 2018 at 6:27:09 AM UTC-4, [hidden email] wrote:

0
down vote<a href="https://stackoverflow.com/questions/50924617/selenium-with-ie-11#" title="Click to mark as favorite question (click again to undo)" style="margin-right:auto;margin-bottom:2px;margin-left:auto;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;line-height:inherit;font-family:inherit;font-size:1px;vertical-align:baseline;color:rgb(0,119,204);background-image:url(&quot;../../Img/unified/sprites.svg?v=438582dc9e27&quot;),none;background-repeat:no-repeat;overflow:hidden;display:block;width:40px;min-height:30px;background-position:0px -120px" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F50924617%2Fselenium-with-ie-11%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHTBQuiPZEYCP4S4SSqPzCexWVLLQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F50924617%2Fselenium-with-ie-11%23\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHTBQuiPZEYCP4S4SSqPzCexWVLLQ&#39;;return true;">favorite

I am looking forward to get below help .

I was doing Test Automation for an application in Chrome with Xpaths . It was working well. But now I have a requirement to use the same suite to do cross browser testing in IE 11 .

Currently Using 2.39 IE Webdriver for Selenium . I am able to open browser but with my X path with which had my script ,not working with X path in IE 11 .

So here is my Question

  1. Will I be able to use the Xpath used for chrome to do automation in IE 11
  2. Also I found Execution is slower in IE 11 when compared to chrome
  3. Do we have any X path Checker in IE 11 similarly in Chrome,Firefox .My requirement is to check all the x paths i used for chrome works in IE or not.But i dont know how should i check .
  4. I understand from all the forums to go with CSS instead of X path , I can also do the same but just to understand is the X path same across Chrome and IE 11
  5. Last i would like to understand a basic thing, when we say Xpath native support not present in ie browser -what do we mean

PS : I used Capabilities Ignorezoomsetting to true,require window focus to true ,native elements to false for Internet Explorer

Please Experts , its on a high priority im writing ,hope you understand and help me knowing Answers at the earliest.

Thanks in Advance

--
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/14534b09-feb8-4118-807a-f48693558d9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.