alina cojocariu - flex and android tests with ranorex

17

Upload: codecampiasi

Post on 29-Nov-2014

749 views

Category:

Documents


5 download

DESCRIPTION

 

TRANSCRIPT

Ranorex tool – supported Ranorex tool – supported technologies and frameworkstechnologies and frameworks

Ranorex tool – Core Ranorex tool – Core ComponentComponent• The core component of

the Ranorex Automation Framework is the Ranorex Library.

• This .NET based API provides all the functionality needed to automate application user interfaces based on many different types of technologies.

• All the Ranorex automation tools use this same core API for all of their functionality.

• Ranorex API is extremely clean and intuitive

• The API documentation is also excellent

Ranorex tool – ComponentsRanorex tool – Components

Flex applicationsFlex applications

Adobe Flex

• is a collection of technologies for the development and set up of cross platform RIA

• demand for more desktop-like applications for the web • browser compatibility• adds a fresh new face to legacy applications

Support for automation

• automation delegate implementations for the framework components•Automation.swc

•Automation_agent.swc

•Automation_dmv.swc

Testing Flex applications with Testing Flex applications with RanorexRanorex• Flash/Flex Test Automation Plugin provides a smooth integration with the Ranorex Automation Framework and its tools.

Prerequisites:• Install Flash Debug Player• Ranorex Addon (Mozilla, Chrome, Safari)•Ranorex Preloader instrumentation (recommended)

Flex Application

Android applicationsAndroid applications

Android is a Linux-based mobile operating system developed by Google.

Testing Android apps:Critical factors:

•Use of emulators and actual devices•Testing for mobile environment and application complexity •Use of test automation

Support for automation

Testing Android applications Testing Android applications with Ranorexwith Ranorex

Support for real device or emulator Connection using Wi-Fi or USB

Prerequisites:•The device has to have Ranorex Service installed •Instrument and deployment of Android app (APK)•Instrumentation with source code

Android Application

Why use Ranorex tool? (1)Why use Ranorex tool? (1)Object identification and recognition

• Excellent Object Recognition Capabilities using custom Xpath

• Legacy control support

• Image based test support

Support  

• Wide range of technologies

• Mixed applications within one test automation project

• Entire power of .NET framework

Easy to use

• Test script language (C#, VB.Net, Python)

• Intuitive interface

• Very good recording capabilities

Reusability

• Test case modularization

• Separation of test code and test data

• Provision for a test case repository

Why use Ranorex tool? (2)Why use Ranorex tool? (2)Cost

• Runtime, Professional and Premium editions (maintenance included)

• Node Locked licenses varies from  €380 to €1480 and Floating licenses varies from €780 to €3080

Flexibility

• Technology-independent

• Tests can be exported as (.exe)

• Test actions can be edited and fine tuned

Integration with other tools

• Version control support (SVN)

• Test management tools: MTM, HP QC

• Continuous Integration servers like Jenkins

Why use Ranorex tool? (3)Why use Ranorex tool? (3)

Stability

• Keep up with latest technologies and releases

• Relatively new tool

• Dedicated forums

• Very responsive and high-level support team

Reporting

• Comprehensive, detailed

• One report at a time

Test Control

• Test data driven

• Supports remote execution

• Portable, can be executed on other machines

Useful LinksUseful Links

• http://developer.android.com (Android SDK)

• http://www.ranorex.com (Ranorex site)

• http://livedocs.adobe.com/flex/3/html/help.html?content=functest_components2_02.html (Adobe)

• http://www.toolsjournal.com/testing-articles/item/507-gui-automation-ranorex-a-review (review of Ranorex)

• http://soft-test-tech.co.uk/ (includes best practices with Ranorex examples)

Q&A

Thank you!

Please complete the evaluation form

Diamond Sponsors

Platinum Sponsors Gold Sponsors

Training Partners Media Partners Other Partners