OSAFS uses a hybrid test automation approach. It has been built on Selenium RC. Components of OSAFS are:
• Global Configuration
• Test Scripts / Test Suite
• Execution Engine
• Reporting Engine
• Exception Handling
OSAFS Layers:
OSAFS Architecture:
Core of OSAFS framework is the Execution Engine. The engine consists of 6 main components:
1.Build.xml: starts the Selenium server and kick –start script execution.
2.OSAFS : is invoked by Build.xml which in turn calls XlateExcelToHtml and XlateHtmlToJava
3.XlateExcelToHtml: converts the test cases in the excel sheet to HTML scripts
4.XlateHtmlToJava: converts the HTML scripts to Java.
5.LogUtil.java (Error handler): When there is an exception it is recorded in “Error. log”
6.log4jConfig.properties : This file has the Config and display details for Error.log
OSAFS takes the input from user in form of Config, Test Cases and TestSuite. The execution engine internally invokes Build.xml to start the Selenium server and kick-start script execution. Error handler is invoked in cases of exception and the log file gets generated. At the end of the execution fairly standard and simple reports in html format are provided to the user