- Swaram
- Posts : 2
Join date : 2016-03-29
Selenium : NoSuchElementException in IE11 JAVA
Tue Mar 29, 2016 3:49 pm
Hi
I am trying to execute selenium webdriver java code in IE11 , it throws "NoSuchElementException" even after the page is loaded completely.
[list="margin-right: 0px; margin-bottom: 1em; margin-left: 30px; padding-right: 0px; padding-left: 0px; border: 0px; font-size: 15px; color: rgb(34, 36, 38); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 19.5px; background-color: rgb(255, 255, 255);"]
[*]Web driver : IEDriverServer_Win32_2.53.0
[*]IE version : 11
[*]selenium : selenium-server-standalone-2.53.0.jar
[*]java : jdk1.8
[/list]
The application consists of LoginPage and home page. In Home Page, customers details can be added after clicking "Add customer" button.
Logging into the application is executing successfully in IE11. After log in, NoSuchElementException is thrown for "Add customer" button.
The following is the selenium Java code:
Thanks in advance.
I am trying to execute selenium webdriver java code in IE11 , it throws "NoSuchElementException" even after the page is loaded completely.
[list="margin-right: 0px; margin-bottom: 1em; margin-left: 30px; padding-right: 0px; padding-left: 0px; border: 0px; font-size: 15px; color: rgb(34, 36, 38); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 19.5px; background-color: rgb(255, 255, 255);"]
[*]Web driver : IEDriverServer_Win32_2.53.0
[*]IE version : 11
[*]selenium : selenium-server-standalone-2.53.0.jar
[*]java : jdk1.8
[/list]
The application consists of LoginPage and home page. In Home Page, customers details can be added after clicking "Add customer" button.
Logging into the application is executing successfully in IE11. After log in, NoSuchElementException is thrown for "Add customer" button.
The following is the selenium Java code:
- Code:
driver.findElement(By.id("btnAddCustToQueue")).click();
- Code:
<DIV class="blueButton floatLeft pie_first-child" id=btnAddCustToQueue onclick=openAddCustomer() _pieId="_158">Add<BR>Customer </DIV>
- Code:
Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to find element with id == btnAddCustToQueue (WARNING: The server did not provide any stacktrace information)
- Code:
Exception in thread "main" org.openqa.selenium.TimeoutException: Timed out after 30 seconds waiting for element to be clickable: By.id: btnAddCustToQueue
Thanks in advance.
- Contract job in Cincinnati,OH-Selenium with Java WebDriver and/or basic Java
- Not able to click a webelement in IE11 using Selenium Webdriver
- What are the possible solution to trigger IE11 on Remote Machine in Selenium
- Creating detail log for selenium command execution (Selenium RC Java client)?
- Web Scrapping using selenium java
Permissions in this forum:
You cannot reply to topics in this forum
|
|