iOS单元测试和UI测试全面解析(35)
发表于:2017-03-31来源:51CTO作者:朱先忠点击数:
标签:单元测试iOS
//given letslideButton=app.segmentedControls.buttons[ Slide ] lettypeButton=app.segmentedControls.buttons[ Type ] letslideLabel=app.staticTexts[ Getascloseasyoucanto: ]
-
// given
-
-
let slideButton = app.segmentedControls.buttons["Slide"]
-
-
let typeButton = app.segmentedControls.buttons["Type"]
-
-
let slideLabel = app.staticTexts["Get as close as you can to: "]
-
-
原文转自:http://mobile.51cto.com/iphone-535758.htm