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 TypeMatcher Rule (Flavor)RecordLearnComment
Button, LinkButtonFlexButtonYesYes 
PopUpButton, PopUpMenuButtonFlexPopUpButtonYesYes 
LinkBarFlexLinkBarYesYes 
ToggleButtonBar, TabBarFlexToggleButtonBarYesYes 
ButtonBarFlexButtonBarYesYes 
Label, TextFlexLabelYesYes 
RadioButtonFlexRadioButtonYesYes 
List, HorizontalListFlexListYesYes 
DateFieldFlexDateFieldYesYes 
NumericStepperFlexNumericStepperYesYes 
CheckBoxFlexCheckBoxYesYes 
ComboBoxFlexComboBoxYesYes 
DateChooserFlexDateChooserYesYes 
TextArea, TextInput, RichTextEditorFlexTextAreaYesYes 
TreeFlexTreeYesYes 
DataGridFlexDataGridYesYes 
SWFLoaderFlexLoaderYesYes 
ProgressBarFlexProgressBarNoYes 
HSlider, VSLiderFlexSliderYesYes 
ColorPickerFlexColorPickerYesYes 
ImageFlexImageYesYes 
VideoDisplayFlexVideoDisplayYesYes 
HDividedBox, VDividedBoxFlexDividedBoxYesYes 
AccordionFlexAccordionYesYes 
MenuBarFlexMenuBarYesYes 
TabNavigatorFlexTabNavigatorYesYes 
Panel, RadioButtonGroup, ViewStackFlexPanelYesYes 
HBox, VBox, ApplicationControlBarFlexBoxYesYes 

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.