Soumettre la recherche
Mettre en ligne
UIAutomation for iOS Introduction
•
1 j'aime
•
1,531 vues
Kohki Nakashima
Suivre
4月18日のObj-C&Xcode開発周り勉強会 - 0x01での発表資料です。 http://www.zusaar.com/event/5027005
Lire moins
Lire la suite
Internet
Signaler
Partager
Signaler
Partager
1 sur 30
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
ほんとにあったphantomjsのコワい話
ほんとにあったphantomjsのコワい話
Kohki Nakashima
Setting Apple's UI Automation Free with Appium
Setting Apple's UI Automation Free with Appium
mobiletestsummit
FluentLenium
FluentLenium
MathildeLemee
Casper導入資料
Casper導入資料
Yuuki Tan-nai
Webクローリング&スクレイピングの最前線 公開用
Webクローリング&スクレイピングの最前線 公開用
Lumin Hacker
(未発表) JavaScriptテスト勉強会@福岡#0の前に考えていたこと
(未発表) JavaScriptテスト勉強会@福岡#0の前に考えていたこと
Kohki Nakashima
WebDriverで始めるUIスモークテスティング入門
WebDriverで始めるUIスモークテスティング入門
Kohki Nakashima
JavaScriptでWebDriverのテストコードを書きましょ
JavaScriptでWebDriverのテストコードを書きましょ
Kohki Nakashima
Recommandé
ほんとにあったphantomjsのコワい話
ほんとにあったphantomjsのコワい話
Kohki Nakashima
Setting Apple's UI Automation Free with Appium
Setting Apple's UI Automation Free with Appium
mobiletestsummit
FluentLenium
FluentLenium
MathildeLemee
Casper導入資料
Casper導入資料
Yuuki Tan-nai
Webクローリング&スクレイピングの最前線 公開用
Webクローリング&スクレイピングの最前線 公開用
Lumin Hacker
(未発表) JavaScriptテスト勉強会@福岡#0の前に考えていたこと
(未発表) JavaScriptテスト勉強会@福岡#0の前に考えていたこと
Kohki Nakashima
WebDriverで始めるUIスモークテスティング入門
WebDriverで始めるUIスモークテスティング入門
Kohki Nakashima
JavaScriptでWebDriverのテストコードを書きましょ
JavaScriptでWebDriverのテストコードを書きましょ
Kohki Nakashima
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Contenu connexe
En vedette
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
En vedette
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
UIAutomation for iOS Introduction
1.
Photograph by Simon
Abrams / https://www.flickr.com/photos/flysi/183272970/ UIAutomation for iOS Introduction @kuronekomichael
2.
Agenda •1. なぜいま結合テストの自動化? •2. Instrumentsの紹介 •3.
注意とアドバイス •4. これからのオートメーション
3.
なぜいま結合テストの自動化? • ・iOSバージョン iOS5 iOS6 iOS7 • ・端末 3.5inch 4inch iPad iPod
Touch.. • ・開発プロセス ウォーターフォール ↓ アジャイル
4.
• • http://en.wikipedia.org/wiki/Iterative_and_incremental_development
5.
XCode Instruments • ・XCode付属の開発ツール •
・メモリリーク検出 • ・CPUリソースの監視 • ・ボトルネック検出のためのプロファイリング • ・ファイルシステムへのアクセスを監視
6.
UIAutomation • ・Instrumentsの中の一機能 • ・アプリの自動テストをサポートする •
・ユーザ操作をレコーディングして JavaScriptのコードとして出力 • ・JavaScriptのコードを元に、 ユーザ操作を再現するように再生する •
7.
Instruments
8.
9.
10.
• /Users/<ユーザ名>/Library/Application Support/iPhone Simulator/<シミュレータのバージョン>/Applications/<アプリのバンドルID>/<アプリ名>.app
11.
12.
AppName.app
13.
AppName.app
14.
AppName.app
15.
AppName.app
16.
AppName.app
17.
スクリプトの保存 • スクリプトエリアの右クリック(セカンダリータ ップ)からスクリプトの保存(Export)が可能 •
18.
エディタ⇔トレース画面の切り替え AppName.app AppName.app
19.
Photograph by Simon
Abrams / https://www.flickr.com/photos/flysi/183272970/ デモ demonstration
20.
Photograph by Simon
Abrams / https://www.flickr.com/photos/flysi/183272970/ 注意とアドバイス attention and advice
21.
注意とアドバイス • ・操作記録は、たたき台の生成に近い 手修正がほぼ必須 • ・ログメソッドを使いこなす •
UIAElement logElement() • UIAElement logElementTree() • ・日本語資料少ない • ・慣れてきたら編集<=>CLIで実行の方が スムーズかも
22.
https://gist.github.com/kuronekomichael/11032775 CLIから実行するシェルを公開してます (参考用)
23.
APIドキュメント https://gist.github.com/kuronekomichael/11032094 APIリファレンスをざっくり日本語訳しました (怒られたら消します)
24.
Photograph by Simon
Abrams / https://www.flickr.com/photos/flysi/183272970/ これからの 結合テスト future of testing
25.
http://www.w3.org/TR/webdriver/
26.
27.
appium •
28.
29.
Appium recorder • • https://github.com/appium/appium-dot-app Recorderの動作がとってもイケてないので、 Instrumentsからのりかえるのに躊躇してます…
30.
Photograph by Simon
Abrams / https://www.flickr.com/photos/flysi/183272970/ thanx! 御清聴ありがとうございました
Télécharger maintenant