Submit Search
Upload
iOS UIAutomation
•
1 like
•
711 views
Jz Chang
Follow
2014/03/26 @ KKBOX
Read less
Read more
Technology
Report
Share
Report
Share
1 of 20
Download now
Download to read offline
Recommended
Automated Xcode 7 UI Testing
Automated Xcode 7 UI Testing
Jouni Miettunen
xctest
xctest
Максим Сергеев
Xcode 7 UI Testing - Xcake Dublin, October 2015
Xcode 7 UI Testing - Xcake Dublin, October 2015
roland99
Xcode7 UI Automation
Xcode7 UI Automation
Sushant Choudhary
iOS UI Testing in Xcode
iOS UI Testing in Xcode
Jz Chang
XCUITest for iOS App Testing and how to test with Xcode
XCUITest for iOS App Testing and how to test with Xcode
pCloudy
Getting Started with XCTest and XCUITest for iOS App Testing
Getting Started with XCTest and XCUITest for iOS App Testing
Bitbar
iOS Automation: XCUITest + Gherkin
iOS Automation: XCUITest + Gherkin
Kenneth Poon
Recommended
Automated Xcode 7 UI Testing
Automated Xcode 7 UI Testing
Jouni Miettunen
xctest
xctest
Максим Сергеев
Xcode 7 UI Testing - Xcake Dublin, October 2015
Xcode 7 UI Testing - Xcake Dublin, October 2015
roland99
Xcode7 UI Automation
Xcode7 UI Automation
Sushant Choudhary
iOS UI Testing in Xcode
iOS UI Testing in Xcode
Jz Chang
XCUITest for iOS App Testing and how to test with Xcode
XCUITest for iOS App Testing and how to test with Xcode
pCloudy
Getting Started with XCTest and XCUITest for iOS App Testing
Getting Started with XCTest and XCUITest for iOS App Testing
Bitbar
iOS Automation: XCUITest + Gherkin
iOS Automation: XCUITest + Gherkin
Kenneth Poon
Testing iOS10 Apps with Appium and its new XCUITest backend
Testing iOS10 Apps with Appium and its new XCUITest backend
Testplus GmbH
[XCode] Automating UI Testing
[XCode] Automating UI Testing
Phineas Huang
UI Testing with Earl Grey
UI Testing with Earl Grey
Shyam Bhat
XCUITest Introduction: Test Automation University
XCUITest Introduction: Test Automation University
Shashikant Jagtap
iOS UI Automation
iOS UI Automation
Greener Chen
UI Testing Best Practices - An Expected Journey
UI Testing Best Practices - An Expected Journey
Oren Farhi
UI testing in Xcode 7
UI testing in Xcode 7
Dominique Stranz
Beginning iPhone Development
Beginning iPhone Development
sgleadow
Android Test Automation Workshop
Android Test Automation Workshop
Eduardo Carrara de Araujo
Android UI Testing with Espresso
Android UI Testing with Espresso
Gary Cheng
SwtBot: Unit Testing Made Easy
SwtBot: Unit Testing Made Easy
Ankit Goel
Robotium at Android Only 2010-09-29
Robotium at Android Only 2010-09-29
Hugo Josefson
Robotium Tutorial
Robotium Tutorial
Mobile March
Taras Kalapun ui testing
Taras Kalapun ui testing
DneprCiklumEvents
Utilizando Espresso e UIAutomator no Teste de Apps Android
Utilizando Espresso e UIAutomator no Teste de Apps Android
Eduardo Carrara de Araujo
Developing Interactive systems - lesson 2
Developing Interactive systems - lesson 2
Sónia
SWTBot Tutorial
SWTBot Tutorial
Chris Aniszczyk
Functional Testing made easy with SWTBot for Developers and Testers
Functional Testing made easy with SWTBot for Developers and Testers
Aurélien Pupier
Breaking free from static abuse in test automation frameworks and using Sprin...
Breaking free from static abuse in test automation frameworks and using Sprin...
Abhijeet Vaikar
Tellurium 0.7.0 presentation
Tellurium 0.7.0 presentation
John.Jian.Fang
MOET: Mobile End-to-End Testing
MOET: Mobile End-to-End Testing
mobiletestsummit
2012 mobile testingsummit-moet
2012 mobile testingsummit-moet
Eing Ong
More Related Content
What's hot
Testing iOS10 Apps with Appium and its new XCUITest backend
Testing iOS10 Apps with Appium and its new XCUITest backend
Testplus GmbH
[XCode] Automating UI Testing
[XCode] Automating UI Testing
Phineas Huang
UI Testing with Earl Grey
UI Testing with Earl Grey
Shyam Bhat
XCUITest Introduction: Test Automation University
XCUITest Introduction: Test Automation University
Shashikant Jagtap
iOS UI Automation
iOS UI Automation
Greener Chen
UI Testing Best Practices - An Expected Journey
UI Testing Best Practices - An Expected Journey
Oren Farhi
UI testing in Xcode 7
UI testing in Xcode 7
Dominique Stranz
Beginning iPhone Development
Beginning iPhone Development
sgleadow
Android Test Automation Workshop
Android Test Automation Workshop
Eduardo Carrara de Araujo
Android UI Testing with Espresso
Android UI Testing with Espresso
Gary Cheng
SwtBot: Unit Testing Made Easy
SwtBot: Unit Testing Made Easy
Ankit Goel
Robotium at Android Only 2010-09-29
Robotium at Android Only 2010-09-29
Hugo Josefson
Robotium Tutorial
Robotium Tutorial
Mobile March
Taras Kalapun ui testing
Taras Kalapun ui testing
DneprCiklumEvents
Utilizando Espresso e UIAutomator no Teste de Apps Android
Utilizando Espresso e UIAutomator no Teste de Apps Android
Eduardo Carrara de Araujo
Developing Interactive systems - lesson 2
Developing Interactive systems - lesson 2
Sónia
SWTBot Tutorial
SWTBot Tutorial
Chris Aniszczyk
Functional Testing made easy with SWTBot for Developers and Testers
Functional Testing made easy with SWTBot for Developers and Testers
Aurélien Pupier
Breaking free from static abuse in test automation frameworks and using Sprin...
Breaking free from static abuse in test automation frameworks and using Sprin...
Abhijeet Vaikar
Tellurium 0.7.0 presentation
Tellurium 0.7.0 presentation
John.Jian.Fang
What's hot
(20)
Testing iOS10 Apps with Appium and its new XCUITest backend
Testing iOS10 Apps with Appium and its new XCUITest backend
[XCode] Automating UI Testing
[XCode] Automating UI Testing
UI Testing with Earl Grey
UI Testing with Earl Grey
XCUITest Introduction: Test Automation University
XCUITest Introduction: Test Automation University
iOS UI Automation
iOS UI Automation
UI Testing Best Practices - An Expected Journey
UI Testing Best Practices - An Expected Journey
UI testing in Xcode 7
UI testing in Xcode 7
Beginning iPhone Development
Beginning iPhone Development
Android Test Automation Workshop
Android Test Automation Workshop
Android UI Testing with Espresso
Android UI Testing with Espresso
SwtBot: Unit Testing Made Easy
SwtBot: Unit Testing Made Easy
Robotium at Android Only 2010-09-29
Robotium at Android Only 2010-09-29
Robotium Tutorial
Robotium Tutorial
Taras Kalapun ui testing
Taras Kalapun ui testing
Utilizando Espresso e UIAutomator no Teste de Apps Android
Utilizando Espresso e UIAutomator no Teste de Apps Android
Developing Interactive systems - lesson 2
Developing Interactive systems - lesson 2
SWTBot Tutorial
SWTBot Tutorial
Functional Testing made easy with SWTBot for Developers and Testers
Functional Testing made easy with SWTBot for Developers and Testers
Breaking free from static abuse in test automation frameworks and using Sprin...
Breaking free from static abuse in test automation frameworks and using Sprin...
Tellurium 0.7.0 presentation
Tellurium 0.7.0 presentation
Similar to iOS UIAutomation
MOET: Mobile End-to-End Testing
MOET: Mobile End-to-End Testing
mobiletestsummit
2012 mobile testingsummit-moet
2012 mobile testingsummit-moet
Eing Ong
Selenium in the palm of your hand: Appium and automated mobile testing
Selenium in the palm of your hand: Appium and automated mobile testing
Isaac Murchie
2012 java one-con3648
2012 java one-con3648
Eing Ong
Automating Mobile Applications
Automating Mobile Applications
April Luk
Introduction to UI Automation Framework
Introduction to UI Automation Framework
Priya Rajagopal
Introduction to iOS Development
Introduction to iOS Development
Asim Rais Siddiqui
iOS Automation: The Trifecta
iOS Automation: The Trifecta
blackstonefinn
iSYSTEM Company and Product Overview v12.02
iSYSTEM Company and Product Overview v12.02
iSYSTEM AG
Real Testing Scenario Strategy Practical TestOps Presentation
Real Testing Scenario Strategy Practical TestOps Presentation
Adam Sandman
Monkey talk
Monkey talk
ISsoft
JavaClassPresentation
JavaClassPresentation
juliasceasor
Automating functional testing of Flex applications.
Automating functional testing of Flex applications.
Gokuldas Pillai
Appium overview (Selenium Israel #2, Feb. 2014)
Appium overview (Selenium Israel #2, Feb. 2014)
danielputerman
Introduction to iOS Apps Development
Introduction to iOS Apps Development
Prof. Erwin Globio
iPhone OS: The Next Killer Platform
iPhone OS: The Next Killer Platform
Christopher Bartling
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
Srijan Technologies
Automation using Javascript
Automation using Javascript
khanhdang1214
Velocity Conference: Increasing Speed To Market In Mobile Development Through...
Velocity Conference: Increasing Speed To Market In Mobile Development Through...
Intuit Inc.
Developing Applications on iOS
Developing Applications on iOS
Francisco Ramos
Similar to iOS UIAutomation
(20)
MOET: Mobile End-to-End Testing
MOET: Mobile End-to-End Testing
2012 mobile testingsummit-moet
2012 mobile testingsummit-moet
Selenium in the palm of your hand: Appium and automated mobile testing
Selenium in the palm of your hand: Appium and automated mobile testing
2012 java one-con3648
2012 java one-con3648
Automating Mobile Applications
Automating Mobile Applications
Introduction to UI Automation Framework
Introduction to UI Automation Framework
Introduction to iOS Development
Introduction to iOS Development
iOS Automation: The Trifecta
iOS Automation: The Trifecta
iSYSTEM Company and Product Overview v12.02
iSYSTEM Company and Product Overview v12.02
Real Testing Scenario Strategy Practical TestOps Presentation
Real Testing Scenario Strategy Practical TestOps Presentation
Monkey talk
Monkey talk
JavaClassPresentation
JavaClassPresentation
Automating functional testing of Flex applications.
Automating functional testing of Flex applications.
Appium overview (Selenium Israel #2, Feb. 2014)
Appium overview (Selenium Israel #2, Feb. 2014)
Introduction to iOS Apps Development
Introduction to iOS Apps Development
iPhone OS: The Next Killer Platform
iPhone OS: The Next Killer Platform
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
Automation using Javascript
Automation using Javascript
Velocity Conference: Increasing Speed To Market In Mobile Development Through...
Velocity Conference: Increasing Speed To Market In Mobile Development Through...
Developing Applications on iOS
Developing Applications on iOS
Recently uploaded
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
null - The Open Security Community
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Florian Wilhelm
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Miki Katsuragi
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Alfredo García Lavilla
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
Kalema Edgar
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
NavinnSomaal
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Patryk Bandurski
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
Slibray Presentation
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
charlottematthew16
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Fwdays
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Ridwan Fadjar
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Commit University
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
Zilliz
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
SeasiaInfotech2
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
Fwdays
Recently uploaded
(20)
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
iOS UIAutomation
1.
Mark Chang - 測試開發部 iOS UIAutomation
2.
• Introduction – UIAutomation testing •
iOS Accessibility • Development Tools – Environment – Instruments – Tuneup JS Library • Q A Outline
3.
• Some software testing is … – Boring –
Routine • So we need an automation testing tool ! UIAutomation testing
4.
1. User's view – For blind users. 2.
Engineer's view – For UIAutomation testing. – Maybe shows inside information of system. iOS Accessibility
5.
•
VoiceOver iOS Accessibility
6.
• Set element accessibility • Set element traits iOS Accessibility in iOS code Identity inspector Demo
7.
• Hardware – Mac –
iDevice (iPhone, iPad, iPod) • Software – Xcode (version 5.1) – Sublime Text 2 (optional) Development environment
8.
• Instruments is a performance, analysis, and testing tool for dynamically tracing and profiling OS X and iOS code. Instruments
9.
• Automation – Perform automated tests on real devices and on iPhone Simulator. –
Strong relationship between Accessibility and UIAutomation. – JavaScript language. Instruments
10.
Instruments UIButton UIButton
11.
• Click on the screen • Click a button Instruments accessibilityLabel
12.
• UIALogger – logMessage(): Logs the specified message. –
logPass(): Logs a message and indicates a test has completed successfully. – logFail(): Logs a message and indicates a test has completed unsuccessfully. Instruments
13.
• It improves the UIAutomation library provided by Apple for testing iOS applications via Instruments. • JavaScript language. Tuneup JS Library
14.
• test function in test.js • assert functions in assertions.js •
Example: Tuneup JS Library assertEquals function
15.
• If you want to automate your scripts, you can launch them from the command line. Tuneup JS Library example command
16.
• Using The Built-in Test Runner. Tuneup JS Library command example
17.
Test Case Automation Ratio 測試案例類別 自動化測試案例個數 測試案例個數
自動化比率 01. 登入 10 10 100.0 % 02. 歌曲列表 14 15 93.9 % 03. 歌手\專輯 資訊頁面 0 14 0 % 04. 播放功能 12 14 85.7 % 05. 線上搜尋 0 21 0 % 06. 線上精選 0 12 0 % 07. 設定 5 7 71.4 % 08. 我的音樂庫 0 8 0 % 09. 一起聽 0 10 0 % 10. 一點聆 46 46 100.0 % 合計 87 157 55.4 %
18.
• Instruments User Guide: About Instruments – https://developer.apple.com/library/mac/documentation/developertools /conceptual/instrumentsuserguide/Introduction/Introduction.html •
UI Automation JavaScript Reference – https://developer.apple.com/library/ios/documentation/DeveloperTools /Reference/UIAutomationRef/_index.html • iOS Automated Tests with UIAutomation – http://blog.manbolo.com/2012/04/08/ios-automated-tests-with-uiautomation • Tuneup JS – http://www.tuneupjs.org/ – https://github.com/alexvollmer/tuneup_js Reference
19.
Q A
20.
Thank You
Download now