<?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>The discovery blog &#187; Nik Afentoulis</title>
	<atom:link href="http://blogs.semantico.com/discovery-blog/author/nik/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.semantico.com/discovery-blog</link>
	<description>Semantico looks at online publishing</description>
	<lastBuildDate>Thu, 02 Sep 2010 10:22:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
			<title>The discovery blog</title>
			<url>http://blogs.semantico.com/discovery-blog/wp-content/uploads/2008/11/logo64.png</url>
			<link>http://blogs.semantico.com/discovery-blog</link>
			<width>64</width>
			<height>64</height>
			<description>Semantico looks at online publishing</description>
		</image>		<item>
		<title>Quality assurance testing your e-publishing website with Selenium</title>
		<link>http://blogs.semantico.com/discovery-blog/2010/01/quality-assurance-testing-your-e-publishing-website-with-selenium/</link>
		<comments>http://blogs.semantico.com/discovery-blog/2010/01/quality-assurance-testing-your-e-publishing-website-with-selenium/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 22:16:44 +0000</pubDate>
		<dc:creator>Nik Afentoulis</dc:creator>
				<category><![CDATA[Project Management]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blogs.semantico.com/discovery-blog/?p=1020</guid>
		<description><![CDATA[
As quality assurance assistant and junior developer for Semantico I spend a lot of time developing and implementing QA tests. Testing an e-publishing website can be time consuming.
Even a simple test of search functionality has several steps; go to the designated URL, log in, search, verify the search results, check hit highlighting, start an advanced [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-medium wp-image-1024 alignright" title="Example of a browser window displaying a web page" src="http://blogs.semantico.com/discovery-blog/wp-content/uploads/2010/01/selenium-graphic.png" alt="Example of a browser window displaying a web page" width="300" height="267" /></p>
<p>As quality assurance assistant and junior developer for Semantico I spend a lot of time developing and implementing <acronym title="Quality Assurance">QA</acronym> tests. Testing an e-publishing website can be time consuming.</p>
<p>Even a simple test of search functionality has several steps; go to the designated <acronym title="Uniform Resource Locator">URL,</acronym> log in, search, verify the search results, check hit highlighting, start an advanced search, verify those results, check hit highlighting again, start another search with a different term&#8230; well, you get the idea. It&#8217;s repetitive. And there are many aspects to test, not just the search facilities.</p>
<p>After a while you might find yourself thinking that there should be a more efficient way to test your website. You can hire someone to do all your <acronym title="Quality Assurance">QA</acronym> tests for you of course. But will they test your website in an efficient way? Will they follow your test cases to the letter; the tests you have spent  hours designing, editing and documenting? If only there were an automated tool to do all this – and one which did not require a degree in Computer Science to operate.<span id="more-1020"></span></p>
<h2>Enter Selenium</h2>
<p>At Semantico we do extensive testing. To get the most out of budgets and man hours we now use <a title="Selenium IDE" href="http://seleniumhq.org/projects/ide/" target="_blank">Selenium IDE</a> for the repetitive tasks.</p>
<p><!--more-->The official website describes Selenium as “a suite of tools to automate web app testing across many platforms”. You can think of Selenium as a little piece of software that does not mind doing your testing for you. It will test your website exactly the way you want it to be tested, as many times as you wish. You just need to tell it what to test and how. Selenium is a life saving tool and can cut out a lot of time, effort and money. It&#8217;s got no price tag (it&#8217;s free!) and is fairly easy to learn. It comes in different flavours but we&#8217;ll only talk about the Firefox add-on version here because that&#8217;s the version we know best.</p>
<h2>Installation and tutorials</h2>
<p><a href="http://seleniumhq.org/download/" target="_blank">Download Selenium IDE</a> and let&#8217;s get started. Install it on Firefox, restart your browser and you are ready. Selenium now lives in Firefox&#8217;s Tools menu and has a minimal interface. If you have ever recorded macros in an office suite of applications (like OpenOffice or Microsoft Office for example) then using Selenium will be a breeze. If you haven&#8217;t, it will only take you a couple of hours to learn how to use it efficiently.</p>
<p>I have found two very useful tutorials so far, one from the <a href="http://wiki.openqa.org/download/attachments/400/Selenium+IDE.swf?version=1">official Selenium Wiki</a> and one from the <a href="http://www.testinggeek.com/index.php/testing-tools/test-execution/166-selenium-ide-rc-workshop-tutorial">Software Testing Geek website </a>. Both tutorials require Flash to run. These are only a couple of tutorials from the many available on the web. A quick search on your favourite search engine should help you find even more.</p>
<p>After that, you are ready to start recording your test cases and then share them with your colleagues if you want, so that they can do some <acronym title="Quality Assurance">QA</acronym> work when you are not available.</p>
<h2>Using Selenium</h2>
<p>Using Selenium is fairly straightforward. You start Firefox, fire up Selenium <acronym title="Integrated Development Environment">IDE</acronym> and it is already in record mode. As soon as you start clicking on links, typing in text boxes and pressing buttons, Selenium will record these actions. The simplest thing to do when you first run Selenium is use it to run a search on a website. Once you have initiated the search and the search results are displayed on the page, press the &#8216;Record&#8217; button to deactivate it. Afterwards, you can run the newly-created test case and Selenium will play it back on demand, repeating your actions in exactly the same order as you have taken them.</p>
<h2>Translating your test cases</h2>
<p>Selenium stores your commands in its own programming language. This language, called Selenese, uses English words and can be easily read by non-programmers. Once you&#8217;ve created your test cases you can   translate them into Selenese and they are ready to be used whenever you need them. This is where you can realise the true power of this tool. You simply run Selenium and it will handle the rest. You can either run a test suite or individual test cases. If there are any errors, Selenium will report them, along with an explanation, in a log file which is directly accessible from the programme&#8217;s interface.</p>
<p>Selenium&#8217;s interface will not win any beauty contests. But it&#8217;s incredibly easy to use and, most importantly of all, is constantly giving you helpful feedback on what is happening. Brains over beauty. Simple.<br />
<img class="size-full wp-image-1042 aligncenter" title="Sample screen shot of the Selenium IDE interface" src="http://blogs.semantico.com/discovery-blog/wp-content/uploads/2010/01/selenium-screenshot.png" alt="Sample screen shot of the Selenium IDE interface" width="493" height="343" /><br />
Most automated tools we have tried in the past have had one common problem: they will not let you change the base <acronym title="Uniform Resource Locator">URL</acronym>. The base <acronym title="Uniform Resource Locator">URL</acronym> is essentially the <acronym title="Uniform Resource Locator">URL</acronym> of your website. But as all experienced <acronym title="Quality Assurance">QA</acronym> testers know, the <acronym title="Uniform Resource Locator">URL</acronym> can change. One day you are testing something on a test environment, later that day you are testing something on the live site. Implementing your test cases multiple times for each <acronym title="Uniform Resource Locator">URL</acronym> can be time consuming and inefficient. With Selenium <acronym title="Integrated Development Environment">IDE</acronym> you can choose not to store a base <acronym title="Uniform Resource Locator">URL,</acronym> which makes it very versatile and easy to use on different environments.</p>
<h2>Sharing your test cases</h2>
<p>Once you are happy with the implementation of your test cases and you have separated them in test suites, you are able to share them with your colleagues and across different departments. The files are small enough to email, or you can save them to a shared drive.</p>
<h2>It is not a panacea</h2>
<p>No matter how powerful a testing tool is, it will never entirely substitute the work done by a <acronym title="Quality Assurance">QA</acronym> team. Selenium <acronym title="Integrated Development Environment">IDE</acronym> is great for testing specific functionalities of your website and can deal with most of your test cases – but it is not ideal for checking presentation-related issues. You cannot use it, for instance, to test whether your website looks the same on a wide-screen monitor, or to check the text on a particular menu for correct alignment.</p>
<p>Also, it is a Firefox add-on. Unless you install the server-based version of Selenium, <a href="http://seleniumhq.org/projects/remote-control/">Selenium RC</a> on a server, you can only check your website on Firefox.  There are <acronym title="Cascading Style Sheets">CSS</acronym> issues between browsers that you also need to examine before you give the developers the green light to go live.</p>
<p>Lastly, if there is one area that needs improving it&#8217;s that Selenium is a bit weak on dynamic content. If, for example, one of your pages involves different sections that are presented in tabs with JavaScript, Selenium will not always work.</p>
<h2>Recap</h2>
<p>Using Selenium to improve your tests on your website has many benefits: you save time, money and resources. Your tests are done in a fraction of the time it used to take you to fully test a website. Your test cases become more flexible, more dynamic and of course, you never forget to test anything.</p>
<p>I&#8217;ve found Selenium to be an exceptionally useful tool when it comes to regression tests and rapid functional tests. It&#8217;s not here to replace testing done by humans, but it does a great job of assisting and complementing human testing.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.semantico.com/discovery-blog/2010/01/quality-assurance-testing-your-e-publishing-website-with-selenium/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Web accessibility for online publishing sites</title>
		<link>http://blogs.semantico.com/discovery-blog/2009/09/web-accessibility-for-online-publishing-sites/</link>
		<comments>http://blogs.semantico.com/discovery-blog/2009/09/web-accessibility-for-online-publishing-sites/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 15:01:31 +0000</pubDate>
		<dc:creator>Nik Afentoulis</dc:creator>
				<category><![CDATA[Information Architecture]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blogs.semantico.com/discovery-blog/?p=523</guid>
		<description><![CDATA[What exactly do we mean by &#8216;accessibility&#8217;? It&#8217;s not easy to define, since the term can cover many areas and aspects of a resource or product. But when it comes to web sites, “web accessibility means that people with disabilities can use the web”.  (definition courtesy of the W3C Web Accessibility Initiative). Simple as that. [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-526 alignright" title="computer_monitor" src="http://blogs.semantico.com/discovery-blog/wp-content/uploads/2009/09/computer_monitor.png" alt="computer_monitor" width="251" height="271" />What exactly do we mean by &#8216;accessibility&#8217;? It&#8217;s not easy to define, since the term can cover many areas and aspects of a resource or product. But when it comes to web sites, “web accessibility means that people with disabilities can use the web”.  (definition courtesy of the <a href="http://www.w3.org/WAI/intro/accessibility.php" target="_self">W3C Web Accessibility Initiative</a>). Simple as that. So then why is it so difficult, seemingly, for developers to create a web site that can be accessed by everyone, regardless of whether they have a disability or not?</p>
<p>To be fair, it&#8217;s not always the developer&#8217;s fault. There are times when their hands are tied, even though they may have the best intentions at heart, by budget constraints &#8211; or by a customer who is not willing to pay a little extra money for features that will make their website more accessible. There is also the lack of tools in their working environment which would enable them to fully test a web site (the cost of these tools is not inconsiderable). The aforementioned problems and hindrances can all add up to the development of a product that does not meet accessibility standards.<span id="more-523"></span></p>
<h2>The Standards</h2>
<p>The standards themselves can be migraine-inducing and can some times cancel each other out. And there are so many of them. Different countries have their own set of standards and sets of laws; the UK has the <a title="Disability Discrimination Act" href="http://www.opsi.gov.uk/acts/acts2005/plain/ukpga_20050013_en">Disability Discrimination Act</a>, the USA has<a title="Section 508" href="http://www.section508.gov/"> Section 508</a> of the Rehabilitation Act, Japan has the Japanese Industrial Standards <a title="X 8341-3" href="http://www.webstore.jsa.or.jp/webstore/Com/FlowControl.jsp?lang=en&amp;bunsyoId=JIS+X+8341-3:2004&amp;dantaiCd=JIS&amp;status=1&amp;pageNo=0">X 8341-3</a> and the <a title="Web Accessibility Initiative" href="http://www.w3.org/WAI/" target="_self">W3C has a set of its own</a>. Which one is the best? Which one should you be focusing on? Should you be using online or desktop tools to test your website?</p>
<p>In a nutshell, your best tool is simple common sense. Look into the web site you are developing, identify its structure and content, and the answer should present itself. If you feel you do not have the necessary skills and knowledge to improve the accessibility of your site alone however, you may want to consider hiring an experienced professional to do it for you. Both online and desktop tools, either free or not, are very helpful but they lack the human factor, and an experienced eye.</p>
<p>The sooner you start implementing accessible features in the development process, the better. It will save you and your customers time and money but in return, you will earn the users&#8217; trust and loyalty. If they can use the web site you have created without difficulties, they will come back again and again.</p>
<h2>Screen readers</h2>
<p>One extremely helpful tool to test your web site for accessibility is a screen reader. Screen readers are applications which you install on your workstation and they will “read” the contents of a screen (dialogue boxes, application interfaces and web pages) out loud to you. They are mostly used by users who have visual impairments and thankfully, they are also used by a small percentage of web developers for testing according to <a href="http://webaim.org/projects/screenreadersurvey/#demographics" target="_self">a recent survey conducted by WebAIM</a>.</p>
<p>The Windows operating system has one set up out of the box called <a title="Windows Narrator" href="http://www.microsoft.com/enable/training/windowsxp/narratorturnon.aspx">Narrator</a>, so does Mac OS X Leopard in the form of <a href="http://www.apple.com/accessibility/voiceover/" target="_self">VoiceOver</a>, and Ubuntu, a popular Linux distribution also comes with its own screen reader, named <a title="Orca" href="http://live.gnome.org/Orca">Orca</a> pre-installed.</p>
<h2>NVDA</h2>
<p>Personally, I have never found Narrator to be very easy to use and have encountered some problems while using it for testing web sites so I started looking for an alternative solution. The answer to my problem came in the form of  <a href="http://www.nvda-project.org/" target="_self">“NVDA” (NonVisual Desktop Access)</a>. And best of all? It is absolutely open source and free. Of course, there are other products out there such as the ever-popular <a href="http://www.freedomscientific.com/products/fs/jaws-product-page.asp" target="_self">JAWS</a>, but this small application can save you (or your business) money and it works really well for a piece of software that is still in its infancy.</p>
<p>The NVDA web site offers <a href="http://www.nvda-project.org/documentation/nvda_0.6p3_userGuide.html" target="_self">extensive documentation</a> on how to install and use the application, which can also be run from a USB stick (portable version). As expected from a screen reader, most of the functions are accessed via keyboard shortcuts which take some time getting used to if you have not used such a programme before. But once you master the shortcuts you will realise how powerful this tool is in helping you build web sites and web applications that are easily accessible by visually impaired users and it will help you identify any problems that a screen reader use might face while trying to use your web site.</p>
<p>That is not the end of your journey though&#8230; Do not forget that there are other impairments such as colour blindness, auditory impairments, cognitive disabilities and  movement disorders such as the Parkinson&#8217;s disease, to name but a few. These can cause difficulties to many who use the Internet on a daily basis and using a variety of tools to check your web sites can help make your site more accessible for them, also allowing you to achieve your goals faster and more efficiently. It might seem difficult to follow all these guidelines and to use these tools at first but it soon becomes second nature. And the end result is a web site that can be accessed by everyone without difficulties.</p>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.semantico.com/discovery-blog/2009/09/web-accessibility-for-online-publishing-sites/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
