Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

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