TestProfile 对象

相关项: API 测试

描述

访问环境变量和用户变量的值,这些值可用于在“属性”窗格中指定的当前活动的测试配置文件。

语法

this.<活动>.Context.TestProfile.<支持的方法>

支持的方法

  • GetType

  • GetVariableNames

  • GetVariableValue

  • SetVariableValue

示例

this.ConcatenateStringsActivity4.Context.TestProfile.GetVariableValue("Prefix");