問(wèn)題描述
我想通過(guò) Xcode 中的 Instruments 使用 UIAutomation 在我的 iOS 設(shè)備上測(cè)試應(yīng)用程序.是否可以在無(wú)需構(gòu)建源代碼的情況下這樣做?這樣做的原因是我們的團(tuán)隊(duì)將有測(cè)試人員編寫(xiě)自動(dòng)化腳本來(lái)測(cè)試我們?cè)O(shè)備上的應(yīng)用程序,但我們不希望他們都通過(guò)同步到最新版本并通過(guò) Xcode 編譯它.有誰(shuí)知道這是否可以通過(guò) UIAutomation 或可能通過(guò) 3rd 方應(yīng)用程序?qū)崿F(xiàn)?
I would like to use UIAutomation via Instruments in Xcode to test an app on my iOS device. Is it possible to do so without having to build the source code? The reason for this is that our team will have testers who will be writing automation scripts to test the apps on our devices, but we don't want them to all go through syncing to latest builds and compiling it through Xcode. Does anyone know if this is possible through UIAutomation or possibly through a 3rd party application?
謝謝.
推薦答案
你可以在沒(méi)有源代碼的情況下進(jìn)行 UIAutomation 測(cè)試,但是你不會(huì)看到你的符號(hào),你也看不到你的代碼掛在哪里.
You could make UIAutomation tests without the source code, but you will not see your symbols and you cant see where in your code your app is hanging.
您仍然可以查看是否有需要很長(zhǎng)時(shí)間才能運(yùn)行的例程,但您將無(wú)法看到女巫或調(diào)用堆棧
You still can see if there is a routine that is taking to long to run, but you wont e able to see witch one or the call stack
要在沒(méi)有源代碼的情況下進(jìn)行測(cè)試,只需打開(kāi)自動(dòng)機(jī)并將測(cè)試與設(shè)備上安裝的應(yīng)用程序綁定
to make your tests without the source code just open the automator and bind your test with an application installed on the device
這篇關(guān)于在沒(méi)有應(yīng)用程序源代碼的情況下使用 Instruments 測(cè)試 iOS 應(yīng)用程序的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!