使用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/

国产97人人超碰caoprom_尤物国产在线一区手机播放_精品国产一区二区三_色天使久久综合给合久久97