Display results as :

Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara


Selenium : NoSuchElementException in IE11 JAVA

View previous topic View next topic Go down

Selenium : NoSuchElementException in IE11 JAVA

Post by Swaram on Tue Mar 29, 2016 3:49 pm

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

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:
The following is the jsp code :
    <DIV class="blueButton floatLeft pie_first-child" id=btnAddCustToQueue onclick=openAddCustomer() _pieId="_158">Add<BR>Customer </DIV>
Below is the exception thrown :
Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to find element with id == btnAddCustToQueue (WARNING: The server did not provide any stacktrace information)
I have used explicit wait for the "Add customer" button to load. In this case, "TimeOutException" as show below:
    Exception in thread "main" org.openqa.selenium.TimeoutException: Timed out after 30 seconds waiting for element to be clickable: btnAddCustToQueue
The same code works fine with CHROME browser. I am not sure whether there is problem with latest IE.
Thanks in advance.


Posts : 2
Join date : 2016-03-29

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