Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Regarding Alert Interface
Fri Feb 24, 2017 2:00 pm by karthikeyakumar

» Geting issues in identifying the elsements in webdriver
Fri Feb 17, 2017 4:41 pm by janbaskt

» WebDriver - why not to use a singlton for it?
Fri Feb 17, 2017 4:40 pm by janbaskt

» WebDriver session when using testng annotation to invoke driver instance
Fri Feb 17, 2017 4:39 pm by janbaskt

» Selenium fails to launch Chrome
Fri Feb 17, 2017 4:39 pm by janbaskt

» why do i get this error
Fri Feb 17, 2017 4:38 pm by janbaskt

» Selenium Tutorial
Thu Feb 16, 2017 5:21 pm by Rahul

» When to use Selenium IDE, RC and WebDriver
Mon Feb 13, 2017 2:35 pm by azharuddin

» How to integrate selenium with ZAPI-Zephyr
Sat Feb 11, 2017 2:25 am by gseera002c

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

qappbc
Amateur
Amateur

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

Regards
Ashish
For selenium videos refer:
http://qtpselenium.com/selenium-training

ashish_techie
Amateur
Amateur

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