Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mobile Test Automation with Appium

You're reading from  Mobile Test Automation with Appium

Product type Book
Published in Jun 2017
Publisher Packt
ISBN-13 9781787280168
Pages 256 pages
Edition 1st Edition
Languages
Author (1):
Nishant Verma Nishant Verma
Profile icon Nishant Verma

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 €14.99/month. Cancel anytime}