Testing Siebel Business Applications > Keywords Reference > Keywords Description >

GetConfigParam


You use the GetConfigParam keyword to read the values in the config.xml file. The keyword retrieves one value at a time, given the correct parameter name (tagname).

Signature

The GetConfigParam keyword supports the following signature:

Tag name till value/Null;?Required Tagname;Variable

Note the following about the GetConfigParam keyword signature:

  • All three inputs are mandatory to enter.
  • If the attribute value to be obtained from the config.xml file is available under any parent tag, then provide the application name in the Inputs column.
  • If the attribute value to be obtained from the config.xml file is not available under any parent tag (directly), then provide NULL in the Inputs column.

Desktop and Mobile Examples

This table describes how to use the GetConfigParam keyword to read the values from the config.xml.

Target Object
Inputs
Closing Action
Comments

 

Null|SIEBEL-TOOLS-USER-NAME|@userName

 

Gets the SIEBEL-TOOLS-USER-NAME value.

 

BIP;COMPONENT|TAGNAME;@variable

 

If the input is Component, then the value of the tag name will be retrieved and stored in the variable.

 

BIP;USER-NAME|VALUE;@variable

 

If the input is User-Name, then the corresponding password will be obtained and stored in the variable.

Testing Siebel Business Applications Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.