XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Testing XML don't use xUnit

On 04/12/2013 01:46 AM, Ihe Onwuka wrote:
> CSS Selectors are strongly recommended over Xpaths.
>
>    
I would tend to agree with that statement (in the context of writing 
selectors for Selenium tests), except that we find that in practice the 
implementation of CSS in Selenium is buggy, and we often end up needing 
to use XPath instead.  Keeping track of when it's acceptable to use CSS 
is in the end, too burdensome, so we pretty much always use XPath, which 
is at least reliable.


-- 

Michael Sokolov
Senior Architect
Safari Books Online



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS