Presentation is loading. Please wait.

Presentation is loading. Please wait.

XmlBlackBox The presentation Alexander Crea June the 15st 2010 The presentation Alexander Crea June the 15st 2010

Similar presentations


Presentation on theme: "XmlBlackBox The presentation Alexander Crea June the 15st 2010 The presentation Alexander Crea June the 15st 2010"— Presentation transcript:

1 XmlBlackBox The presentation Alexander Crea June the 15st 2010 The presentation Alexander Crea June the 15st 2010 http://code.google.com/p/xmlblackbox/

2 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ It 's a Java framework for implementing tests in heterogeneous environments What is it

3 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ What can do Testing web applications (with Selenium) Testing Web Services Check the contents of XML file and validate Check the contents of a database Run features not provided using Plugins Include the same set of steps in several test cases Sharing variables created during the flow test case Set conditional waiting for asynchronous processes

4 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ Benefits… … during the implementation of the test 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.

5 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ Benefits … … in case of failed tests 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

6 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ Benefits … … in case of changes to the application 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

7 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ Using Plugin What is a Plugin 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.

8 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ Using Plugin An example In this example is called a hypothetical procedure on AS400 that returns customer data by the tax code.

9 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ Using Plugin How to use 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.

10 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ The use of the tag include What is 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.

11 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ The use of the tag Include An example The example describes the configuration that includes a database connection, it can be insert in all test cases that need it.

12 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ How is working with Selenium 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.

13 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ How is working with Selenium Configurations Selenium configurations not provided by the framework can be managed through the development of a plugin.

14 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ The use of XML Why 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.

15 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ The use of XML Why The characteristics of a single test are all contained and described in the XML file and any included files.

16 XmlBlackBox http://code.google.com/p/xmlblackbox/ http://code.google.com/p/xmlblackbox/ Start with 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.

17 XmlBlackBox http://code.google.com/p/xmlblackbox/ Email examar.xbb@gmail.com


Download ppt "XmlBlackBox The presentation Alexander Crea June the 15st 2010 The presentation Alexander Crea June the 15st 2010"

Similar presentations


Ads by Google