I have released a new version of the Test Suite Batch Converter plugin for Selenium IDE. This version, v1.5, brings the ability to convert test cases directly without requiring them to be part of a test suite via a new menu item “Batch convert test cases”. So now you can convert both test suites and the included test cases using the existing “Batch convert test suites” menu item as well as convert stand alone test cases using the new “Batch convert test cases” menu item.
Along with this, the batch conversion language options (i.e. the formatters) will now be listed in alphabetical order. This version also supports Selenium IDE v1.0.10 and will correctly choose the appropriate file extensions during conversion.
Some interesting things this time included having to make a decision on how to identify that a html file is a test case or not. The parser included in Selenium IDE is very forgiving and treats any html file with table rows as a test case and tries to parse it. Generally, I advise the use of the file extension .sel.htm for test cases. This makes it clear that the file is supposed to be a test case. Alas, such use is not wide spread and hence could not be used. Finally, I had to resort to providing a different menu item for converting just test cases. This way the user has the responsibility to provide valid test cases. This choice also lead to internal refactoring to extract out the common functionality that is now used in two places.
As an aside, the name is no longer accurate, but I have decided not to change it. For those who enjoy the latest cutting edge stuff, you can get it from the versions page on the Firefox addons website. If you want to wait, you will get it automatically as soon as the nice people at AMO approve it. As usual, I would appreciate comments, improvements, advise, criticism, problems… I am still on holiday so responses may be delayed.