Vote 8

5 Minute Guide To Selenium IDE and Selenium Remote Control (Java) Test Tools

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) »
Vote 4

Java Application Security Through Static Analysis

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) »

Vote 0

How To Fix - Couldn’t find per display information Error in Java Applications

June 23rd, 2008

While running some Java applications (like Thinreader) you may see this strange looking error - Couldn’t find per display information. You may find this error when running such applications in JDK 6 or later. Let’s find out more about it and how you can easily fix it.

Read more (260 words) »

Vote 2

5 Free Java Exams From Sun

June 12th, 2008

Sun offers 5 free proficiency assessment examinations. Read below for details and how you can take them.
Read more (263 words) »

Vote 1

Free Java Certification Exam Retake Promotion

June 12th, 2008

To commemorate Sun’s awarding over half million certifications, Sun will allow you to re-take the exam one additional time, should you need it, for free if you place your order by June 20 2008. If you are not sure about your chances in the very first time, this is a golden opportunity for you. Here’s how you can avail this opportunity.

Read more (207 words) »

Vote 2

Sun Releases Java Composite Application Platform Suite (Java Caps) 6

June 12th, 2008

The Java Composite Application Platform Suite is a collection of middleware software suites using service-oriented architecture for business integration (SOA/BI). Java CAPS is a standard based open source platform for developing software infrastructures using SOA. It is one of the first open-source SOA platforms which have been created using Open ESB (The Enterprise Service Bus) community.

Read more (376 words) »

Vote 4

How To Install, Compile, Run Java On iPhone

June 10th, 2008

iPhone doesn’t natively support Java / J2ME. However as a J2ME developer there are two good ways to develop iPhone applications using Java / J2ME. Read below for details and also to know how you can upload, compile and run Java applications on iPhone.

Read more (688 words) »

Vote 1

Programming Language Survey: Please Provide Your Input & See Results

May 15th, 2008

A short survey on your programming language preferences, shouldn’t take more than 1 minute of your time. Please participate and let others know too.
Read more (41 words) »

Vote 0

(Why) Mac Laptops Are Most Popular With Software Developers & Press at JavaOne 2008

May 14th, 2008

Macbook AirIn JavaOne 2008 I noticed something I least expected - an abundance of Mac laptops (Macbook, Macbook Pro & Macbook Air) in not just developers hands but also press / analysts and presenters. I didn’t conduct a formal survey but anyone there can attest to the fact that around 60-70% of the laptops were Mac with Dell being a distant second. Obviously there must be good reasons for it. So I started asking the software developers. I found 5 good reasons for software developers to use a Mac laptop:

Read more (448 words) »

Vote 0

Microsoft Teaching Java Using Eclipse at JavaOne 2008

May 8th, 2008

Microsoft teaches JavaI was amazed to find Microsoft design engineer Mugunthan Mugundan teaching Java (how to create REST output using Java) using Eclipse IDE. I found it rich in irony at many levels. What do you think?

Read more (56 words) »