Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

UIAutomation for iOS Introduction

1.322 Aufrufe

Veröffentlicht am

4月18日のObj-C&Xcode開発周り勉強会 - 0x01での発表資料です。
http://www.zusaar.com/event/5027005

Veröffentlicht in: Internet
  • ACCESS that WEBSITE Over for All Ebooks (Unlimited) ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... DOWNLOAD FULL EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH }
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier

UIAutomation for iOS Introduction

  1. 1. Photograph by Simon Abrams / https://www.flickr.com/photos/flysi/183272970/ UIAutomation for iOS Introduction @kuronekomichael
  2. 2. Agenda •1. なぜいま結合テストの自動化? •2. Instrumentsの紹介 •3. 注意とアドバイス •4. これからのオートメーション
  3. 3. なぜいま結合テストの自動化? • ・iOSバージョン   iOS5   iOS6   iOS7 • ・端末 3.5inch  4inch  iPad  iPod Touch.. • ・開発プロセス   ウォーターフォール     ↓   アジャイル
  4. 4. • • http://en.wikipedia.org/wiki/Iterative_and_incremental_development
  5. 5. XCode Instruments • ・XCode付属の開発ツール • ・メモリリーク検出 • ・CPUリソースの監視 • ・ボトルネック検出のためのプロファイリング • ・ファイルシステムへのアクセスを監視
  6. 6. UIAutomation • ・Instrumentsの中の一機能 • ・アプリの自動テストをサポートする • ・ユーザ操作をレコーディングして  JavaScriptのコードとして出力 • ・JavaScriptのコードを元に、  ユーザ操作を再現するように再生する •
  7. 7. Instruments
  8. 8. • /Users/<ユーザ名>/Library/Application Support/iPhone Simulator/<シミュレータのバージョン>/Applications/<アプリのバンドルID>/<アプリ名>.app
  9. 9. AppName.app
  10. 10. AppName.app
  11. 11. AppName.app
  12. 12. AppName.app
  13. 13. AppName.app
  14. 14. スクリプトの保存 • スクリプトエリアの右クリック(セカンダリータ ップ)からスクリプトの保存(Export)が可能 •
  15. 15. エディタ⇔トレース画面の切り替え AppName.app AppName.app
  16. 16. Photograph by Simon Abrams / https://www.flickr.com/photos/flysi/183272970/ デモ demonstration
  17. 17. Photograph by Simon Abrams / https://www.flickr.com/photos/flysi/183272970/ 注意とアドバイス attention and advice
  18. 18. 注意とアドバイス • ・操作記録は、たたき台の生成に近い  手修正がほぼ必須 • ・ログメソッドを使いこなす • UIAElement logElement() • UIAElement logElementTree() • ・日本語資料少ない • ・慣れてきたら編集<=>CLIで実行の方が  スムーズかも
  19. 19. https://gist.github.com/kuronekomichael/11032775 CLIから実行するシェルを公開してます (参考用)
  20. 20. APIドキュメント https://gist.github.com/kuronekomichael/11032094 APIリファレンスをざっくり日本語訳しました (怒られたら消します)
  21. 21. Photograph by Simon Abrams / https://www.flickr.com/photos/flysi/183272970/ これからの 結合テスト future of testing
  22. 22. http://www.w3.org/TR/webdriver/
  23. 23. appium •
  24. 24. Appium recorder • • https://github.com/appium/appium-dot-app Recorderの動作がとってもイケてないので、 Instrumentsからのりかえるのに躊躇してます…
  25. 25. Photograph by Simon Abrams / https://www.flickr.com/photos/flysi/183272970/ thanx! 御清聴ありがとうございました

×