Francis
Why we have to test??
忽然有Bug跳出來的時候,你要怪誰?
怪那個人沒洗手嗎?
-- Simon Chen 104.02.02
做一個App不是交差了事就好,
你要對自己負責!
You are an engineer!
You have to test before your app on sale!
How to use?
click here
Start / Stop Recode
Write Your Script!(Use Javascript)
Select Device
Select App
Ready?
Find element which you want
var target = UIATarget.localTarget(); target.frontMostApp().mainWindow().logElementTree();
Log this object's elementTree
Result
You can click the
triangle to see(close) the element detail
Try it!
Common Type
UIATarget.localTarget();
Write some event!
dragInsideWithOptions({startOffset:{x:0.5, y:0.5}, endOffset:{x:0.9, y:0.5}, duration:1.0});
UIATarget.localTarget().frontMostApp().mainWindow();
images();
buttons();
tableViews();
cells();
pickers();
tap();
Test your project!
See more!
What's next?
By T iOS
Edited by Francis Hu