Angsuman Chakraborty
July 1st, 2008
I am re-hashing my physics fundamentals with Dr. Feynman’s lectures. Did I mention how I love reading his books? I have great admiration for Dr. Richard Feynman, next only to Dr. Albert Einstein & Dr. Jagadish Chandra Bose.
Read more (137 words) »
Filed under Life | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
July 1st, 2008
Selenium is a high quality open source test automation tool for web application testing. Selenium runs in Internet Explorer, Mozilla and Firefox on Windows, Linux, and Macintosh, Safari on the Mac, with plans to support Safari on iPhone soon. Selenium test scripts are portable, can be run from browsers (using Selenium IDE) or from JUNit or NGUnit (using Selenium RC) etc.. For example, test scripts written using Selenium IDE in Firefox on Windows can run on Firefox in Mac or Linux, without changing any code. Selenium tests run directly in browsers and so matches the end-user experience closely.
There are three variants of Selenium, which can be used in isolation or in combination to create complete automation test suite for your web applications.
- Selenium Core - In Selenium Core the tests scripts (written in HTML) and the Selenium Test Runner (written in Javascript) are uploaded to the same web server that hosts the application you are trying to test. It is a simpler form of Selenium, and suitable for non-developers, but it has some inherent limitations.
- Selenium IDE - Selenium IDE is a Firefox plugin, which includes the entire Selenium Core, allows you to record, play back, edit, and debug tests in browser. It provides the simplest introduction to Selenium and is highly recommended for beginners. You can save the tests / test suite created in xml or html format. However to run them in an automated fashion you need Selenium Remote Control which is described next.
- Selenium Remote Control - The Selenium Remote Control allows you to develop test cases and test suites in Java (supports JUnit & NGUnit), PHP, Ruby, Python, Perl and even .NET. It is the most flexible setup but requires some development knowledge to set up and use.
- Selenium Grid - Selenium Grid allows several Selenium Remote Control servers to be accessed in parallel by Selenium Grid server. This is extremely useful for automated load and stress testing of web applications.
Today we will discuss on how you can easily create automatic test scripts using Selenium IDE and convert them to JUnit tests (which uses Selenium Remote Control) which can be added to your JUnit based automatic regression test suite.
Read more (1116 words) »
Filed under Headline News, Java Software, Pro Blogging, Web | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
June 30th, 2008
Firefox download manager is still flaky, even after three major versions. Often the download stops for no apparent reasons. At least in version 3, you can safely stop and then resume the download, which works as expected.
Read more (44 words) »
Filed under Browser, Firefox, Web | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
June 30th, 2008
WordPress, in recent versions, have forces the display of WordPress as the generator in meta tags along with the version information in the header of your WordPress blogs - . Unlike previous versions there is not easy way to remove it. Unless WordPress is using that to provide support (which it doesn’t), I don’t see any good reason for providing that extra bit of help to hackers, do you? Here is a simple plugin which will remove the WordPress generator meta tag along with its version information.
Read more (171 words) »
Filed under Headline News, How To, PHP, Pro Blogging, Programming, Web, Web 2.0, WordPress, WordPress Plugin | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
June 29th, 2008
Newer versions of WordPress (2.3.1 and above) adds two extra lines to your blog header. They are:
You need them to use Windows Live Writer to write to your WordPress blog. However many, like me, do not use Windows Live Writer. For them such headers are simply junk and add to the size of their pages (and download time) without adding any value to them or to their users. For such bloggers (majority I presume) here is a simple WordPress plugin ( Angsuman's Windows Live Manifest Remover WordPress plugin) which removes these two header links from your WordPress blog.
Download Angsuman's Windows Live Header Remover Plugin, rename the file to angsumans-windows-live-header-remover.php, upload it to wp-content/plugins folder of your blog and activate it from Plugin Management screen. It requires zero configuration. It does one thing and does it well - remove these two useless headers from your WordPress blog.
Technical Note: There is a similar WordPress plugin which does the same thing. This plugin works differently in that it doesn't add the code directly to the plugin body but to the 'init' hook. This ensures that this plugin will remain compatible with future versions of WordPress as it doesn't depend on the relative order of execution of the plugins versus the default WordPress filters. Sounds complicated? To put it simply - Install the plugin and then forget about it forever. It will continue to serve you (your blog) in the background for a very long time.
You can get more free WordPress plugins here.
Filed under Headline News, How To, Open Source Software, PHP, Pro Blogging, Programming, Web, Web 2.0, WordPress, WordPress Plugin | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
June 28th, 2008
Extendable (by plugins, …) Static Analysis tools like FindBugs can enhance the security of your Java applications (web as well as standalone or client-servers applications) in several significant ways.
Read more (326 words) »
Filed under Enterprise Software, Headline News, Java Software, Programming, Web, Web Services | 1 Comment | RSS 2.0 | Email this Article
Angsuman Chakraborty
June 28th, 2008
For regular spammers and sploggers, banning their IP address is a simple and effective way to get rid of them. I will describe three methods here with the simplest at the very end. Let’s take a simple case study. ntoolz.net has been copying my posts with an automated content creation tool and then blessing me with a pingback for his splog content! So I decided to ban him.
Read more (693 words) »
Filed under Comment Guard Plugin, Pro Blogging, Web, Web 2.0, WordPress, WordPress Plugin | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
June 28th, 2008
Any PHP based software like WordPress, Mambo, Joomla, Drupal, MODx etc. will serve pages both from http://your-site.com as well as http://your-site.com/index.php. This creates duplicate content for search engines, which may then decide to penalize your site for duplicate content. You can safely prevent duplicate content with the following apache code / directive added to your .htaccess file (or in httpd.conf):
Read more (215 words) »
Filed under Headline News, How To, Linux, Web, Web Hosting | Feedback | RSS 2.0 | Email this Article
Angsuman Chakraborty
June 27th, 2008
Arne Brachold’s popular XML Sitemap generator plugin for WordPress may report fewer URL than that exists on your website. This in turn means less URL’s which you are submitting to search engines for indexing.
Read more (249 words) »
Filed under Company, Google, Headline News, Pro Blogging, SEO, Web, Web 2.0, WordPress, WordPress Plugin | 1 Comment | RSS 2.0 | Email this Article
Angsuman Chakraborty
June 26th, 2008
Twitter seems to be having serious scalability issues, a malaise which plagued the otherwise popular service since its early days.
Read more (94 words) »
Filed under Headline News, Web, Web 2.0, Web Services | 2 Comments | RSS 2.0 | Email this Article
|
|