<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/06/functional-testing-for-rias-on.html" />
  <link rel="self" type="application/atom+xml" href="http://www.insideria.com/atom.xml" />
  <id>tag:www.insideria.com,2009://34/tag:www.insideria.com,2009://34.36696-</id>
  <updated>2009-11-16T14:56:09Z</updated>
  <title>Comments for Functional Testing for RIAs on the iPhone (http://www.insideria.com/2009/06/functional-testing-for-rias-on.html)</title>
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.21-en</generator>
  <entry>
    <id>tag:www.insideria.com,2009://34.36696</id>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/06/functional-testing-for-rias-on.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blogs.oreilly.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=34/entry_id=36696" title="Functional Testing for RIAs on the iPhone" />
    <published>2009-06-08T15:00:00Z</published>
    <updated>2009-06-08T08:31:49Z</updated>
    <title>Functional Testing for RIAs on the iPhone</title>
    <summary>One of the greatest frustrations when building RIAs for mobile browsers such as the iPhone, Safari, Webkit for the Android and Palm, and even IE for Windows Mobile phones is the lack of functional testing tools.  Yet if you are making a RIA that is complicated or used for critical work, it behooves you to develop some approach to testing that is not completely manual.  Furthermore, if you are serious about performance, you need to make sure your application is working functionally so you can create performance profiles that reflect a solid working application.</summary>
    <author>
      <name>Robi Sen</name>
      
    </author>
    
    <category term="Blogs" />
    
    <content type="html" xml:lang="en" xml:base="http://www.insideria.com/">
      <![CDATA[<div class="ap_r"><a href="http://www.insideria.com/upload/2009/06/iphone_home.gif" class="highslide" onclick="return hs.expand(this)"><img src="http://www.insideria.com/upload/2009/06/iphone_home.gif" alt="iphone_home.gif" title="Click to enlarge" width="148"/></a></div>One of the greatest frustrations when building RIAs for mobile browsers such as the iPhone, Safari, Webkit for the Android and Palm, and even IE for Windows Mobile phones is the lack of functional testing tools.  Yet if you are making a RIA that is complicated or used for critical work, it behooves you to develop some approach to testing that is not completely manual.  Furthermore, if you are serious about performance, you need to make sure your application is working functionally so you can create performance profiles that reflect a solid working application.

<p>The mobile application development community is sadly lacking in the functional testing department, but there are some interesting projects you should check out. If you are developing RIAs for the iPhone or other WebKit-based browsers, you should look at the <a href="http://wtr.rubyforge.org/">Watir </a>and especially the <a href="http://safariwatir.rubyforge.org/">SafariWatir </a>project.  Watir is a wonderful, Ruby-based, open source library for automating web browsers, and it is often used to perform functional tests on web applications.  The SafariWatir project focuses on supporting Safari on the Mac and, after some modifications; you can easily use it to drive Safari for iPhone testing.  If you are interested in using SafariWatir for iPhone testing, you should look at the additions my coworker, Ryan Schutt contributed to the project which allow you to use <a href="http://www.twintechs.com/blog/?p=476">XPATH </a> or hook into <a href="http://www.twintechs.com/blog/?p=500">JQuery tabs</a>. We often use a stripped down version of JQuery for mobile RIA applications.  Based on a lot of internal effort, we have found that you can automate most of the testing of an iPhone application with SafariWatir although you occasionally run into minor differences between the Safari version on the iPhone and that on the Mac. </p>

<p>In our next posting, we&#8217;ll be looking at some tricks and tips for debugging and validating performance on the iPhone or other WebKit-based platforms.  In specific we will look at adding a wrapper to WebKit to expose functionality that is not usually made available as well as talk about native wrappers in general and the number of options they allow RIA developers looking to increase usability and performance</p>]]>
      
    </content>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36696-comment:2061924</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36696" type="text/html" href="http://www.insideria.com/2009/06/functional-testing-for-rias-on.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/06/functional-testing-for-rias-on.html#comment-2061924" />
    <title>Comment from Ben K on 2009-06-08</title>
    <author>
        <name>Ben K</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>The continuing need to invent jargon is both amusing and confounding.  Is "RIA" this month's version of "Web 2.0"?  :p<br />
</p>]]>
    </content>
    <published>2009-06-08T18:18:46Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36696-comment:2061931</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36696" type="text/html" href="http://www.insideria.com/2009/06/functional-testing-for-rias-on.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/06/functional-testing-for-rias-on.html#comment-2061931" />
    <title>Comment from Robi Sen on 2009-06-08</title>
    <author>
        <name>Robi Sen</name>
        <uri>http://www.twintechs.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.twintechs.com">
        <![CDATA[<p>Ben thanks for your comment but you might be confused.  Macromedia introduced the term Rich Internet Application back in the late 1990's and it has rather specific meanings see <a href="http://en.wikipedia.org/wiki/Rich_Internet_application.">http://en.wikipedia.org/wiki/Rich_Internet_application.</a>  Web 2.0 is a more modern term that has a rather nebulous definition which might include RIA's, crowd sourcing, collective intelligence, mashups, and a host of other terms and concepts <a href="http://en.wikipedia.org/wiki/Web_2.0.">http://en.wikipedia.org/wiki/Web_2.0.</a></p>]]>
    </content>
    <published>2009-06-08T19:21:19Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36696-comment:2070056</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36696" type="text/html" href="http://www.insideria.com/2009/06/functional-testing-for-rias-on.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/06/functional-testing-for-rias-on.html#comment-2070056" />
    <title>Comment from Brian on 2009-08-09</title>
    <author>
        <name>Brian</name>
        <uri>http://www.starterstep.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.starterstep.com">
        <![CDATA[<p>Check out UISpec <a href="http://code.google.com/p/uispec/">http://code.google.com/p/uispec/</a></p>

<p>It's an open source functional testing framework being developed for the iphone.  Also its BDD is based on RSpec. </p>

<p>Cheers!</p>

<p>Brian</p>]]>
    </content>
    <published>2009-08-10T02:19:38Z</published>
  </entry>

</feed
