3.18.4.3 For iOS AUT's :

Object mapping for iOS AUT's is done by tapping the component or clicking it if you are working on a simulator.

There are three types of tap you can use, with different effects. We recommend reading the information on addressing the correct component in your iOS tests in the section on Toolkits 4.7.4.

Single tap:
This collects the component directly underneath your finger or the mouse cursor.
Double tap:
This collects the component directly underneath your finger or the mouse cursor, plus its direct parent. For example, if you want to collect a OK button, but you click on the ''OK'' label, then a double tap will collect both the label and the button. Double taps are recommended for collecting any components that have text on them - a single tap may only collect the label, whereas a double-tap will collect the label and the component it is in.
Long tap:
This collects the component directly underneath your finger or the mouse cursor, plus all of its parents. This is useful if you want to collect disabled components (which cannot be collected with a single tap), or if you want to address components that are ''hard to reach'' with a single or double tap.

\includegraphics[height=2cm]{lightbulb} The AUT functionality is deactivated during object mapping - clicks on buttons won't close popovers, for example. To move to another screen, you must stop the Object Mapping Mode , switch, and then restart the Object Mapping Mode to continue mapping.



Copyright BREDEX GmbH 2014. Made available under the Eclipse Public License v1.0.