Testcover.com
Tutorial - RDF/XML Example

Home
Existing User Login
Brochure
Sign up for Risk-Free Trial
About Testcover.com
Frequently Asked Questions
Tutorial
->Definitions of Terms
->Need for the Service
->Submitting Requests
->Reading Results
->Configuration Example
->Constraints Example
->Calendar Example
->RDF/XML Example
Performance
Background
Partners
Subscription Prices
Promotion Activations
Student Subscriptions
Privacy Policy
Terms & Conditions
Contact Information


The Resource Description Framework (RDF) is a general-purpose language for representing information on the web. The World Wide Web Consortium (W3C) has endorsed the RDF/XML specification to promote its widespread deployment for enhanced functionality and interoperability. The RDF Primer provides a good introduction to the language's concepts and applications.

In addition to HTML results, the Testcover.com test case generator provides RDF/XML results for use by other applications. The Calendar Example leads to these RDF/XML results. The results can be validated on the web using the W3C RDF Validation Service and the Scholarly Technology Group XML Validation Form. The W3C RDF Validation Service also provides a 3-tuple (triple) representation of the corresponding data model. Note: Select the "Relax namespace checks" box when using the Scholarly Technology Group XML Validation Form.

A simple illustration using the RDF/XML results follows. Suppose there is an RDF test case repository supporting a software development organization. The RDF/XML results for the Calendar Example test plan could be entered into the repository. Subsequent queries would provide test status information. A sample repository was set up using Sesame, an open source RDF database with support for RDF Schema inferencing and querying. The Calendar Results were pasted into a repository form, and the following SeRQL (Sesame RDF Query Language, pronounced "circle") query was made.

SELECT DISTINCT TestCaseID, Factor1, Factor2, Factor3, ComboCountdown, Status
FROM {s} <tc:testCaseID> {TestCaseID};
    <tc:factorValueSequence> {} <rdf:_1> {} <tc:factorValue> {Factor1},
{s} <tc:factorValueSequence> {} <rdf:_2> {} <tc:factorValue> {Factor2},
{s} <tc:factorValueSequence> {} <rdf:_3> {} <tc:factorValue> {Factor3},
{s} <tc:countdownValue> {ComboCountdown};
    <tc:testCaseStatus> {} p {} <tc:testCaseStatusValue> {Status}
USING NAMESPACE
    rdf = <!http://www.w3.org/1999/02/22-rdf-syntax-ns#>,
    tc = <!http://www.testcover.com/terms/1#>

The SeRQL query results give the status information for all the test cases before they are run.

<Calendar Example

Copyright © 2003-2008 Testcover.com, LLC. All rights reserved.