使用AppiumBooster打造心目中理想的自动化测试框架(28)

发表于:2016-09-12来源:debugtalk作者:Leo Lee点击数: 标签:Appium
然后,在测试用例的 steps 就可以采用如下形式对全局参数进行引用。 1 2 3 4 5 6 7 8 9 10 11 12 13 --- AccountSteps: input test EmailAddress: control_id: txtfieldEmailAddress co

然后,在测试用例的steps就可以采用如下形式对全局参数进行引用。


					
1
2
3
4
5
6
7
8
9
10
11
12
13

					
---
AccountSteps:
input test EmailAddress:
control_id: txtfieldEmailAddress
control_action: type
data: ${config.TestEnvAccount.UserName}
expectation: sectxtfieldPassword
 
input test Password:
control_id: sectxtfieldPassword
control_action: type
data: ${config.TestEnvAccount.Password}
expectation: btnLogin

原文转自:http://debugtalk.com/post/build-ideal-app-automation-test-framework/