iOS auto testing related summary

using instrument :

http://blog.manbolo.com/2012/04/08/ios-automated-tests-with-uiautomation

dyld: Library not loaded: @rpath/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClientrun app in command line

ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/iPhoneSimulatorRemoteClient.framework /Developer/Library/PrivateFrameworks/

http://seanfreitag.wordpress.com/2012/02/17/fixing-ios-simulator-via-command-line-on-xcode-4-3/

http://cocoamanifest.net/articles/2011/12/running-your-ios-app-in-the-simulator-from-the-command-line.html

http://developer.appcelerator.com/blog/2012/03/titanium-and-xcode-4-3-revisited.html

http://cocoamanifest.net/articles/2011/12/running-your-ios-app-in-the-simulator-from-the-command-line.html

http://community.stencyl.com/index.php?topic=8325.0

http://blog.justus-beyer.de/2012/02/after-xcode-update-to-4-3-xcodebuild-fails/


install app in simulator in command line:

/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app/Contents/MacOS/iPhone\ Simulator -SimulateApplication path_to_your_app/YourFavouriteApp.app/YourFavouriteApp
ios directories:

#/Users/julumobile/Library/Developer/Xcode/DerivedData/JuluMob-czejkmmscylgtgcppbwriaipllhq/Build/Products/Debug-iphonesimulator
#chflags nohidden /users/[username]/library
#/Users/julumobile/Library/Application Support/iPhone Simulator/5.1/Applications

app on simulator

#"/Users/julumobile/Library/Application Support/iPhone Simulator/5.1/Applications/8D16A45E-8000-4586-B3BF-8EAC6C367FBE/JuluMobDebugHostAdvanced.app"

certificate chain issue:

No unexpired provisioning profiles found that contain any of the keychain's signing certificates

java script tutorial

http://www.quackit.com/javascript/javascript_date_and_time_functions.cfm

http://stackoverflow.com/questions/10091590/no-unexpired-provisioning-profiles-found-that-contain-any-of-the-keychains-sig

autotesting:automation-code-shack

http://blog.manbolo.com/2012/04/08/ios-automated-tests-with-uiautomation

http://code.google.com/p/automation-code-shack/source/browse/trunk/automationDocs/Sky+News/skynewsRegressionScriptiPhone.js?spec=svn18&r=18

https://github.com/alexvollmer/tuneup_js

#srcAppPaths=(`find "/Users/$currentUser/Library/Developer/Xcode/DerivedData/" -name JuluMobDebugHostAdvanced.app | tr '\n' ':'`)
#count=0
#tLen=${#srcAppPaths[@]}
#while [ $count -lt $tLen ]
#do
# echo rm -rf ${srcAppPaths[count]}
# rm -rf ${srcAppPaths[count]}
# count=$(( $count + 1 ))
#done

#instruments -t /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate "$demoAppPath" -e UIASCRIPT ./test1.js  -e UIARESULTSPATH ./logs

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值