Selenium is one of the best open source functional automation testing tool for web based application testing, which leverages both the developer and tested to work seamlessly together while application development. Since Selenium supports programming languages like JAVA, C# etc.  development is very easy for developers to get rapid framework development.

At CI, we have created a Selenium based framework. It is a hybrid framework and helps  an automation tester to develop automated test cases (Test Scripts) for the application under test without worrying about Selenium’s inbuilt methods and functions since all Selenium’s functions have been wrapper-ed with our frameworks own functions. The deployment of the framework is easy as it involves few Jar file and Excel files (data sheets) in the machines where the application has to be tested. This eliminates the need for Selenium or IDE to be installed in the machine. For the framework, Selenium 2.0, TestNG, JXL technologies have been used.

Please check out the White Paper on Test Automation

Follow me at @kartamd in twitter

~ Karthik

Test Automation is a challenge during the initial stages of automation development. The selection of the application under test will drive the selection of the automation tool. While tools are the driving agents for automation, they are designed for specific environments. Basing an automated testing effort on using only capture tools has its drawbacks. Using a framework approach provides the basis of test automation and simplifies the automation effort. A framework is an integrated system that sets the rules of automation of a specific product.

Automation framework is not a tool to perform specific tasks, but is an infrastructure that provides the solution where different tools can plug itself and do their jobs in an unified manner. This system integrates the function libraries, test data sources, object details and various reusable modules. These components act as small building blocks which need to be assembled to represent a business process.  The effort required to setup the automation in the first place can be greatly mitigated through framework driven automation.

Framework driven automation takes a great deal of work and time to build and maintain the test automation tools that drive the process and contribute to the results. The benefits are not immediately realized. Companies take advantage of frameworks built by other companies to mitigate the effort required in the development of a framework.

Check out the white paper on test automation.

Extensive software testing before the product hits the market is essential for any company to maintain its brand and position among clients and partners. With the increasing adoption of agile methodologies, frequent number of revisions makes testing more sophisticated over time and becomes a larger proposition as the product nears completion. Reusable test automation frameworks coupled with test automation tools are key to shrink test cycle times. Such frameworks ensure consistency of testing, maximize re-usability and provide an outline of overall test structure.

Frameworks are built at each level of testing. Before building a test automation framework, detailed analysis for the need for automation based on the scope in order to define the expectant results, is necessary. In this newsletter, the focus is on  defining the test automation / framework objectives and looking at some of the best practices towards choosing the best tools or test automation frameworks for the project at hand.

  • Define automation framework / objective – Designing a framework for test management including test design, automation, execution, test report management and test data generation. The framework should be easy to use, encourage re-usability, make maintainability easy and reduce the total execution time.
  • Identify testing scope – Based on the nature of product under test, scope for the framework is defined. The need for automation for the product is also analyzed.
  • Choosing the tool – Based on the scope and type of testing involved, feature checklist for the shortlisted tools is prepared while ensuring that the automation objectives are met.

Based on the functional comparison of the tools the best suited tool can be chosen to architect the framework. The tool selection and framework design pave the path towards test automation. Implementation (and the team that does the implementation) is the key towards successful test automation. CI has leveraged its years of product testing experience, its expertise on automation tools and created an easy to use automation framework.

(Reference: Software Test Automation Book by Mark Fewster and Dorothy Graham)