Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Mobile Test Automation with Appium

You're reading from   Mobile Test Automation with Appium Mobile application testing made easy

Arrow left icon
Product type Paperback
Published in Jun 2017
Publisher Packt
ISBN-13 9781787280168
Length 256 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
 Verma Verma
Author Profile Icon Verma
Verma
Arrow right icon
View More author details
Toc

iOS-only capabilities


When we are performing iOS app automation, there are a bunch of iOS specific capabilities that can be used to set the session. Here's a complete list of iOS-only capabilities. Recently, Appium implemented support for XCUITest; hence, there are bunch of other capabilities that are XCUITest specific:

Capability

Description and values

calendarFormat

Used to specify the calendar format to set for the iOS Simulator.

For example, gregorian

bundleId

Used to specify the bundle ID of the app under test.

For example, io.HelloiOS.TestApp

udid

Used to specify the unique device identifier of the connected device.

For example, 1ae203187fc012g

launchTimeout

Used to specify the amount of time (in ms) to wait for instruments.

For example, 5000

locationServicesEnabled

Used to force location services to be either on or off. The default behavior is to keep the current simulator setting.

Value: true or false

locationServicesAuthorized

Used to set location services to be authorized or not authorized for an...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images