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


Failing to identify element using Selenium WebDriver

View previous topic View next topic Go down

Failing to identify element using Selenium WebDriver

Post by qappbc on Wed Mar 07, 2012 3:13 am

The element in question is "//*[@class=' x-btn-text administration']" ,
where a space has been added in front of the identifier string literal text.

The element is an object created by EXT JS by Sencha. I was able to do a workaround for FireFox
4.0 using this "//*[contains(@class,'x-btn-text administration']";, but IE9 fails to find the element with
this error: "cannot be evaluated or does not result in a WebElement".

Does InternetExplorerDriver not support the use of 'contains' method? Is there a way to find the
element for both browsers? Currently I am using selenium-server-standalone-2.16.1.jar


Posts : 38
Join date : 2011-10-13

Back to top Go down

Re: Failing to identify element using Selenium WebDriver

Post by ashish_techie on Mon May 14, 2012 11:35 pm

Use the latest version of selenium and try. It will help

For selenium videos refer:


Posts : 73
Join date : 2011-08-09

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