Please post your Web Driver questions in official Web Driver forum

Wednesday, May 11, 2011

Selenium Automation Framework / Reusbale Functions / Library

I have had hunch about this from long and finally I am going to work on it. As the name suggests I would be developing Selenium library which could be plugged in and used for web UI automation. And I would be working on Java Selenium client, that is Selenium 1.0 and would extend it for Selenium 2.0. So here is my wish list what I would take up for this -

  1. Writing Safe Selenium api which checks for presence of element before carrying out operation
  2. File read and write operation - using text/excel/csv
  3. HTML parsing, i.e. reading number of rows in table, get table data etc. Such methods are very popular in QTP world and there is no inbuilt api in Selenium for same.
  4. Having the capability to use external object repo containing application object
  5. Soft assertion using selenium so your test execution continues even in the wake of errors and reports errors at last
  6. And many more....
 Do you also have a wish list? What would you like to be added to this library?

Updates -

I have decided to implement these features for Java as well as C#. Though my preference is java.
I would also be abstracting methods for selenium 1 and 2 to make them more comprehensible....
Fork me on GitHub