Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
flvikky
Posts : 1
Join date : 2012-01-12

Unable to find an element by Id, Name or Xpath using the Webdriver of IE for my webpage Empty Unable to find an element by Id, Name or Xpath using the Webdriver of IE for my webpage

Thu Jan 12, 2012 9:53 pm
Hi All,

Could you please help me out with the following situation

used tools and technologies

IE 8
selenium webdriver 2.0
Language used C# in VS2010
copied all the dlls from 'selenuim google code site
File : "selenium-dotnet-2.16.0.zip "
url used= checkpointworld.com/maf/app/authentication/formLogin

Code used:

IWebDriver multipleBrowsersDriver = new InternetExplorerDriver();
multipleBrowsersDriver.Navigate().GoToUrl("checkpointworld.com/maf/app/authentication/formLogin");
multipleBrowsersDriver.FindElement(By.Id("uid")).SendKeys("selenium");

The problem I am facing here when i execute the test case using Nunit is
"TestSeleniumWebDriver.webDriverTest.TestCase1:
OpenQA.Selenium.NoSuchElementException : Unable to find element with id == uid"

But when i use the FireFoxDriver or ChromeDriver drive my test executes successfully and able to fill in the text box.

I have tried using different ways by name, xpath but unable to work it out in IE.
I have checked with other sites such as gmail, yahoomail, hotmail everything was working as expected. I do not why for my site it is not working as expected.

thanks in advance for any support you provide.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum