Top Banner
17

Alina Cojocariu - Flex and Android tests with Ranorex

Nov 29, 2014

Download

Documents

CodeCamp/Iasi

 
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Alina Cojocariu - Flex and Android tests with Ranorex
Page 2: Alina Cojocariu - Flex and Android tests with Ranorex

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

Page 3: Alina Cojocariu - Flex and Android tests with Ranorex

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

Page 4: Alina Cojocariu - Flex and Android tests with Ranorex

Ranorex tool – ComponentsRanorex tool – Components

Page 5: Alina Cojocariu - Flex and Android tests with Ranorex

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

Page 6: Alina Cojocariu - Flex and Android tests with Ranorex

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)

Page 7: Alina Cojocariu - Flex and Android tests with Ranorex

Flex Application

Page 8: Alina Cojocariu - Flex and Android tests with Ranorex

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

Page 9: Alina Cojocariu - Flex and Android tests with Ranorex

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

Page 10: Alina Cojocariu - Flex and Android tests with Ranorex

Android Application

Page 11: Alina Cojocariu - Flex and Android tests with Ranorex

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

Page 12: Alina Cojocariu - Flex and Android tests with Ranorex

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

Page 13: Alina Cojocariu - Flex and Android tests with Ranorex

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

Page 14: Alina Cojocariu - Flex and Android tests with Ranorex

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)

Page 15: Alina Cojocariu - Flex and Android tests with Ranorex

Q&A

Page 16: Alina Cojocariu - Flex and Android tests with Ranorex

Thank you!

Please complete the evaluation form

Page 17: Alina Cojocariu - Flex and Android tests with Ranorex

Diamond Sponsors

Platinum Sponsors Gold Sponsors

Training Partners Media Partners Other Partners