- premila
- Posts : 7
Join date : 2011-03-02
InternetExplorerDriver working on some websites but not on others in the same machine
Thu Mar 10, 2011 3:43 am
Hi
I have Windows Vista machine with IE version 8.0
I am using selenium 2.0 InternetExplorerDriver to write tests. The InternetWebDriver works fine for tests on some websites but for some other websites drivers seems to not work and always tells not able to find element. why is it so? Infact i am using same methods like "findelement(By.name("xxx")) for both the tests on the both the websites.
I have even unchecked protected mode in my ie's security tab and added to trustworthy sites the sites under consideration.
Any help?
Thanks,
Premila
I have Windows Vista machine with IE version 8.0
I am using selenium 2.0 InternetExplorerDriver to write tests. The InternetWebDriver works fine for tests on some websites but for some other websites drivers seems to not work and always tells not able to find element. why is it so? Infact i am using same methods like "findelement(By.name("xxx")) for both the tests on the both the websites.
I have even unchecked protected mode in my ie's security tab and added to trustworthy sites the sites under consideration.
Any help?
Thanks,
Premila
- Kshitij
- Posts : 2
Join date : 2011-03-03
Re: InternetExplorerDriver working on some websites but not on others in the same machine
Thu Mar 10, 2011 1:46 pm
What is
1 the OS and
2. IE version
on the second machine?
Also,
3. Are the two sites (aut), the same?
1 the OS and
2. IE version
on the second machine?
Also,
3. Are the two sites (aut), the same?
- premila
- Posts : 7
Join date : 2011-03-02
Re: InternetExplorerDriver working on some websites but not on others in the same machine
Tue Mar 15, 2011 4:14 am
Actually, i am talking about one machine only. It is windows vista with ie8.0.
The driver involved in the test is internetexplorerdriver. Language is java.
For eg., consider the below for yahoo
driver=new InternetExplorerDriver();
driver.get(http://www.yahoomail.com/);
element=driver.findElement(By.name("login");element.sendKeys("abc");
For this test, i get the following error,
FAILED. Unable to find element with name == login (WARNING: The server did not provide any stacktrace information)
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.6.0_23'
Driver info: driver.version: RemoteWebDriver
But similar piece of code on some other website say walmart.com,
driver=new InternetExplorerDriver();
driver.get(http://www.walmart.com/);
element=driver.findElement(By.name("search_query"));element.sendKeys("abc");
This code on this site works well and passes.
Anyone know the reason for this? That is, internetexplorerdriver working on some websites but not on some others.
The driver involved in the test is internetexplorerdriver. Language is java.
For eg., consider the below for yahoo
driver=new InternetExplorerDriver();
driver.get(http://www.yahoomail.com/);
element=driver.findElement(By.name("login");element.sendKeys("abc");
For this test, i get the following error,
FAILED. Unable to find element with name == login (WARNING: The server did not provide any stacktrace information)
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.6.0_23'
Driver info: driver.version: RemoteWebDriver
But similar piece of code on some other website say walmart.com,
driver=new InternetExplorerDriver();
driver.get(http://www.walmart.com/);
element=driver.findElement(By.name("search_query"));element.sendKeys("abc");
This code on this site works well and passes.
Anyone know the reason for this? That is, internetexplorerdriver working on some websites but not on some others.
- Sponsored content
- Using Java, how to connect a Remote machine and then ssh to another machine from the already connected one ?
- What are the possible solution to trigger IE11 on Remote Machine in Selenium
- my Script working fine in Firefox but not working in IE7 through Selenium RC
- Using dynamically created IDs from websites
- Typing in text on remote machine does not work, locally it does.
Permissions in this forum:
You cannot reply to topics in this forum
|
|