Adobe AIR Applications

Rapise supports the testing of Adobe AIR applications. The Adobe Integrated Runtime (AIR) is a cross-platform framework for developing desktop and mobile applications that have rich graphic user interfaces and can be deployed across different platforms and devices (Windows, Mac, iOS, Android).

Rich Internet Applications using Adobe Flash

Rapise supports the testing of Flash and Flex applications using its built-in Flex libraries. Rapise can test web applications using a combination of HTML, Flash, Flex 3, Flex 4 and AIR components within a single application using a single test script.

Rapise can test Flash and Flex applications running in multiple browsers, including Internet Explorer, Mozilla Firefox and Google Chrome. Using the special FlexLoader, you don’t even need to modify your code to perform your testing.

Rapise supports the following Adobe Flex controls running in either Flash or AIR:

Control Type Matcher Rule (Flavor) Record Learn Comment
Button, LinkButton FlexButton Yes Yes  
PopUpButton, PopUpMenuButton FlexPopUpButton Yes Yes  
LinkBar FlexLinkBar Yes Yes  
ToggleButtonBar, TabBar FlexToggleButtonBar Yes Yes  
ButtonBar FlexButtonBar Yes Yes  
Label, Text FlexLabel Yes Yes  
RadioButton FlexRadioButton Yes Yes  
List, HorizontalList FlexList Yes Yes  
DateField FlexDateField Yes Yes  
NumericStepper FlexNumericStepper Yes Yes  
CheckBox FlexCheckBox Yes Yes  
ComboBox FlexComboBox Yes Yes  
DateChooser FlexDateChooser Yes Yes  
TextArea, TextInput, RichTextEditor FlexTextArea Yes Yes  
Tree FlexTree Yes Yes  
DataGrid FlexDataGrid Yes Yes  
SWFLoader FlexLoader Yes Yes  
ProgressBar FlexProgressBar No Yes  
HSlider, VSLider FlexSlider Yes Yes  
ColorPicker FlexColorPicker Yes Yes  
Image FlexImage Yes Yes  
VideoDisplay FlexVideoDisplay Yes Yes  
HDividedBox, VDividedBox FlexDividedBox Yes Yes  
Accordion FlexAccordion Yes Yes  
MenuBar FlexMenuBar Yes Yes  
TabNavigator FlexTabNavigator Yes Yes  
Panel, RadioButtonGroup, ViewStack FlexPanel Yes Yes  
HBox, VBox, ApplicationControlBar FlexBox Yes Yes  

Testing Adobe AIR Applications with Rapise

To test Flex applications running with Rapise, you must have Flex Builder installed. Link your application with FlexAdapter.swc (part of Rapise) and automation_agent.swc and automation.swc (part of Flex Builder).

The compiler arguments should look something like:

-include-libraries "C:/Program Files/Adobe/Flex Builder 3/sdks/3.2.0/frameworks/libs/automation_agent.swc" "C:/Program Files/Adobe/Flex Builder 3/sdks/3.2.0/frameworks/libs/automation.swc" "C:/Program Files (x86)/Inflectra/Rapise/Extensions/Flex/FlexAdapter/bin/FlexAdapter.swc"

Record and Playback using AIR

To record and playback tests for Adobe Flex applications being executed by Adobe AIR you need to run the application manually. E.g.:

"C:\Program Files\Adobe\Flex Builder 3\sdks\3.2.0\bin\adl.exe" C:\Program Files\Inflectra\Rapise\Samples\AdobeFlex\AUTFlexAIR\bin-debug\AUTFlexAIR-app.xml

Note: If you build your Flex AIR application with Flash Builder 4 or higher, you will need to turn on the "Generate Accessible SWF" option in the Flex Compiler Options.