
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.hh.se/ceres/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.hh.se/ceres/index.php?action=history&amp;feed=atom&amp;title=DIT085_Ed_2015_Practical_Phase_4</id>
		<title>DIT085 Ed 2015 Practical Phase 4 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.hh.se/ceres/index.php?action=history&amp;feed=atom&amp;title=DIT085_Ed_2015_Practical_Phase_4"/>
		<link rel="alternate" type="text/html" href="https://wiki.hh.se/ceres/index.php?title=DIT085_Ed_2015_Practical_Phase_4&amp;action=history"/>
		<updated>2026-05-12T11:40:02Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.22.6</generator>

	<entry>
		<id>https://wiki.hh.se/ceres/index.php?title=DIT085_Ed_2015_Practical_Phase_4&amp;diff=4907&amp;oldid=prev</id>
		<title>Ceres: Created page with &quot;==Objectives==  This phase of the project is meant to perform a TDD on a minimal Android client for the WhatsAppGU system and  then perform Visual GUI Testing on the complete ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hh.se/ceres/index.php?title=DIT085_Ed_2015_Practical_Phase_4&amp;diff=4907&amp;oldid=prev"/>
				<updated>2015-03-05T12:42:22Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Objectives==  This phase of the project is meant to perform a TDD on a minimal Android client for the WhatsAppGU system and  then perform Visual GUI Testing on the complete ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Objectives==&lt;br /&gt;
&lt;br /&gt;
This phase of the project is meant to perform a TDD on a minimal Android client for the WhatsAppGU system and &lt;br /&gt;
then perform Visual GUI Testing on the complete system under test.&lt;br /&gt;
 &lt;br /&gt;
==General Description== &lt;br /&gt;
The subject of this phase is to design an Android application with the following minimal functionality: &lt;br /&gt;
&lt;br /&gt;
* logging in and connecting to the server,&lt;br /&gt;
* adding a message,&lt;br /&gt;
* fetching all messages for the user, and signaling the server for fetch complete.&lt;br /&gt;
&lt;br /&gt;
For more information on Android application development, we refer to [http://developer.android.com/training/index.html Google's trainings]. &lt;br /&gt;
&lt;br /&gt;
Then, Visual GUI testing using [http://www.sikuli.org/ Sikuli] (or any comparable tool) has to be performed in order to test the main functionality of the system in terms of a few scenarios. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Deliverables==&lt;br /&gt;
&lt;br /&gt;
The deliverable for this phase consists of a single zip file with two folders: a folder containing a single pdf file of the report and another folder containing the source code and the test code for the client (comprising both unit tests and GUI test scripts). &lt;br /&gt;
This phase is organized into 2 sections. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==TDD of an Android Client==&lt;br /&gt;
&lt;br /&gt;
The Android client at hand will have four main activities: a login activity in which the user enters a unique user Id and connects to the server; &lt;br /&gt;
the IP address and the port of the server can either be hard coded or included as input in this activity. &lt;br /&gt;
For all interactions, the XML-like interface developed in [[DIT085 Ed 2015 Practical Phase 2|Phase 2]] will be used. &lt;br /&gt;
If connection is not successful a toast message should be shown and the user should remain in the same activity. &lt;br /&gt;
Otherwise, if the connection is established, the user will be moved to the second activity where it can choose among adding a message, fetching messages, or quitting. &lt;br /&gt;
By choosing add, the user will be moved to the third activity where the text of the to-be-added message can be entered and submitted to the server. &lt;br /&gt;
Again, the activity should make sure that the addition has been successful and if so, return to the second activity (choice between add and fetch).&lt;br /&gt;
Otherwise, the user will remain in the same activity and is notified by a toast message. &lt;br /&gt;
If fetch is chosen all available messages for the user are shown in a separate (fourth) activity and &lt;br /&gt;
after reading  them the user can choose to return to the second activity.&lt;br /&gt;
Upon quitting the connection to the server is closed and the application is quitted. &lt;br /&gt;
&lt;br /&gt;
==Visual GUI Testing==&lt;br /&gt;
Design at least 5 scenarios of interaction between the client and the server (e.g., login unsuccessful, login successful plus add successful, etc.) and&lt;br /&gt;
code them as scripts in Sikuli. &lt;br /&gt;
You can use the emulator for Android cell phones (e.g., available through the Android Eclipse plugin) to test your GUIs. &lt;br /&gt;
Run the tests and make sure that all of them run successfully. &lt;br /&gt;
Perform debugging if necessary.&lt;/div&gt;</summary>
		<author><name>Ceres</name></author>	</entry>

	</feed>