<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/" 
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 
	xmlns:admin="http://webns.net/mvcb/" 
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/" 
	xmlns:atom="http://www.w3.org/2005/Atom">
	
	<channel>
	
		<title>UI Testing a Sencha App</title>
		<link>http://www.sencha.com/blog/ui-testing-a-sencha-app</link>
		<description>A few months ago, I wrote a post titled Automating Unit Tests that covered how developers could write unit tests for their business logic and validate their JavaScript syntax. Understanding these concepts is essential when building an enterprise application: bugs must be caught before changes are pushed into production or catastrophic consequences may follow.</description>
		<dc:language>en-us</dc:language>
		<dc:creator>arthur.kay@sencha.com</dc:creator>
		<dc:rights>Copyright 2013</dc:rights>
		<dc:date>2013-01-10T22:41:44+00:00</dc:date>
		<admin:generatorAgent rdf:resource="http://expressionengine.com/" />
		<atom:link href="http://www.sencha.com/blog/comments-rss/12281" rel="self" type="application/rss+xml" />
  
		
  
		<item>
      <title>Comment by Kazuhiro Kotsutsumi</title>
      <description>I translated it into Japanese.

http://www.xenophy.com/extjsblog/5459

Provision: Japan Sencha User Group
http://www.meetup.com/Japan&#45;Sencha&#45;User&#45;Group/about/</description>
      <content:encoded><![CDATA[<p>I translated it into Japanese.</p>

<p><a href="http://www.xenophy.com/extjsblog/5459">http://www.xenophy.com/extjsblog/5459</a></p>

<p>Provision: Japan Sencha User Group<br />
<a href="http://www.meetup.com/Japan-Sencha-User-Group/about/">http://www.meetup.com/Japan-Sencha-User-Group/about/</a></p>]]></content:encoded>
      <pubDate>Sat, 02 Feb 2013 03:16 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//ui-testing-a-sencha-app#id:32931#date:03:16</guid>
    </item>
  
		<item>
      <title>Comment by Mario</title>
      <description>A seedable random generator is the missing link. One can have a dynamic app produce consistent IDs, for example, by loading a random number generator in Javascript. Take a look at http://davidbau.com/archives/2010/01/30/random_seeds_coded_hints_and_quintillions.html

I really believe that this is one of the missing links to tie everything together and take UI testing combined with Unit testing to the next level.</description>
      <content:encoded><![CDATA[<p>A seedable random generator is the missing link. One can have a dynamic app produce consistent IDs, for example, by loading a random number generator in Javascript. Take a look at <a href="http://davidbau.com/archives/2010/01/30/random_seeds_coded_hints_and_quintillions.html">http://davidbau.com/archives/2010/01/30/random_seeds_coded_hints_and_quintillions.html</a></p>

<p>I really believe that this is one of the missing links to tie everything together and take UI testing combined with Unit testing to the next level.</p>]]></content:encoded>
      <pubDate>Fri, 18 Jan 2013 20:49 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//ui-testing-a-sencha-app#id:32893#date:20:49</guid>
    </item>
  
		<item>
      <title>Comment by Arthur Kay</title>
      <description>@testme &#45; The problem of physical device testing is yet another facet to the unit testing puzzle. I have yet to see any good emulators for tackling this issue in an automated fashion, though I have heard some rumors of tools coming in the next few months. I&#8217;ll be sure to post more details if/when I hear more, but I&#8217;m definitely curious if anyone else has found a solution for that issue.</description>
      <content:encoded><![CDATA[<p>@testme - The problem of physical device testing is yet another facet to the unit testing puzzle. I have yet to see any good emulators for tackling this issue in an automated fashion, though I have heard some rumors of tools coming in the next few months. I&#8217;ll be sure to post more details if/when I hear more, but I&#8217;m definitely curious if anyone else has found a solution for that issue.</p>]]></content:encoded>
      <pubDate>Fri, 18 Jan 2013 15:07 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//ui-testing-a-sencha-app#id:32892#date:15:07</guid>
    </item>
  
		<item>
      <title>Comment by testme</title>
      <description>@Mats: Thanks Mats, i get that i should use siesta and i have convinced my automation team to go for it, But,,, 
@all:&amp;nbsp; My assignment actually involves building a tablet sencha application and then testing it, 
and i am looking for a example/demo which can help me using develop an tablet application using eclipse (Java) and i can run it on an emulator (android, or any else u prefer.) Now , being new to sencha development, it would be of great help if anyone can tell stepwise how to go for it, what will i need , and how to programme atleast for a demo. 
So guys, can you share any link or tell stepwise how to go about with it ; from what are the requirements, to whether i ll be needing what emulator, and how to go about them, and in the end, how to test it on siesta,
@ Arthur Kay
I have looked at your new post , and will be glad if you can help me out in what i posted above.</description>
      <content:encoded><![CDATA[<p>@Mats: Thanks Mats, i get that i should use siesta and i have convinced my automation team to go for it, But,,, <br />
@all:&nbsp; My assignment actually involves building a tablet sencha application and then testing it, <br />
and i am looking for a example/demo which can help me using develop an tablet application using eclipse (Java) and i can run it on an emulator (android, or any else u prefer.) Now , being new to sencha development, it would be of great help if anyone can tell stepwise how to go for it, what will i need , and how to programme atleast for a demo. <br />
So guys, can you share any link or tell stepwise how to go about with it ; from what are the requirements, to whether i ll be needing what emulator, and how to go about them, and in the end, how to test it on siesta,<br />
@ Arthur Kay<br />
I have looked at your new post , and will be glad if you can help me out in what i posted above.</p>]]></content:encoded>
      <pubDate>Fri, 18 Jan 2013 05:06 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//ui-testing-a-sencha-app#id:32890#date:05:06</guid>
    </item>
  
		<item>
      <title>Comment by Arthur Kay</title>
      <description>@all &#45; As several of you pointed out that my original code sample was not a very useful test, I have updated the GitHub repo (and this post) with a better test (the column renderer). Please check this out if you have a chance!</description>
      <content:encoded><![CDATA[<p>@all - As several of you pointed out that my original code sample was not a very useful test, I have updated the GitHub repo (and this post) with a better test (the column renderer). Please check this out if you have a chance!</p>]]></content:encoded>
      <pubDate>Thu, 17 Jan 2013 16:02 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//ui-testing-a-sencha-app#id:32888#date:16:02</guid>
    </item>
  
		<item>
      <title>Comment by Mats</title>
      <description>@testme: Selenium is not a good fit for Sencha applications due to the dynamic nature of the generated HTML. This is where Siesta does a better job offering you Component Queries instead which are much easier to use to target things in the DOM. Siesta is completely web based so you can launch it in any browser.</description>
      <content:encoded><![CDATA[<p>@testme: Selenium is not a good fit for Sencha applications due to the dynamic nature of the generated HTML. This is where Siesta does a better job offering you Component Queries instead which are much easier to use to target things in the DOM. Siesta is completely web based so you can launch it in any browser.</p>]]></content:encoded>
      <pubDate>Thu, 17 Jan 2013 14:44 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//ui-testing-a-sencha-app#id:32887#date:14:44</guid>
    </item>
  
		<item>
      <title>Comment by testme</title>
      <description>Hy Mats,
I was looking forward to create a sencha application and then test it under automation testing using selenium or as you suggest Siesta.
Being an automation tester, i have a good knowledge of selenium, but not sencha, Can you provide me by an example (as i am totally new to sencha) , how to go about making the app using sencha.
Also, whether i ll be needing any other interface to test it my machine, like a tablet or mobile emulator ?

Thanks.</description>
      <content:encoded><![CDATA[<p>Hy Mats,<br />
I was looking forward to create a sencha application and then test it under automation testing using selenium or as you suggest Siesta.<br />
Being an automation tester, i have a good knowledge of selenium, but not sencha, Can you provide me by an example (as i am totally new to sencha) , how to go about making the app using sencha.<br />
Also, whether i ll be needing any other interface to test it my machine, like a tablet or mobile emulator ?</p>

<p>Thanks.</p>]]></content:encoded>
      <pubDate>Thu, 17 Jan 2013 08:41 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//ui-testing-a-sencha-app#id:32885#date:08:41</guid>
    </item>
  
		<item>
      <title>Comment by Mats</title>
      <description>Hey Fred,

Any ideas for how we can improve Siesta to make it even less painful, and more &#8216;enjoyable&#8217;? 
We&#8217;re always interested in ideas for improvement!</description>
      <content:encoded><![CDATA[<p>Hey Fred,</p>

<p>Any ideas for how we can improve Siesta to make it even less painful, and more &#8216;enjoyable&#8217;? <img src="/images/smileys/smile.gif" width="19" height="19" alt="smile" style="border:0;" /><br />
We&#8217;re always interested in ideas for improvement!</p>]]></content:encoded>
      <pubDate>Wed, 16 Jan 2013 15:27 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//ui-testing-a-sencha-app#id:32882#date:15:27</guid>
    </item>
  
		<item>
      <title>Comment by Fred</title>
      <description>Hi,

good post. Totally agree with you. I started with Selenium in the first place. While it is very mature and has a long history it is not suited for sencha touch. Doing simple things like tapping on a button is frustrating. Since the dom is completely generated it is very hard to write the XPath queries.
Then I discovered Siesta and I think its the least painful way testing a Sencha Touch App.</description>
      <content:encoded><![CDATA[<p>Hi,</p>

<p>good post. Totally agree with you. I started with Selenium in the first place. While it is very mature and has a long history it is not suited for sencha touch. Doing simple things like tapping on a button is frustrating. Since the dom is completely generated it is very hard to write the XPath queries.<br />
Then I discovered Siesta and I think its the least painful way testing a Sencha Touch App.</p>]]></content:encoded>
      <pubDate>Sat, 12 Jan 2013 16:57 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//ui-testing-a-sencha-app#id:32869#date:16:57</guid>
    </item>
  
		
	</channel>
</rss>