Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

InternetExplorerDriver working on some websites but not on others in the same machine

View previous topic View next topic Go down

InternetExplorerDriver working on some websites but not on others in the same machine

Post by premila on 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

premila

Posts : 7
Join date : 2011-03-02

Back to top Go down

Re: InternetExplorerDriver working on some websites but not on others in the same machine

Post by Kshitij on 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?

Kshitij

Posts : 2
Join date : 2011-03-03

Back to top Go down

Re: InternetExplorerDriver working on some websites but not on others in the same machine

Post by premila on 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.

premila

Posts : 7
Join date : 2011-03-02

Back to top Go down

Re: InternetExplorerDriver working on some websites but not on others in the same machine

Post by Sponsored content Today at 3:26 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum