|
Project Information
-
Project feeds
- Code license
-
GNU GPL v3
-
Labels
Test,
continuous,
testing,
selenium,
webapplication,
tool,
java,
JUnit,
xml,
test,
automation,
heterogenouous,
integration,
tools,
environment
Links
|
Simple - Easy - Powerful
XmlBlackBox is a Java framework that enable to describe a test case in Xml. All generic steps are described by the framework (db content check, xml file content check, Selenium navigation, ...), other special needs can be solved with plugins. Plugins are simple Java classes that extend an interface. In this way every step of each test case is described in Xml and its flow is easy to follow. ...
<!-- Example to do a selenium navigation -->
<SELENIUM version="1.1" name="Example999 with SELENIUM">
<NAVIGATION-FILE class="org.xmlblackbox.test.selenium.WebApplicationTest">
<PARAMETERS>
<PARAMETER name="EXAMPLE_WEB_URL" value="${EXAMPLE_WEB_URL@fileProperties}"/>
</PARAMETERS>
</NAVIGATION-FILE>
</SELENIUM>
...
<RUN-PLUGIN version="1.1" class="org.xmlblackbox.test.infrastructure.plugin.GenerateDate" >
<PARAMETERS>
<PARAMETER name="pattern" value="yyyy-MM-dd" />
<PARAMETER name="addOrSubDays" value="-1"/>
</PARAMETERS>
</RUN-PLUGIN>
XmlBlackBox is a professional framework for automation tests. Can be used in a simple environment (eg a web application) or in a more heterogeneous one (Web app, Web Services, Batch application). In each of them you can take advantage of the functionality gave you by the framework. (or the Italian version) XmlBlackBox works with the last Selenium (http://seleniumhq.org/) version, running with Firefox 7!!!! Each test is implemented mainly in Xml language. In this way each test is self-describing and easy to understand. Look at this example XmlBlackBox allows to cut time for creating tests, compared to a development in pure Java code. Furthermore the time for creating a single test decrease increasing the number of tests already implemented, because XmlBlackBox allows to create reusable xml flows, that can be included in many other test cases. XmlBlackBox has the ability to be modular and expandable adding plugin classes to reach any of test purposes. The failures check is easy, given the self-describing capacity of tests. Getting Started -- My first test case -- Documentation -- Tags For any information send an email to examar.xbb@gmail.com ...
<DB-CONNECTIONS version="1.1">
<CONNECTION name="DERBY" driver="org.apache.derby.jdbc.ClientDriver"
db-url="jdbc:derby://localhost:1527/xmlblackbox;create=true"
username="xmlblackbox" password="xmlblackbox"/>
</DB-CONNECTIONS>
<CHECK-DB version="1.1" connection="DERBY" name="checkDB">
<dataset>
<table name="XMLBLACKBOX.HOUSE" where-condition="ID='1'">
<column>ID</column><column>DESCRIPTION</column><column>START_DATE</column>
<row><value>1</value><value>description1</value><value>${today@setVariable}</value></row>
</table>
</dataset>
<dataset>
<table name="XMLBLACKBOX.HOUSE" where-condition="ID='2' ORDER BY START_DATE">
<column>ID</column><column>DESCRIPTION</column><column>START_DATE</column>
<row><value>2</value><value>description2</value><value>2009-08-23</value></row>
<row><value>2</value><value>description3</value><value>2009-08-24</value></row>
</table>
</dataset>
</CHECK-DB>
...
|