Summary
The provided function is example how to retrieve the default value of the business test parameter.
Question
Below function is used for retrieving the default value of parameter in business process test when QuickTest External Execution Engine (QEEE) is on :
Public function getDefaultValue(byval parameter_name)set oQTP = CreateObject("QuickTest.Application")set oBusinessComponent=oQTP.BusinessComponentbusiness_component_name=oBusinessComponent.Nameset business_component_parameters=oQTP.Test.Actions.Item(""&business_component_name&" ["&business_component_name&"]").ActionParameterDefinitionstemp_57=business_component_parameters.CountFor m=1 to business_component_parameters.Counttemp_58=business_component_parameters.Item(m).NameIf parameter_name=business_component_parameters.Item(m).Name ThengetDefaultValue=business_component_parameters.Item(m).DefaultValueset oQTP=nothingexit FunctionEnd IfNextset oQTP=nothinggetDefaultValue=""End Function
For more information:
What are QuickTest Execution Engine (QEEE) Features?, please see the article: https://softwaresupport.hpe.com/group/softwaresupport/search-result/-/facetsearch/document/KM1317418
How to disable/enable QEEE please see the article : https://softwaresupport.hpe.com/group/softwaresupport/search-result/-/facetsearch/document/KM00711012