<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Robotium &#8211; Wiebe Elsinga</title>
	<atom:link href="http://wiebe-elsinga.com/blog/tag/robotium/feed/" rel="self" type="application/rss+xml" />
	<link>http://wiebe-elsinga.com/blog</link>
	<description>Blog</description>
	<lastBuildDate>Fri, 21 Oct 2011 04:16:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.1</generator>
	<item>
		<title>How-To: Automatic testing for Android Applications</title>
		<link>http://wiebe-elsinga.com/blog/automatic-testing-for-android-applications/</link>
					<comments>http://wiebe-elsinga.com/blog/automatic-testing-for-android-applications/#comments</comments>
		
		<dc:creator><![CDATA[W.Elsinga]]></dc:creator>
		<pubDate>Tue, 03 Aug 2010 03:30:50 +0000</pubDate>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Robotium]]></category>
		<category><![CDATA[Selenium]]></category>
		<guid isPermaLink="false">http://wiebe-elsinga.com/blog/?p=300</guid>

					<description><![CDATA[After setting up your Android development environment, and Developing an Android Application it’s time to set-up a automatic Android Test environment. The steps to achieve this are: Choose a test technique. Creating a test project. Make the test. Run the test. I will use the Android application which was developed inside my previous post. [Update 15-03-2011] Updated to Android 2.3.3. [Update 15-03-2011] Updated to Robotium 2.2. Choose a test technique There are different techniques you can use to test Android applications. The most commonly known is by way of JUnit. JUnit is used to test the technical quality of applications. But what about the testing the functional use of a application, like you would do it with Selenium for web application. For Android applications there is a similar tool for testing called Robotium. It is a UI testing tool which simulates touching, clicks, typing, and other users&#8217; actions relevant for Android applications. In this example I will be using Robotium. Creating a test project From within Eclipse select File menu, New and Other. Choose Android Test Project inside the Android folder. Provide the information about the Android Test project and click Next. Press Finish. You should see the following directory structure Because I will be creating a Robotium test, I must provide the robotium-solo-2.2.jar as library. Make the test From within Eclipse select File menu, New and JUnit Test Case. Provide the information about the Junit Test Case and click Finish. Change MainTest.java to the following package com.my; import java.util.ArrayList; import com.jayway.android.robotium.solo.Solo; import android.app.Activity; import android.test.ActivityInstrumentationTestCase2; import android.widget.TextView; public class MainTest extends ActivityInstrumentationTestCase2 &#123; private Solo solo; private Activity activity; public MainTest&#40;&#41; &#123; super&#40;&#34;com.my&#34;, Main.class&#41;; &#125; @Override protected void setUp&#40;&#41; throws Exception &#123; super.setUp&#40;&#41;; this.activity = this.getActivity&#40;&#41;; this.solo = new Solo&#40;getInstrumentation&#40;&#41;, this.activity&#41;; &#125; @Override public void tearDown&#40;&#41; throws Exception &#123; try &#123; this.solo.finalize&#40;&#41;; &#125; catch &#40;Throwable e&#41; &#123; e.printStackTrace&#40;&#41;; &#125; this.activity.finish&#40;&#41;; super.tearDown&#40;&#41;; &#125; /** * @throws Exception Exception */ public void testDisplay&#40;&#41; throws Exception &#123; String text = &#34;Congratulations&#34;; //Enter &#34;Congratulations&#34; inside the EditText field. this.solo.enterText&#40;&#40;EditText&#41; this.activity.findViewById&#40;R.id.EditText01&#41;, text&#41;; //Click on the button named &#34;Click&#34;. this.solo.clickOnButton&#40;&#34;Click&#34;&#41;; //Check to see if the given text is displayed. assertTrue&#40;this.solo.searchText&#40;text&#41;&#41;; TextView outputField = &#40;TextView&#41; this.activity.findViewById&#40;R.id.TextView01&#41;; ArrayList currentTextViews = this.solo.getCurrentTextViews&#40;outputField&#41;; assertFalse&#40;currentTextViews.isEmpty&#40;&#41;&#41;; TextView output = currentTextViews.get&#40;0&#41;; assertEquals&#40;text, output.getText&#40;&#41;.toString&#40;&#41;&#41;; &#125; &#125; Run the test Al that is left is running the test. Right click MyAndroidAppTestProject. Select Android Junit Test within the Run-As option. Be patient, the emulator starts up very slow. You should get the following result Appendix Download source code Android.zip [16kB] and AndroidTest.zip [16kB]]]></description>
										<content:encoded><![CDATA[<p>After setting up your <a href="http://wiebe-elsinga.com/blog/?p=259">Android development environment</a>, and <a href="http://wiebe-elsinga.com/blog/?p=275">Developing an Android Application</a> it’s time to set-up a automatic Android Test environment. The steps to achieve this are:</p>
<ul>
<li>Choose a test technique.</li>
<li>Creating a test project.</li>
<li>Make the test.</li>
<li>Run the test.</li>
</ul>
<p>I will use the Android application which was developed inside my <a href="http://wiebe-elsinga.com/blog/?p=275">previous post</a>.</p>
<p><strong>[Update 15-03-2011]</strong> Updated to Android 2.3.3.<br />
<strong>[Update 15-03-2011]</strong> Updated to Robotium 2.2.<br />
<span id="more-300"></span></p>
<h2>Choose a test technique</h2>
<p>There are different techniques you can use to test Android applications. The most commonly known is by way of JUnit. JUnit is used to test the technical quality of applications. But what about the testing the functional use of  a application, like you would do it with Selenium for web application. For Android applications there is a similar tool for testing called <a href="http://code.google.com/p/robotium/">Robotium</a>. It is a UI testing tool which simulates touching, clicks, typing, and other users&#8217; actions relevant for Android applications. In this example I will be using <a href="http://code.google.com/p/robotium/">Robotium</a>.</p>
<h2>Creating a test project<a href="http://wiebe-elsinga.com/blog/wp-content/uploads/2011/03/testProject.gif" rel="lightbox[300]" title="testProject"><img loading="lazy" class="alignright size-thumbnail wp-image-301" title="testProject" src="http://wiebe-elsinga.com/blog/wp-content/uploads/2011/03/testProject-150x150.gif" alt="" width="150" height="150" /></a></h2>
<ol>
<li>From within Eclipse select <strong>File</strong> menu, <strong>New</strong> and <strong>Other</strong>.</li>
<li>Choose <strong>Android Test Project</strong> inside the <strong>Android</strong> folder.</li>
<li>Provide the information about the Android Test project and click <strong>Next</strong>.</li>
<li>Press <strong>Finish</strong>. You should see the following directory structure</li>
</ol>
<p><a href="http://wiebe-elsinga.com/blog/wp-content/uploads/2011/03/testFiles.gif" rel="lightbox[300]" title="testFiles"><img loading="lazy" class="alignnone size-thumbnail wp-image-302" title="testFiles" src="http://wiebe-elsinga.com/blog/wp-content/uploads/2011/03/testFiles-150x150.gif" alt="" width="150" height="150" /></a></p>
<p>Because I will be creating a Robotium test, I must provide the <a href="http://code.google.com/p/robotium/downloads/detail?name=robotium-solo-2.2.jar&amp;can=2&amp;q=">robotium-solo-2.2.jar</a> as library.</p>
<h2>Make the test<a href="http://wiebe-elsinga.com/blog/wp-content/uploads/2010/08/TestCase.gif" rel="lightbox[300]" title="TestCase"><img loading="lazy" class="alignright size-thumbnail wp-image-304" title="TestCase" src="http://wiebe-elsinga.com/blog/wp-content/uploads/2010/08/TestCase-150x150.gif" alt="" width="150" height="150" /></a></h2>
<ol>
<li>From within Eclipse select <strong>File</strong> menu, <strong>New</strong> and <strong>JUnit Test Case</strong>.</li>
<li>Provide the information about the Junit Test Case and click <strong>Finish</strong>.</li>
<li>Change <em>MainTest.java</em> to the following</li>
</ol>
<p></p>
<div class="codecolorer-container java default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:100%;"><div class="java codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;"><span style="color: #000000; font-weight: bold;">package</span> <span style="color: #006699;">com.my</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">java.util.ArrayList</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">com.jayway.android.robotium.solo.Solo</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">android.app.Activity</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">android.test.ActivityInstrumentationTestCase2</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">import</span> <span style="color: #006699;">android.widget.TextView</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> MainTest <span style="color: #000000; font-weight: bold;">extends</span> ActivityInstrumentationTestCase2 <span style="color: #009900;">&#123;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">private</span> Solo solo<span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">private</span> Activity activity<span style="color: #339933;">;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">public</span> MainTest<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">super</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;com.my&quot;</span>, Main.<span style="color: #000000; font-weight: bold;">class</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
@Override<br />
<span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #000066; font-weight: bold;">void</span> setUp<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+exception"><span style="color: #003399;">Exception</span></a> <span style="color: #009900;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">super</span>.<span style="color: #006633;">setUp</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">activity</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">getActivity</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">solo</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Solo<span style="color: #009900;">&#40;</span>getInstrumentation<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>, <span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">activity</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
@Override<br />
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> tearDown<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+exception"><span style="color: #003399;">Exception</span></a> <span style="color: #009900;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span><br />
<span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">solo</span>.<span style="color: #006633;">finalize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+throwable"><span style="color: #003399;">Throwable</span></a> e<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
e.<span style="color: #006633;">printStackTrace</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">activity</span>.<span style="color: #006633;">finish</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">super</span>.<span style="color: #006633;">tearDown</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #008000; font-style: italic; font-weight: bold;">/**<br />
* @throws Exception Exception<br />
*/</span><br />
<span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000066; font-weight: bold;">void</span> testDisplay<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">throws</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+exception"><span style="color: #003399;">Exception</span></a> <span style="color: #009900;">&#123;</span><br />
<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+string"><span style="color: #003399;">String</span></a> text <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;Congratulations&quot;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">//Enter &quot;Congratulations&quot; inside the EditText field.</span><br />
<span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">solo</span>.<span style="color: #006633;">enterText</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>EditText<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">activity</span>.<span style="color: #006633;">findViewById</span><span style="color: #009900;">&#40;</span>R.<span style="color: #006633;">id</span>.<span style="color: #006633;">EditText01</span><span style="color: #009900;">&#41;</span>, text<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">//Click on the button named &quot;Click&quot;.</span><br />
<span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">solo</span>.<span style="color: #006633;">clickOnButton</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;Click&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #666666; font-style: italic;">//Check to see if the given text is displayed.</span><br />
assertTrue<span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">solo</span>.<span style="color: #006633;">searchText</span><span style="color: #009900;">&#40;</span>text<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
TextView outputField <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>TextView<span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">activity</span>.<span style="color: #006633;">findViewById</span><span style="color: #009900;">&#40;</span>R.<span style="color: #006633;">id</span>.<span style="color: #006633;">TextView01</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Adocs.oracle.com+javase+docs+api+arraylist"><span style="color: #003399;">ArrayList</span></a> currentTextViews <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006633;">solo</span>.<span style="color: #006633;">getCurrentTextViews</span><span style="color: #009900;">&#40;</span>outputField<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
assertFalse<span style="color: #009900;">&#40;</span>currentTextViews.<span style="color: #006633;">isEmpty</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
TextView output <span style="color: #339933;">=</span> currentTextViews.<span style="color: #006633;">get</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
assertEquals<span style="color: #009900;">&#40;</span>text, output.<span style="color: #006633;">getText</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #009900;">&#125;</span></div></div>
<h2>Run the test</h2>
<p>Al that is left is running the test.</p>
<ol>
<li>Right click <em>MyAndroidAppTestProject</em>.</li>
<li>Select <strong>Android Junit Test</strong> within the <strong>Run-As</strong> option.</li>
<li>Be patient, the emulator starts up very slow. You should get the following result</li>
</ol>
<p><a href="http://wiebe-elsinga.com/blog/wp-content/uploads/2010/08/testResult.gif" rel="lightbox[300]" title="testResult"><img loading="lazy" class="alignnone size-full wp-image-306" title="testResult" src="http://wiebe-elsinga.com/blog/wp-content/uploads/2010/08/testResult.gif" alt="" width="348" height="236" srcset="http://wiebe-elsinga.com/blog/wp-content/uploads/2010/08/testResult.gif 348w, http://wiebe-elsinga.com/blog/wp-content/uploads/2010/08/testResult-300x203.gif 300w, http://wiebe-elsinga.com/blog/wp-content/uploads/2010/08/testResult-160x110.gif 160w" sizes="(max-width: 348px) 100vw, 348px" /></a></p>
<h2>Appendix</h2>
<p>Download source code <a href='http://wiebe-elsinga.com/blog/wp-content/uploads/2011/03/Android.zip'>Android.zip</a> [16kB] and <a href='http://wiebe-elsinga.com/blog/wp-content/uploads/2011/03/AndroidTest.zip'>AndroidTest.zip</a> [16kB] </p>
]]></content:encoded>
					
					<wfw:commentRss>http://wiebe-elsinga.com/blog/automatic-testing-for-android-applications/feed/</wfw:commentRss>
			<slash:comments>36</slash:comments>
		
		
			</item>
		<item>
		<title>Android Continuous Integration</title>
		<link>http://wiebe-elsinga.com/blog/android-continuous-integration/</link>
					<comments>http://wiebe-elsinga.com/blog/android-continuous-integration/#respond</comments>
		
		<dc:creator><![CDATA[W.Elsinga]]></dc:creator>
		<pubDate>Mon, 26 Jul 2010 06:05:44 +0000</pubDate>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[CI]]></category>
		<category><![CDATA[Continuous Integration]]></category>
		<category><![CDATA[Hudson]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[Robotium]]></category>
		<category><![CDATA[Selenium]]></category>
		<guid isPermaLink="false">http://wiebe-elsinga.com/blog/?p=238</guid>

					<description><![CDATA[So I have been working on a Selenium RC solution with the use of Robotium. To guaranty stable implementation I have set up a Android Continuous Integration Environment. With the use of Maven and Hudson (as done here)  I have achieved this. Until next time&#8230; p.s. Interesting vid [qrcodetag/]]]></description>
										<content:encoded><![CDATA[<p><a href="http://wiebe-elsinga.com/blog/wp-content/uploads/2010/05/android.jpg" rel="lightbox[238]" title="android"><img loading="lazy" class="size-thumbnail wp-image-170 alignleft" style="padding-right: 10px;" title="android" src="http://wiebe-elsinga.com/blog/wp-content/uploads/2010/05/android-150x150.jpg" alt="Android" width="150" height="150" srcset="http://wiebe-elsinga.com/blog/wp-content/uploads/2010/05/android-150x150.jpg 150w, http://wiebe-elsinga.com/blog/wp-content/uploads/2010/05/android-300x300.jpg 300w, http://wiebe-elsinga.com/blog/wp-content/uploads/2010/05/android-200x200-cropped.jpg 200w, http://wiebe-elsinga.com/blog/wp-content/uploads/2010/05/android.jpg 500w" sizes="(max-width: 150px) 100vw, 150px" /></a>So I have been working on a <a title="Relenium RC " href="http://seleniumhq.org/projects/remote-control/" target="_blank">Selenium RC</a> solution with the use of <a title="Robotium" href="http://code.google.com/p/robotium/" target="_blank">Robotium</a>. To guaranty stable implementation I have set up a Android Continuous Integration Environment. With the use of <a title="Maven" href="http://maven.apache.org/" target="_blank">Maven</a> and <a title="Hudson" href="http://hudson-ci.org/" target="_blank">Hudson</a> (as done <a title="Hudson and android" href="http://www.facebook.com/note.php?note_id=499519075367" target="_blank">here</a>)  I have achieved this.</p>
<p>Until next time&#8230;</p>
<p>p.s. Interesting <a title="Robotium Vid" href="http://www.youtube.com/watch?v=VYk1_kpSzQg&amp;feature=player_embedded" target="_blank">vid</a></p>
<p>[qrcodetag/]</p>
]]></content:encoded>
					
					<wfw:commentRss>http://wiebe-elsinga.com/blog/android-continuous-integration/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Functioneel Testen voor Android</title>
		<link>http://wiebe-elsinga.com/blog/functioneel-testen-voor-android/</link>
					<comments>http://wiebe-elsinga.com/blog/functioneel-testen-voor-android/#respond</comments>
		
		<dc:creator><![CDATA[W.Elsinga]]></dc:creator>
		<pubDate>Thu, 06 May 2010 03:49:40 +0000</pubDate>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Robotium]]></category>
		<category><![CDATA[Selenium]]></category>
		<guid isPermaLink="false">http://wiebe-elsinga.com/blog/?p=169</guid>

					<description><![CDATA[Zoals vele collega&#8217;s ben ook ik bezig met het ontwikkelen van een Android applicatie. Na 4 uurtjes was daar toch mijn eerste Android app. Ja en als goede software ontwikkelaar natuurlijk doet, unit-testen. Met JUnit de code getest. Maar ik wou ook de &#8220;frond-end&#8221; functionaliteit testen, en daar stookte het. Tijdens mijn dagelijkse ontwikkel werkzaamheden maak ik Web applicaties en lever ik middels Selenium ook functionele testen op. Helaas ben ik tot de conclusie gekomen dat dit nog ontbreekt bij het ontwikkelen van Android applicaties. Ik heb gekeken of Positron (een Google code project) iets is. Positron voorziet in het uitvoeren van Android Activiteiten om zodoende een test scenario na te spelen. Ik heb ook gekeken naar Robotium. Dit is nou precies wat ik zoek, dus ben nu bezig om dit te gebruiken om functionele test te maken. [qrcodetag/]]]></description>
										<content:encoded><![CDATA[<p><a href="http://wiebe-elsinga.com/blog/wp-content/uploads/2010/05/android.jpg" rel="lightbox[169]" title="android"><img loading="lazy" class="size-thumbnail wp-image-170 alignleft" style="padding-right: 10px;" title="android" src="http://wiebe-elsinga.com/blog/wp-content/uploads/2010/05/android-150x150.jpg" alt="Android" width="150" height="150" srcset="http://wiebe-elsinga.com/blog/wp-content/uploads/2010/05/android-150x150.jpg 150w, http://wiebe-elsinga.com/blog/wp-content/uploads/2010/05/android-300x300.jpg 300w, http://wiebe-elsinga.com/blog/wp-content/uploads/2010/05/android-200x200-cropped.jpg 200w, http://wiebe-elsinga.com/blog/wp-content/uploads/2010/05/android.jpg 500w" sizes="(max-width: 150px) 100vw, 150px" /></a>Zoals vele collega&#8217;s ben ook ik bezig met het ontwikkelen van een <a title="Android" href="http://www.android.com/" target="_blank">Android </a>applicatie. Na 4 uurtjes was daar toch mijn eerste Android app.<br />
Ja en als goede software ontwikkelaar natuurlijk doet, unit-testen. Met <a title="JUnit" href="http://www.junit.org" target="_blank">JUnit</a> de code getest. Maar ik wou ook de &#8220;frond-end&#8221; functionaliteit testen, en daar stookte het.</p>
<p><span id="more-169"></span></p>
<p>Tijdens mijn dagelijkse ontwikkel werkzaamheden maak ik Web applicaties en lever ik middels <a title="Selenium" href="http://seleniumhq.org/" target="_blank">Selenium</a> ook functionele testen op. Helaas ben ik tot de conclusie gekomen dat dit nog ontbreekt bij het ontwikkelen van Android applicaties.</p>
<p>Ik heb gekeken of <a title="Positron" href="http://code.google.com/p/autoandroid/" target="_blank">Positron</a> (een Google code project) iets is. Positron voorziet in het uitvoeren van Android Activiteiten om zodoende een test scenario na te spelen.<br />
Ik heb ook gekeken naar <a title="Robotium" href="http://code.google.com/p/robotium/" target="_blank">Robotium</a>. Dit is nou precies wat ik zoek, dus ben nu bezig om dit te gebruiken om functionele test te maken.</p>
<p>[qrcodetag/]</p>
]]></content:encoded>
					
					<wfw:commentRss>http://wiebe-elsinga.com/blog/functioneel-testen-voor-android/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
