<?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></title>
	<atom:link href="http://www.hashlive.com/hashblog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.hashlive.com/hashblog</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 14 Jan 2011 12:55:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Measuring and Reproducing a Low-Bandwidth Environment for Flash Video</title>
		<link>http://www.hashlive.com/hashblog/?p=36</link>
		<comments>http://www.hashlive.com/hashblog/?p=36#comments</comments>
		<pubDate>Wed, 15 Dec 2010 12:50:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.hashlive.com/hashblog/?p=36</guid>
		<description><![CDATA[YouTube’s speed  testing site  gives a good estimate of how fast videos can play on a computer. Video streaming servers often have their bandwidth limited for a particular connection to 140% of the highest needed bandwidth for the video to play, so it’s normal for a video to not fill up its buffer as fast [...]]]></description>
			<content:encoded><![CDATA[<p>YouTube’s speed  testing site  gives a good estimate of how fast videos can play on a computer. Video streaming servers often have their bandwidth limited for a particular connection to 140% of the highest needed bandwidth for the video to play, so it’s normal for a video to not fill up its buffer as fast as a network connection could allow.</p>
<p>YouTube’s numbers for its customers show that typical bandwidth for the USA is 4.21 Mbps. This is more than enough for online video applications. As a comparison, today’s high quality “HD” web video is about 3 Mbps, regular DVD is 5 Mbps, and Blu-Ray DVD is 40Mbps.  In 2005, typical web video was 0.3 Mbps (300kbps).</p>
<p><strong>Reproducing a low-bandwidth environment<br />
</strong><br />
The easiest way to test on a low-bandwidth environment is to use a macintosh and ask the Mac OS firewall to limit the speed on a specific network port. This will limit the network speed on that port for the entire computer.</p>
<p>The ports that should be limited to simulate low-bandwidth web video performance issues are:<br />
Port 80: Non-encrypted HTTP traffic<br />
Port 443: Encrypted HTTPS traffic<br />
Port 1935: Streaming RTMP video</p>
<p>These are the only 3 ports required to limit. Note that this will reduce bandwidth for all applications using these ports, so you will notice the performance difference for all web pages, not just the ones you are testing.</p>
<p>O&#8217;Reilly&#8217;s Mac Dev center has a good introduction to the Mac OS firewall, and MacTipsAndTricks[dot]com has a good overview of using it to reduce bandwidth.</p>
<p>As an example, to limit network activity to 50K a second (400Kbps, 0.4 Mbps), open a Terminal window in the Mac OS and enter the following:</p>
<p>sudo ipfw pipe 1 config bw 50KByte/s<br />
sudo ipfw add 1 pipe 1 src-port 80<br />
sudo ipfw pipe 2 config bw 50KByte/s<br />
sudo ipfw add 2 pipe 2 src-port 1935<br />
sudo ipfw pipe 3 config bw 50KByte/s<br />
sudo ipfw add 3 pipe 3 src-port 443</p>
<p>To remove the bandwidth limiting, enter the following:<br />
sudo ipfw delete 1<br />
sudo ipfw delete 2<br />
sudo ipfw delete 3</p>
<p>The bandwidth limits are set per port, so the browser&#8217;s true bandwidth will be is higher because multiple ports may be used to render a page. HTML content is almost always loaded on port 80; streaming video is usually on port 1935. Once an HTML page has loaded and the video is playing, the bandwidth limit on streaming video will be accurate.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hashlive.com/hashblog/?feed=rss2&amp;p=36</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Using a Color Gradient as the Text Color in Flex 3</title>
		<link>http://www.hashlive.com/hashblog/?p=34</link>
		<comments>http://www.hashlive.com/hashblog/?p=34#comments</comments>
		<pubDate>Wed, 15 Dec 2010 12:48:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.hashlive.com/hashblog/?p=34</guid>
		<description><![CDATA[Flex 3 or Flash doesn’t natively support using a color gradient as the color for text. Instead, you need to create a gradient bitmap and use a bitmap of the text as a mask against the gradient. Here’s a quick function that does this, using the GradientCanvas class from Nick Schneble’s blog.  To use the [...]]]></description>
			<content:encoded><![CDATA[<p>Flex 3 or Flash doesn’t natively support using a color gradient as the color for text. Instead, you need to create a gradient bitmap and use a bitmap of the text as a mask against the gradient.</p>
<p>Here’s a quick function that does this, using the <a href="http://userflex.wordpress.com/2008/01/30/add-canvas-gradient/" target="_blank">GradientCanvas</a> class from Nick Schneble’s blog.  To use the function, pass in an ID of a Flex 3 text field, the X and Y coordinates at which the gradient text is to appear, and the name of a CSS class defining the gradient colors.</p>
<p>For example, if you had a text field that looked like:</p>
<p>&lt;mx:Text text=&#8221;Gradient Text&#8221; x=”10” y=”10” /&gt;</p>
<p>Then the function call would look like:</p>
<p>drawGradientText(this, myTextField, 10, 10, &#8220;gradientStyle&#8221;);</p>
<p>Your code would also need to include the <a href="http://userflex.wordpress.com/2008/01/30/add-canvas-gradient/" target="_blank">GradientCanvas</a> class, and define a CSS class like this:</p>
<p>.gradientStyle    {fill-alphas: 1,1; fill-colors: #ff0000, #0000ff; corner-radius: 0}</p>
<p>The complete function is:</p>
<p>public static function drawGradientText(container:UIComponent, sourceText:Text, sourceTextX:Number, sourceTextY:Number, gradientStyleName:String)<br />
{<br />
// check text height and width as zero values will lead to an invalid bitmap error<br />
if ( (sourceText.height &lt; 1) || (sourceText.width &lt; 1) ) return;</p>
<p>// create a bitmap version of text to be used as a stencil<br />
var bitmapData:BitmapData = new BitmapData(sourceText.width, sourceText.height, true, 0);<br />
// use a matrix when writing into the bitmap to preserve transparency<br />
bitmapData.draw(sourceText, new Matrix());<br />
// convert the bitmap data into an image object to be able to add it to the flex stage as a UI Component<br />
var bitmap:Bitmap = new Bitmap(bitmapData, &#8220;auto&#8221;, true);<br />
var image:Image = new Image();<br />
image.source = bitmap;<br />
image.cacheAsBitmap = true;<br />
// object and mask have to be directly over each other on the stage<br />
image.x = sourceTextX;<br />
image.y = sourceTextY;<br />
// add to the stage<br />
container.addChild(image);</p>
<p>// create a gradient with the same size as the text bitmap<br />
var gradientCanvas:GradientCanvas = new GradientCanvas();<br />
gradientCanvas.width = sourceText.width;<br />
gradientCanvas.height = sourceText.height;<br />
// object and mask have to be directly over each other on the stage<br />
gradientCanvas.x = sourceTextX;<br />
gradientCanvas.y = sourceTextY;<br />
// set gradient colors<br />
gradientCanvas.styleName = gradientStyleName;<br />
// make the gradient&#8217;s vector art available as a bitmap in Flash<br />
gradientCanvas.cacheAsBitmap = true;<br />
// mask the gradient with the text stencil<br />
gradientCanvas.mask = image;<br />
// add to the stage<br />
container.addChild(gradientCanvas);<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hashlive.com/hashblog/?feed=rss2&amp;p=34</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Testing</title>
		<link>http://www.hashlive.com/hashblog/?p=25</link>
		<comments>http://www.hashlive.com/hashblog/?p=25#comments</comments>
		<pubDate>Sun, 29 Aug 2010 06:15:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://localhost/wordpress/?p=25</guid>
		<description><![CDATA[Let’s have first web testing checklist. 1) Functionality Testing 2) Usability testing 3) Interface testing 4) Compatibility testing 5) Performance testing 6) Security testing 1) Functionality Testing: Test for – all the links in web pages, database connection, forms used in the web pages for submitting or getting information from user, Cookie testing. Check all [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Let’s have first web testing checklist.</strong><br />
<strong>1) </strong> Functionality Testing<br />
<strong>2)</strong> Usability testing<br />
<strong>3) </strong> Interface testing<br />
<strong>4)</strong> Compatibility testing</p>
<p><strong>5)</strong> Performance testing<br />
<strong>6) </strong> Security testing</p>
<p><span id="more-84"> </span></p>
<p><strong>1) Functionality Testing:</strong></p>
<p>Test for – all the links in web pages, database connection, forms used in the web pages for submitting or getting information from user, Cookie testing.</p>
<p><strong>Check all the links:</strong></p>
<ul>
<li> Test the outgoing links from all the pages from specific domain under test.</li>
<li>Test all internal links.</li>
<li>Test links jumping on the same pages.</li>
<li>Test links used to send the email to admin or other users from web pages.</li>
<li>Test to check if there are any orphan pages.</li>
<li>Lastly in link checking, check for broken links in all above-mentioned links.</li>
</ul>
<p><strong>Test forms in all pages:</strong><br />
Forms are the integral part of any web site. Forms are used to get information from users and to keep interaction with them. So what should be checked on these forms?</p>
<ul>
<li>First check all the validations on each field.</li>
<li>Check for the default values of fields.</li>
<li>Wrong inputs to the fields in the forms.</li>
<li>Options to create forms if any, form delete, view or modify the forms.</li>
</ul>
<p>Let’s take example of the search engine project currently I am working on, In this project  we have advertiser and affiliate signup steps. Each sign up step is different but dependent on other steps. So sign up flow should get executed correctly. There are different field validations like email Ids, User financial info validations. All these validations should get checked in manual or automated web testing.</p>
<p><strong>Cookies testing:</strong><br />
Cookies are small files stored on user machine. These are basically used to maintain the session mainly login sessions. Test the application by enabling or disabling the cookies in your browser options. Test if the cookies are encrypted before writing to user machine. If you are testing the session cookies (i.e. cookies expire after the sessions ends) check for login sessions and user stats after session end. Check effect on application security by deleting the cookies. (I will soon write separate article on cookie testing)</p>
<p><strong>Validate your HTML/CSS:</strong><br />
If you are optimizing your site for Search engines then HTML/CSS validation is very important. Mainly validate the site for HTML syntax errors. Check if site is crawlable to different search engines.</p>
<p><strong>Database testing:</strong><br />
Data consistency is very important in web application. Check for data integrity and errors while you edit, delete, modify the forms or do any DB related functionality.<br />
Check if all the database queries are executing correctly, data is retrieved correctly and also updated correctly. More on database testing could be load on DB, we will address this in web load or performance testing below.</p>
<p><strong>2) Usability Testing:</strong></p>
<p><strong>Test for navigation:</strong><br />
Navigation means how the user surfs the web pages, different controls like buttons, boxes or how user using the links on the pages to surf different pages.<br />
Usability testing includes:<br />
Web site should be easy to use. Instructions should be provided clearly. Check if the provided instructions are correct means whether they satisfy purpose.<br />
Main menu should be provided on each page. It should be consistent.</p>
<p><strong>Content checking: </strong><br />
Content should be logical and easy to understand. Check for spelling errors. Use of dark colors annoys users and should not be used in site theme. You can follow some standards that are used for web page and content building. These are common accepted standards like as I mentioned above about annoying colors, fonts, frames etc.<br />
Content should be meaningful. All the anchor text links should be working properly. Images should be placed properly with proper sizes.<br />
These are some basic standards that should be followed in web development. Your task is to validate all for UI testing</p>
<p><strong>Other user information for user help:</strong><br />
Like search option, sitemap, help files etc. Sitemap should be present with all the links in web sites with proper tree view of navigation.  Check for all links on the sitemap.<br />
“Search in the site” option will help users to find content pages they are looking for easily and quickly. These are all optional items and if present should be validated.</p>
<p><strong>3) Interface Testing:</strong><br />
The main interfaces are:</p>
<p>Web server and application server interface<br />
Application server and Database server interface.</p>
<p>Check if all the interactions between these servers are executed properly. Errors are handled properly. If database or web server returns any error message for any query by application server then application server should catch and display these error messages appropriately to users. Check what happens if user interrupts any transaction in-between? Check what happens if connection to web server is reset in between?</p>
<p><strong>4) Compatibility Testing:</strong><br />
Compatibility of your web site is very important testing aspect. See which compatibility test to be executed:</p>
<ul>
<li>Browser compatibility</li>
<li>Operating system compatibility</li>
<li>Mobile browsing</li>
<li>Printing options</li>
</ul>
<p><strong>Browser compatibility:</strong><br />
In my web-testing career I have experienced this as most influencing part on web site testing.<br />
Some applications are very dependent on browsers. Different browsers have different configurations and settings that your web page should be compatible with. Your web site coding should be cross browser platform compatible. If you are using java scripts or AJAX calls for UI functionality, performing security checks or validations then give more stress on browser compatibility testing of your web application.<br />
Test web application on different browsers like Internet explorer, Firefox, Netscape navigator, AOL, Safari, Opera browsers with different versions.</p>
<p><strong>OS compatibility:</strong><br />
Some functionality in your web application is may not be compatible with all operating systems. All new technologies used in web development like graphics designs, interface calls like different API’s may not be available in all Operating Systems.</p>
<p>Test your web application on different operating systems like Windows, Unix, MAC, Linux, Solaris with different OS flavors.</p>
<p><strong>Mobile browsing:</strong><br />
This is new technology age. So in future Mobile browsing will rock. Test your web pages on mobile browsers. Compatibility issues may be there on mobile.</p>
<p><strong>Printing options:</strong><br />
If you are giving page-printing options then make sure fonts, page alignment, page graphics getting printed properly. Pages should be fit to paper size or as per the size mentioned in printing option.</p>
<p><strong>5) Performance testing:</strong><br />
Web application should sustain to heavy load. Web performance testing should include:<br />
Web Load Testing<br />
Web Stress Testing</p>
<p>Test application performance on different internet connection speed.<br />
In <strong>web load testing</strong> test if many users are accessing or requesting the same page. Can system sustain in peak load times?  Site should handle many simultaneous user requests, large input data from users, Simultaneous connection to DB, heavy load on specific pages etc.</p>
<p><strong>Stress testing:</strong> Generally stress means stretching the system beyond its specification limits. Web stress testing is performed to break the site by giving stress and checked how system reacts to stress and how system recovers from crashes.<br />
Stress is generally given on input fields, login and sign up areas.</p>
<p>In web performance testing web site functionality on different operating systems, different hardware platforms is checked for software, hardware memory leakage errors,</p>
<p><strong>6) Security Testing:</strong></p>
<p>Following are some test cases for web security testing:</p>
<ul>
<li>Test by pasting internal url directly into browser address bar without login. Internal pages should not open.</li>
<li>If you are logged in using username and password and browsing internal pages then try changing url options directly. I.e. If you are checking some publisher site statistics with publisher site ID= 123. Try directly changing the url site ID parameter to different site ID which is not related to logged in user. Access should denied for this user to view others stats.</li>
<li>Try some invalid inputs in input fields like login username, password, input text boxes. Check the system reaction on all invalid inputs.</li>
<li>Web directories or files should not be accessible directly unless given download option.</li>
<li>Test the CAPTCHA for automates scripts logins.</li>
<li>Test if SSL is used for security measures. If used proper message should get displayed when user switch from non-secure http:// pages to secure https:// pages and vice versa.</li>
<li>All transactions, error messages, security breach attempts should get logged in log files somewhere on web server.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hashlive.com/hashblog/?feed=rss2&amp;p=25</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Browser Compatibility</title>
		<link>http://www.hashlive.com/hashblog/?p=1</link>
		<comments>http://www.hashlive.com/hashblog/?p=1#comments</comments>
		<pubDate>Mon, 23 Aug 2010 04:56:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://localhost/wordpress/?p=1</guid>
		<description><![CDATA[Make sure your site is browser compatible. Your web site should look good in Netscape as well as in Internet Explorer. Don&#8217;t stop designing your site as soon as you find that it looks great on IE. Usually Netscape gives some problems, especially when you try doing complicated HTML designs. But don&#8217;t give up too [...]]]></description>
			<content:encoded><![CDATA[<p>Make sure your site is browser compatible. Your web site should look good in Netscape as well as in Internet Explorer. Don&#8217;t stop designing your site as soon as you find that it looks great on IE. Usually Netscape gives some problems, especially when you try doing complicated HTML designs. But don&#8217;t give up too soon, usually with patience these problems can be easily fixed.</p>
<p><strong>Readable and professional looking fonts –</strong></p>
<p>Don&#8217;t ask me how many times I&#8217;ve clicked out of a site just because the font is in Comic Sans and the color is a bright pink or green. Just by looking at the font you feel that the site is not a professional site. Don&#8217;t use Comic Sans and other fancy fonts that may not be available on most computers. If the font you use is not available in a visitors computer the web site will use the default font of your computer which is much worse. So try to keep to common and professional web fonts. The fonts that I always stick to are Arial and Verdana.</p>
<p><strong>Minimize the use of images</strong></p>
<p>I believe that sometimes simple designs are the most effective for the web. Keep your site simple but neat. Don&#8217;t clutter your page with big, bulky images that take ages to load. Instead use tables creatively and design eye &#8211; catching icons that will draw a visitor&#8217;s attention to a particular section of your site. Tip &#8211; Visitors are usually more interested in content than in design.</p>
<p><strong>Use of white space</strong></p>
<p>- Try not to clutter up your page with too many images, backgrounds and colorful fonts. Again use the Keep It Simple principle by minimizing the use of graphics and using a lot of white space. White space gives a sense of spaciousness and overall neatness to a site. Notice the white space in our site.</p>
<p><strong>Check for broken links</strong></p>
<p>Always check for broken links within a site before uploading it to your web server. In Dreamweaver you can check for broken links by right clicking on any file in the Site Files Window and then clicking on Check links &#8211; Entire Site. If you don&#8217;t have this facility you need to upload your site and then check it using online tools like Net Mechanic</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hashlive.com/hashblog/?feed=rss2&amp;p=1</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
	</channel>
</rss>

