Home Corporate Contacts

TETware Java API Overview


Products
Solutions

Information

Datasheet
Documentation
FAQ
Knowledgebase

10. Accessing Configuration Variables


Introduction

This method provides access to configuration variables. A description of how configuration variables are defined is presented in the chapter entitled "Configuration files" in the TETware Programmers Guide.  Note that when a test case or tool is processed by the TCC, this method only provides access to variables that are defined for the current mode of operation. When Distributed TETware is used, this method provides access to the per-system configuration defined for the system on which the calling process is running. This method cannot be used to access configuration variables defined on other systems or distributed configuration variables.


tet_getvar()

Synopsis


      // public class TestSession
      public String tet_getvar(String name)

Description

A call to tet_getvar() returns the value of the configuration variable name. If the variable specified by name is defined but has no setting, a String object of zero length is returned. If the variable is undefined, tet_getvar() returns null.

Return value

The method returns the values described above.

Return to Contents



Home Contacts Legal Copyright Corporate News

Copyright © The Open Group 1995-2012, All Rights Reserved