[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Testing XML don't use xUnit

  • From: James Fuller <james.fuller.2007@gmail.com>
  • To: ihe.onwuka@gmail.com
  • Date: Fri, 12 Apr 2013 10:46:31 +0200

Re:  Testing XML don't use xUnit
On Fri, Apr 12, 2013 at 10:16 AM, Ihe Onwuka <ihe.onwuka@gmail.com> wrote:
> On Fri, Apr 12, 2013 at 8:48 AM, Stephen D Green
> <stephengreenubl@gmail.com> wrote:
>> There is significant difference how Selenium API is used
>> compared to Selenium IDE (for Firefox), as far as XPath
>> locators of HTML attributes and elements is concerned.
>> Selenium API requires writing of code to run it which adds
>> time to development of the tests so developer is more likely
>> to be looking for repeated use with lower maintenance so
>> yes XPath expressions might be avoided. With the IDE,
>> on the other hand, the IDE itself provides XPath expressions
>> and tests are quickly produced and can be easily replaced
>> rather than maintained so XPath is very popular, in my
>> experience / awareness. With the API I'd think a developer
>> would be likely to take time to separate between XPaths
>> and more abstract test descriptions (usually by abstracting
>> away from the XPath perhaps). But like I say, there is still
>> a place for XPath in the IDE; and important place.
>>
>> Cheers
>>
>
> Ultimately we would like to translate CSS into markup. Does this mean
> that Selenium API could play a role in helping us achieve that goal.

Gerrit Imsieke (@gimsieke) latest work with CSSa presented at XML
Prague 2013, may provide some brain food for this.

https://github.com/gimsieke/CSSa

http://archive.xmlprague.cz/2013/presentations/Conveying_Layout_Information_with_CSSa/CSSa_xmlprague_gimsieke.html#/step-1

hth, Jim Fuller


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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.