Upload
ducminhduydo
View
130
Download
7
Embed Size (px)
DESCRIPTION
Citation preview
© 2013 KMS Technology
UI AUTOMATION
UI AUTOMATION FOR IOSTECHCON201410/MAY/2014
AGENDA
• Introduction• UI Automation• Real time demo• Ask me questions
UI AUTOMATION FOR IOS
AGENDA
• Introduction• UI Automation• Real time demo• Ask me questions
UI AUTOMATION FOR IOS
INTRODUCTION
• Look at the demo running
UI AUTOMATION FOR IOS
INTRODUCTION
• Automation frameworks/tools for Mobile are growing up and mature EVERYDAY
UI AUTOMATION FOR IOS
AGENDA
• Introduction• UI Automation• Real time demo• Ask me questions
UI AUTOMATION FOR IOS
AUTOMATION
UI AUTOMATION FOR IOS
• What’s really automation task ?
• AUTOMATION = does WHAT on WHERE• Example: • Type ‘abc’ on the textbox• DoubleClick on button
UI AUTOMATION
UI AUTOMATION FOR IOS
• A built-into-Xcode• Scripts are written in Javascript • UI Automation provides build-in functions to
act on UI Element - WHAT• Access object element via UI Element
hierarchy - WHERE• Tests runnable via Instruments or the
command line
HOW TO ACCESS UI ELEMENT
UI AUTOMATION FOR IOS
• UIATarget.localTarget().frontMostApp().mainWindow()
UI AUTOMATION JAVASCRIPT REFERENCE
UI AUTOMATION FOR IOS
AGENDA
• Introduction• UI Automation• Real time demo• Ask me questions
UI AUTOMATION FOR IOS
REAL TIME DEMO
UI AUTOMATION FOR IOS
• I’m writing real script here
AGENDA
• Introduction• UI Automation• Real time demo• Ask me questions
UI AUTOMATION FOR IOS
ASK ME QUESTION ?
UI AUTOMATION FOR IOS