Open lukeis opened 8 years ago
I have tried with Protected mode setting change of IE.Still not working.Please help
me regarding this issue
Reported by soumya4017
on 2013-01-15 12:12:48
The attached sample does not contain an operation to search for an element by name ==
userid and can't raise the described exception.
Please provide an actual example, otherwise the issue will be closed as invalid.
Reported by barancev
on 2013-01-17 20:10:02
NeedsClarification
hi..Sorry.. i have pasted the error of a different project.For this code(attached)..error
s same but for id == gbqfba
Reported by soumya4017
on 2013-01-17 20:49:32
Sure there is no element with id == gbqfba because it disappear after you entered text
into the search field. Ajax changes the page structure, and you should click the button
with id == gbqfb instead.
Please learn the application under test before blaming selenium or browser!
Reported by barancev
on 2013-01-17 20:57:09
Invalid
As per your kind information.This script working fine for FF.But failed in IE.And i
am getting same issue not only for Google,but for my Client AUT which code i cant paste
here.
Reported by soumya4017
on 2013-01-17 21:11:21
I've run your code (with the above mentioned modification) in IE9, it succeeded -- http://screencast.com/t/2o81ZUIcuXP
Reported by barancev
on 2013-01-17 21:35:32
Hi Barancev ,
I have just go through the below link :
http://code.google.com/p/selenium/wiki/InternetExplorerDriver
Point to Notice : However, there are currently some issues with mouse events when
the IE browser window does not have focus, and when attempting to hover over elements.
I need your feedback on these issue because i guess i am facing this issue in IE .
Reported by soumya4017
on 2013-01-18 10:05:42
"when attempting to hover over elements" -- there is no hovering in the script you've
attached to the issue, and I want to say again that it runs green when I've fixed element
locators.
Can you take a screenshot that shows simultaneously: 1) the code sample you run, 2)
the console log, and 3) the browser in the end of the run (don't call quit, let the
browser window remain on the screen).
Reported by barancev
on 2013-01-18 10:15:33
Hi Barancev ,
As my real project is keyword driven,i am taking actions from excelsheet.Still i
am trying to mention the code here.
Code :
driver = new FirefoxDriver(); driver.manage().timeouts().implicitlyWait(30,TimeUnit.SECONDS);
driver.get("http://www.google.co.in/");
driver.findElement(By.id("gbqfq")).sendKeys("Hello");
Just same code,i am doing in my keyworddriven framework.Simple open "Google",text "Hello".
Even NOt clicking.It worked fine in FF but failed in IE.(See the Screenshot)
In the above code ,there is no hovering in the script.Below is the real AUT script
which i am performing in my real project .
Real Code :
driver = new FirefoxDriver();
baseUrl = "http://tmbshrlb.techmahindra.com:8040/psp/TMBSHR/?cmd=login&languageCd=ENG";
driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
driver.get(baseUrl + "/");
assertEquals("Mybeat:: Home", driver.getTitle());
driver.findElement(By.cssSelector("a.mybeat-ic2")).click();
driver.findElement(By.name("userid")).clear();
driver.findElement(By.name("userid")).sendKeys("xyz");
driver.findElement(By.id("pwd")).clear();
driver.findElement(By.id("pwd")).sendKeys("abc");
driver.findElement(By.name("image")).click();
assertEquals("Welcome to EBS(H) Human Resource, Tech Mahindra Ltd.,", driver.getTitle());
driver.findElement(By.linkText("Timesheet")).click();
assertEquals("Apply Leave", driver.getTitle());
new Select(driver.findElement(By.id("DERIVED_ABS_SS_PIN_TAKE_NUM"))).selectByVisibleText("Earned
Leave IND");
driver.findElement(By.id("DATE_DAY1")).clear();
driver.findElement(By.id("DATE_DAY1")).sendKeys("07/12/2012");
driver.findElement(By.name("TL_LINK_WRK_REFRESH_ICN$IMG")).click();
Reported by soumya4017
on 2013-01-18 12:57:14
Would you please run you failing sample in IE with increased logging and attach here
the log file:
InternetExplorerDriverService service = new InternetExplorerDriverService.Builder()
.withLogFile(new File("C:\\temp\\iedriver.log"))
.withLogLevel(InternetExplorerDriverLogLevel.TRACE)
.build();
WebDriver driver = new InternetExplorerDriver(service);
driver.manage().timeouts().implicitlyWait(30,TimeUnit.SECONDS); driver.get("http://www.google.co.in/");
driver.findElement(By.id("gbqfq")).sendKeys("Hello");
Reported by barancev
on 2013-01-21 07:21:55
Hi ,
See both the attachment.
Reported by soumya4017
on 2013-01-21 08:18:28
Script.cpp(593) -2147024891 [Access is denied.]: Unable to execute code, call to IHTMLWindow2::execScript
failed
Reported by barancev
on 2013-01-21 08:43:16
New
Hi Barancev ,
I am running this script from my Office environment.So is this a security issue
?
Point to be noted : My script is working fine for FF.Also same script in SeleniumRc
working fine for IE and FF both.
Reported by soumya4017
on 2013-01-21 09:12:55
Eagerly waiting for your solution.I have searched in google regarding the issue.But
could not found anything.Someone mentioned ,Active Scripting should be enable in IE.I
have tried it,still no results :(
Reported by soumya4017
on 2013-01-22 05:41:18
We still don't know what can cause "Access is denied" error. There must be some setting
that should be enabled, but there is not enough information to understand which setting
it is.
Reported by barancev
on 2013-01-29 20:51:00
Hi Barancev ,
What are the information you need from me? I will try my best to provide you..Atlest
give some hints regarding solving the issue.
Reported by soumya4017
on 2013-01-31 13:57:57
Hi,
Even I am facing same issue. But after going through the issue 1795, I believe that
when we are trying to run in Windows XP and IE 7 this issue is seen, since "Enable
protected mode" option is not available in Windows XP, we dont have an option of disabling
and running.(Please refer issue 1795)
Thanks
Reported by prashanth.p10
on 2013-05-30 10:51:42
Reported by luke.semerau
on 2015-09-17 17:45:10
Originally reported on Google Code with ID 5015
Reported by
soumya4017
on 2013-01-15 12:09:42