4
. Toolkit-specific information
This chapter contains information testing AUT's written in the various supported toolkits.
Subsections
4
.
1
Testing Swing AUT's
4
.
1
.
1
Supported Swing AUT's
4
.
1
.
2
Design for testability in Swing
4
.
1
.
2
.
1
Naming components
4
.
1
.
2
.
2
Adding support for text retrieval
4
.
2
Testing RCP AUT's
4
.
2
.
1
Supported RCP AUT's
4
.
2
.
2
Setting up an RCP AUT for testing
4
.
2
.
2
.
1
Setting up an RCP AUT for testing as a part of the build process
4
.
2
.
3
Keyboard Layouts
4
.
2
.
4
Design for testability in RCP
4
.
2
.
4
.
1
Naming components
4
.
2
.
4
.
2
Adding support for text retrieval
4
.
2
.
5
Component name generation in RCP
4
.
2
.
6
Best practices for testing RCP AUT's
4
.
3
Testing GEF AUT's
4
.
3
.
1
Testing GEF components
4
.
3
.
2
Using the GEF inspector
4
.
4
Testing JavaFX AUT's
4
.
4
.
1
Design for testability in JavaFX
4
.
4
.
1
.
1
Naming components
4
.
4
.
2
Information on the support for JavaFX AUT's
4
.
5
Testing HTML AUT's
4
.
5
.
1
Supported HTML AUT's
4
.
5
.
2
Design for testability in HTML AUT's
4
.
6
Testing Windows (.NET) AUT's
4
.
6
.
1
Supported Windows AUT's
4
.
6
.
2
Information on the support for Windows AUT's
4
.
6
.
2
.
1
The UI Automation Framework and clicking
4
.
6
.
2
.
2
Supported AUT's
4
.
6
.
3
Information on WinForms AUT's
4
.
6
.
3
.
1
Supported and unsupported components
4
.
6
.
3
.
2
Supported and unsupported actions
4
.
6
.
4
Information on WPF AUT's
4
.
6
.
5
Operating system language, component recognition and extensibility
4
.
6
.
6
UI automation and screen scaling
4
.
6
.
7
Windows AUT's and the observation mode
4
.
6
.
8
Mapping components in WinFormsAUT's
4
.
6
.
9
Nested scrolling
4
.
6
.
10
autrun not supported
4
.
7
Testing iOS AUT's
4
.
7
.
1
Supported iOS AUT's
4
.
7
.
2
Setting up an iOS AUT for testing
4
.
7
.
2
.
1
Add the library to your project files
4
.
7
.
2
.
2
Create a Testing Target
4
.
7
.
2
.
3
Configure the Testing Target
4
.
7
.
2
.
4
Add hook into the AUT
4
.
7
.
3
Design for testability in iOS AUT's
4
.
7
.
3
.
1
Naming components
4
.
7
.
3
.
2
Adding support for text retrieval
4
.
7
.
4
Addressing the correct component in your iOS tests
4
.
7
.
5
Working with iOS components and actions
4
.
7
.
5
.
1
Working with iOS switches
4
.
7
.
5
.
2
Working with iOS Table Views (lists)
4
.
7
.
5
.
3
Working with iOS tabbed controls
4
.
7
.
5
.
4
Working with iOS pickers
4
.
7
.
5
.
5
Working with gestures
4
.
7
.
5
.
6
Working with the keyboard
4
.
7
.
5
.
7
Working with unmappable (unsupported) components
4
.
7
.
5
.
8
Other important information for testing iOS AUT's
4
.
7
.
6
Testing AUT's written with Monotouch
4
.
7
.
6
.
1
Create a binding project
4
.
7
.
6
.
2
Add the library to the binding project
4
.
7
.
6
.
3
Setting up linker options
4
.
7
.
6
.
4
Defining the API contract
4
.
7
.
6
.
5
Building a .NET library
4
.
7
.
6
.
6
Add hook into AUT
Copyright BREDEX GmbH 2014. Made available under the Eclipse Public License v1.0.