4. XmlBlackBox http:// code.google.com /p/ xmlblackbox / The development time of a test case decreases increasing the number of cases have already been developed by the possibility of including the same set of steps implemented for other tests. The integration of new operations , not covered in the basic framework, through the ability to develop plugins for that purpose. The Selenium server management is completely guided by the framework. The database check is created simply by the description (in XML) of the columns to be checked and the expected data. Calling a Web Service is based on generating client classes (stubs) with Axis2 and the creation of the XML file that must be contained in the SOAP. Benefits … … during the implementation of the test
5. XmlBlackBox http:// code.google.com /p/ xmlblackbox / The immediate understanding of the objectives of the test due to the capacity given by self-describing XML The quick check of the navigation problems through the use of Selenium that ease the identification of the problem emerged The simple check outcome of calls to web services through the log of the input file sent and the output files received The reduced time of verification / correction even for those who have not implemented the test cases being analyzed Benefits … … in case of failed tests
6. XmlBlackBox http:// code.google.com /p/ xmlblackbox / Application changes that require action on already developed test cases show the potential of the use of XML, in fact: - The use of INCLUDE allows to intervene in one or at least in a limited number of xml files, the ones that relate to the functionality of the application that is the focus of changes - The use of tags allows you to make changes only on individual parts of the test, through the replacement of only the tags that must change the behavior Benefits … … in case of changes to the application
7. XmlBlackBox http:// code.google.com /p/ xmlblackbox / It 's a Java class that implements a specific interface The plugin serves to expand and integrate the basic framework, in order to incorporate new operation in the flow test. Using Plugin What is a Plugin
8. XmlBlackBox http:// code.google.com /p/ xmlblackbox / <RUN-PLUGIN version="1.1" class="org.xbb.plugin.RunAS400Process" > <PARAMETERS> <PARAMETER name="nomeCL" value="getCustomerData" /> <PARAMETER name="CF" value="PCTRTF83G54H501R" /> </PARAMETERS> </RUN-PLUGIN> In this example is called a hypothetical procedure on AS400 that returns customer data by the tax code. Using Plugin An example
9. XmlBlackBox http:// code.google.com /p/ xmlblackbox / The XML fragment can be copied to all the test cases involved in the operation. Furthermore, the plugin can be developed to behave differently depending on the input parameters defined in the tag. Using Plugin How to use
10. XmlBlackBox http:// code.google.com /p/ xmlblackbox / Enables you to include the same set of steps in different test cases. This way you can create a 'library' of operations in xml file. The use of the tag include What is
11. XmlBlackBox http:// code.google.com /p/ xmlblackbox / <INCLUDE-FILE version="1.1" filename="/org/xbb/test/ConfigConnDerby.xml"/> The example describes the configuration that includes a database connection, it can be insert in all test cases that need it. The use of the tag Include An example
12. XmlBlackBox http:// code.google.com /p/ xmlblackbox / Selenium navigation should be contained in a Java class that implements a specific interface It is enough generate selenium in Java code browsing through Selenium IDE, fit in a class and create the xml tag SELENIUM. How is working with Selenium
13. XmlBlackBox http:// code.google.com /p/ xmlblackbox / Selenium configurations not provided by the framework can be managed through the development of a plugin. How is working with Selenium Configurations
14. XmlBlackBox http:// code.google.com /p/ xmlblackbox / The test is self-explanatory. The description with XML allows you to quickly understand the objectives, even at a distance of time or by those who have not implemented the test cases. The use of XML Why
15. XmlBlackBox http:// code.google.com /p/ xmlblackbox / The characteristics of a single test are all contained and described in the XML file and any included files. The use of XML Why
16. XmlBlackBox http:// code.google.com /p/ xmlblackbox / XBB does not even require a leap in the dark. It 'can be easily integrated into an architecture of JUnit tests already implemented. The framework may be delegated only some special steps to understand its potential. Start with XmlBlackBox