• Essential Software Testing Tools






Evaluating Test Tools
A step by step process for selecting and choosing the right test tools for you and your team.
RSS for Essential Software Testing Tools
Home api proapi

QaTraq Software Testing Tool Professional API

QaTraq Software Testing Tool Professional API

QaTraq Professional API QaTraq Software Testing Tool Professional can be provided with a SOAP based API which makes it easy for external clients to add new test cases in QaTraq Software Testing Tool and update test results. Enabling you to create clients from favourite SOAP toolkits such as Perl or .NET this capability opens up a world of test automation possibilities.

With a QaTraq Software Testing Tool Professional API Enabled Server your clients can easily access your server and carry out, amongst others things, the following operations:

  • Get Test Case Details: Clients can access the QaTraq database and request full test case details. With this capability you could for example store test setup instructions or test data with the QaTraq software testing tool database.
  • Get Test Script Details: Clients can access the QaTraq database to see if test scripts have been assigned to a client for execution. With this you can create test scripts (consisting of multiple test cases) within QaTraq software testing tool and then assign it to a client for execution.
  • Include Test Cases: Clients can select the test cases that they wish to include in a test script before they start updating test results against the test script in QaTraq software testing tool database.
  • Delete Test Script: Clients can delete a test script and all the associated test results. This could be useful perhaps where a test run didn't go according to plan and you wish to restart the test run by deleting the test script from QaTraq software testing tool database and and start over again.
  • Update Test Result: Clients can update the test result category for a particular test case within a test script. Test results updated by clients via the API are automatically tagged as having the client as the source of the results aiding focused test reporting to QaTraq software testing tool.
QaTraq Software Testing Tool API Example
Using the example PHP client included with QaTraq Software Testing Tool Professional you can see how easy it is to use the SOAP interface to update various test properties from SOAP enabled clients. The following PHP client example shows how 18 lines of PHP code can be used to update test results on a QaTraq Software Testing Tool Professional Server via the SOAP interface.

// update test result $updateTestResultReq = new updateTestResultReq(); $updateTestResultReq->APIID = "api001"; $updateTestResultReq->Username = "admin"; $updateTestResultReq->Password = "admin"; $updateTestResultReq->TestScriptID = "TSC31"; $updateTestResultReq->TestCaseID = "TCA523-1.12"; $updateTestResultReq->ResultCategoryName = "Pass"; $updateTestResultReq->TestDate = "2007-11-09"; $updateTestResultReq->ProductVersionName = "Ver4"; $updateTestResultReq->PlatformName = "Dell"; $updateTestResultReq->OsName = "Windows XP"; $updateTestResultReq->ResultsSourceName = "Perl Client"; $updateTestResultReq->TesterName = "A Tester"; $updateTestResultReq->Comments = "Updated using the api"; $updateTestResultReq->CalcActTime = "1:11:00"; $updateTestResultResp = $api->updateTestResult($updateTestResultReq);

An example WSDL file, included with QaTraq Software Testing Tool Professional, can be found here. Please note this is only an example and should not be used when configuring your QaTraq Professional API environment. Please see the QaTraq Software Testing Tool Professional download package for the most up to date wsdl file

 

 
Copyright ©2009 - Traq Software Ltd - All Rights Reserved.