• No results found

Cloud Environment for Mobile Applications Testing

N/A
N/A
Protected

Academic year: 2021

Share "Cloud Environment for Mobile Applications Testing"

Copied!
78
0
0

Loading.... (view fulltext now)

Full text

(1)

Cloud Environment for Mobile Applications

Testing

By:ABU OUN Osama

Advisor:SPIES François

Institut FEMTO-ST, département DISC Université de Franche-Comté, France

Thursday 28 March 2013

(2)

Plan

1 Introduction

What is CEMAT Why CEMAT Why Android

MobApp Testing Market

2 Android Testing Environment

3 CEMAT

Architecture and Implementation Link Emulators to CEMAT Server

Link Real Mobile Phones to CEMAT Server Remote Real Phones (on road)

Heterogeneous Environment 4 Automation / Scenarios

(3)

What is CEMAT

Plan

1 Introduction What is CEMAT Why CEMAT Why Android

MobApp Testing Market 2 Android Testing Environment

3 CEMAT

Architecture and Implementation Link Emulators to CEMAT Server

Link Real Mobile Phones to CEMAT Server Remote Real Phones (on road)

Heterogeneous Environment 4 Automation / Scenarios

(4)

CEMAT

Cloud Environment for Mobile Applications Testing

Facilitates testing of all kinds of application Specialized in Location-Based Applications Works with Emulators, Devices or both

(5)

What is CEMAT

CEMAT

Cloud Environment for Mobile Applications Testing Facilitates testing of all kinds of application

Specialized in Location-Based Applications Works with Emulators, Devices or both

(6)

CEMAT

Cloud Environment for Mobile Applications Testing Facilitates testing of all kinds of application

Specialized in Location-Based Applications

Works with Emulators, Devices or both

(7)

What is CEMAT

CEMAT

Cloud Environment for Mobile Applications Testing Facilitates testing of all kinds of application

Specialized in Location-Based Applications Works with Emulators, Devices or both

(8)

Plan

1 Introduction

What is CEMAT

Why CEMAT

Why Android

MobApp Testing Market 2 Android Testing Environment

3 CEMAT

Architecture and Implementation Link Emulators to CEMAT Server

Link Real Mobile Phones to CEMAT Server Remote Real Phones (on road)

Heterogeneous Environment 4 Automation / Scenarios

(9)

Why CEMAT

CEMAT Advantages

Java application

Platform independent

First Application Testing Framewrok

Can work with any Android-OS device Distributed using Tree Hierarchy Model Offers Location-Based Testing

Offers Heterogeneous Environment

(10)

CEMAT Advantages

Java application Platform independent

First Application Testing Framewrok

Can work with any Android-OS device Distributed using Tree Hierarchy Model Offers Location-Based Testing

Offers Heterogeneous Environment

(11)

Why CEMAT

CEMAT Advantages

Java application Platform independent

First Application Testing Framewrok Can work with any Android-OS device

Distributed using Tree Hierarchy Model Offers Location-Based Testing

Offers Heterogeneous Environment

(12)

CEMAT Advantages

Java application Platform independent

First Application Testing Framewrok Can work with any Android-OS device Distributed using Tree Hierarchy Model

Offers Location-Based Testing Offers Heterogeneous Environment

(13)

Why CEMAT

CEMAT Advantages

Java application Platform independent

First Application Testing Framewrok Can work with any Android-OS device Distributed using Tree Hierarchy Model Offers Location-Based Testing

Offers Heterogeneous Environment

(14)

CEMAT Advantages

Java application Platform independent

First Application Testing Framewrok Can work with any Android-OS device Distributed using Tree Hierarchy Model Offers Location-Based Testing

Offers Heterogeneous Environment

(15)

Why Android

Plan

1 Introduction What is CEMAT Why CEMAT Why Android

MobApp Testing Market 2 Android Testing Environment

3 CEMAT

Architecture and Implementation Link Emulators to CEMAT Server

Link Real Mobile Phones to CEMAT Server Remote Real Phones (on road)

Heterogeneous Environment 4 Automation / Scenarios

(16)

Smart Phone OS Comparison

(17)

MobApp Testing Market

Plan

1 Introduction What is CEMAT Why CEMAT Why Android

MobApp Testing Market

2 Android Testing Environment

3 CEMAT

Architecture and Implementation Link Emulators to CEMAT Server

Link Real Mobile Phones to CEMAT Server Remote Real Phones (on road)

Heterogeneous Environment 4 Automation / Scenarios

(18)

Top Testing Framewroks Comparison

Name In-House Sever Auto-Test Devices Count Distributed Description Perfecto Mobile

No Yes 500 U.S., Canada,

U.K., France, Germany, Switzerland Israel and India

Cloud-based,plugs into QTP, Selenium, web-based

Device Anywhere

No Yes 258 275 locations Cloud-based,Integrated with QTP

UTest No No - All Over the

World

60,000+ professional testers, 190 countries,web, mobile and

desktop applications

TestDroid Yes Yes 128 - An Eclipse plugin for automation

Paca Mobile Center

No No 300 France

(19)

Plan

1 Introduction What is CEMAT Why CEMAT Why Android

MobApp Testing Market

2 Android Testing Environment

3 CEMAT

Architecture and Implementation Link Emulators to CEMAT Server

Link Real Mobile Phones to CEMAT Server Remote Real Phones (on road)

Heterogeneous Environment 4 Automation / Scenarios

(20)

Application Categories

Stand-alone Applications

Network Dependent Applications Location Applications

Location-Network Dependent Applications

(21)

Application Categories

Application Categories

Stand-alone Applications

Network Dependent Applications

Location Applications

Location-Network Dependent Applications

(22)

Application Categories

Stand-alone Applications

Network Dependent Applications Location Applications

Location-Network Dependent Applications

(23)

Application Categories

Application Categories

Stand-alone Applications

Network Dependent Applications Location Applications

Location-Network Dependent Applications

(24)

Android Testing Environment

Android Emulators

Android Computer (Virtual/Computer) Connected Real Devices

Remote Real Devices

(25)

Android Emulators

Android Emulators

Emulators

Emulator Networking

Local Networking Limitations

Sending a Voice Call or SMS to Another Emulator

Network, Power, Geo Location, Hardware Events, System

(26)

Android Emulators

Emulators

Emulator Networking

Local Networking Limitations

Sending a Voice Call or SMS to Another Emulator

Network, Power, Geo Location, Hardware Events, System

(27)

Android Emulators

Emulator Networking

Network Address Description 10.0.2.1 Router/Gateway address

10.0.2.2 Special alias to your host loopback interface (i.e., 127.0.0.1 on your development machine)

10.0.2.3 First DNS server

10.0.2.4 / 10.0.2.5 / 10.0.2.6

Optional second, third and fourth DNS server (if any)

10.0.2.1 The emulated device’s own network/ethernet interface

127.0.0.1 The emulated device’s own loopback interface

(28)

Android Emulators

Emulators

Emulator Networking

Local Networking Limitations

Sending a Voice Call or SMS to Another Emulator

Network, Power, Geo Location, Hardware Events, System

(29)

Android Emulators

Local Networking Limitations

(30)

Android Emulators

Emulators

Emulator Networking

Local Networking Limitations

Sending a Voice Call or SMS to Another Emulator

Network, Power, Geo Location, Hardware Events, System

(31)

Android Emulators

Android Emulators

Emulators

Emulator Networking

Local Networking Limitations

Sending a Voice Call or SMS to Another Emulator

Network, Power, Geo Location, Hardware Events, System

(32)

Android Testing Environment

Android Emulators

Android Computer (Virtual/Computer)

Connected Real Devices Remote Real Devices

(33)

Android Computer (Virtual/Computer)

Android Testing Environment

Android Emulators

Android Computer (Virtual/Computer)

Connected Real Devices

Remote Real Devices

(34)

Android Testing Environment

Android Emulators

Android Computer (Virtual/Computer) Connected Real Devices

Remote Real Devices

(35)

Plan

1 Introduction What is CEMAT Why CEMAT Why Android

MobApp Testing Market 2 Android Testing Environment 3 CEMAT

Architecture and Implementation Link Emulators to CEMAT Server

Link Real Mobile Phones to CEMAT Server Remote Real Phones (on road)

Heterogeneous Environment

4 Automation / Scenarios

(36)

Plan

1 Introduction What is CEMAT Why CEMAT Why Android

MobApp Testing Market 2 Android Testing Environment 3 CEMAT

Architecture and Implementation

Link Emulators to CEMAT Server

Link Real Mobile Phones to CEMAT Server Remote Real Phones (on road)

Heterogeneous Environment 4 Automation / Scenarios

(37)

Architecture and Implementation

Architecture and Implementation

CEMAT Server

CEMAT Data Collector CEMAT Client

(38)

CEMAT Server

(39)

Architecture and Implementation

Architecture and Implementation

CEMAT Server

CEMAT Data Collector

CEMAT Client

(40)

CEMAT Data Collector

(41)

Architecture and Implementation

Architecture and Implementation

CEMAT Server

CEMAT Data Collector

CEMAT Client

(42)

CEMAT Client

Lightweight java application

Connect to one of the servers in the cloud Limited to android application testing functions Can’t manage the cloud

(43)

Architecture and Implementation

CEMAT Client

Lightweight java application

Connect to one of the servers in the cloud

Limited to android application testing functions Can’t manage the cloud

(44)

CEMAT Client

Lightweight java application

Connect to one of the servers in the cloud

Limited to android application testing functions

Can’t manage the cloud

(45)

Architecture and Implementation

CEMAT Client

Lightweight java application

Connect to one of the servers in the cloud Limited to android application testing functions

Can’t manage the cloud

(46)

Plan

1 Introduction What is CEMAT Why CEMAT Why Android

MobApp Testing Market 2 Android Testing Environment 3 CEMAT

Architecture and Implementation

Link Emulators to CEMAT Server

Link Real Mobile Phones to CEMAT Server Remote Real Phones (on road)

Heterogeneous Environment 4 Automation / Scenarios

(47)

Link Emulators to CEMAT Server

List of Managed Emulators

Unique name to be used in the session Shell session to the emulator

Read the log and the output of the emulator

Send the ”CEMAT Data Collector" to the emulators

Maintain a live connection to the Collector to read the data

(48)

List of Managed Emulators

Unique name to be used in the session

Shell session to the emulator

Read the log and the output of the emulator

Send the ”CEMAT Data Collector" to the emulators

Maintain a live connection to the Collector to read the data

(49)

Link Emulators to CEMAT Server

List of Managed Emulators

Unique name to be used in the session

Shell session to the emulator

Read the log and the output of the emulator

Send the ”CEMAT Data Collector" to the emulators

Maintain a live connection to the Collector to read the data

(50)

List of Managed Emulators

Unique name to be used in the session Shell session to the emulator

Read the log and the output of the emulator

Send the ”CEMAT Data Collector" to the emulators

Maintain a live connection to the Collector to read the data

(51)

Link Emulators to CEMAT Server

List of Managed Emulators

Unique name to be used in the session Shell session to the emulator

Read the log and the output of the emulator

Send the ”CEMAT Data Collector" to the emulators

Maintain a live connection to the Collector to read the data

(52)

List of Managed Emulators

Unique name to be used in the session Shell session to the emulator

Read the log and the output of the emulator

Send the ”CEMAT Data Collector" to the emulators

Maintain a live connection to the Collector to read the data

(53)

Link Real Mobile Phones to CEMAT Server

Plan

1 Introduction What is CEMAT Why CEMAT Why Android

MobApp Testing Market 2 Android Testing Environment 3 CEMAT

Architecture and Implementation Link Emulators to CEMAT Server

Link Real Mobile Phones to CEMAT Server

Remote Real Phones (on road) Heterogeneous Environment 4 Automation / Scenarios

(54)

List of Managed Devices

Unique name to be used in the session

Forward port on the server to a port on the device Send the ”CEMAT Data Collector" to the device.

(55)

Link Real Mobile Phones to CEMAT Server

List of Managed Devices

Unique name to be used in the session

Forward port on the server to a port on the device Send the ”CEMAT Data Collector" to the device.

(56)

List of Managed Devices

Unique name to be used in the session

Forward port on the server to a port on the device

Send the ”CEMAT Data Collector" to the device.

(57)

Link Real Mobile Phones to CEMAT Server

List of Managed Devices

Unique name to be used in the session

Forward port on the server to a port on the device Send the ”CEMAT Data Collector" to the device.

(58)

Plan

1 Introduction What is CEMAT Why CEMAT Why Android

MobApp Testing Market 2 Android Testing Environment 3 CEMAT

Architecture and Implementation Link Emulators to CEMAT Server

Link Real Mobile Phones to CEMAT Server

Remote Real Phones (on road)

Heterogeneous Environment 4 Automation / Scenarios

(59)

Remote Real Phones (on road)

Consideration

No formal method to communicate with remote devices from Android

private IP addressing Lack of Internet

(60)

Consideration

No formal method to communicate with remote devices from Android

private IP addressing

Lack of Internet

(61)

Remote Real Phones (on road)

Consideration

No formal method to communicate with remote devices from Android

private IP addressing Lack of Internet

(62)

Remote Real Phones (on road)

List of Managed Devices

Unique name to be used in the session Communicate with the CEMAT Data Collector

Connection to the Data Collector on the device Accept the connection from the Data Collector

Send queries to the application to get the updated values Receive the queries results with the updated values

(63)

Remote Real Phones (on road)

Remote Real Phones (on road)

List of Managed Devices

Unique name to be used in the session Communicate with the CEMAT Data Collector

Connection to the Data Collector on the device Accept the connection from the Data Collector

Send queries to the application to get the updated values Receive the queries results with the updated values

(64)

Remote Real Phones (on road)

List of Managed Devices

Unique name to be used in the session Communicate with the CEMAT Data Collector

Connection to the Data Collector on the device Accept the connection from the Data Collector

Send queries to the application to get the updated values Receive the queries results with the updated values

(65)

Remote Real Phones (on road)

Remote Real Phones (on road)

List of Managed Devices

Unique name to be used in the session Communicate with the CEMAT Data Collector

Connection to the Data Collector on the device Accept the connection from the Data Collector

Send queries to the application to get the updated values Receive the queries results with the updated values

(66)

Remote Real Phones (on road)

List of Managed Devices

Unique name to be used in the session Communicate with the CEMAT Data Collector

Connection to the Data Collector on the device

Accept the connection from the Data Collector

Send queries to the application to get the updated values Receive the queries results with the updated values

(67)

Remote Real Phones (on road)

Remote Real Phones (on road)

List of Managed Devices

Unique name to be used in the session Communicate with the CEMAT Data Collector

Connection to the Data Collector on the device Accept the connection from the Data Collector

Send queries to the application to get the updated values Receive the queries results with the updated values

(68)

Remote Real Phones (on road)

List of Managed Devices

Unique name to be used in the session Communicate with the CEMAT Data Collector

Connection to the Data Collector on the device Accept the connection from the Data Collector

Send queries to the application to get the updated values Receive the queries results with the updated values

(69)

Heterogeneous Environment

Plan

1 Introduction What is CEMAT Why CEMAT Why Android

MobApp Testing Market 2 Android Testing Environment 3 CEMAT

Architecture and Implementation Link Emulators to CEMAT Server

Link Real Mobile Phones to CEMAT Server Remote Real Phones (on road)

Heterogeneous Environment

4 Automation / Scenarios

(70)

Plan

1 Introduction What is CEMAT Why CEMAT Why Android

MobApp Testing Market 2 Android Testing Environment

3 CEMAT

Architecture and Implementation Link Emulators to CEMAT Server

Link Real Mobile Phones to CEMAT Server Remote Real Phones (on road)

Heterogeneous Environment

4 Automation / Scenarios

(71)

Automation

Robotium

Direct Events Sender Scenarios

Environment Scenarios

Droidev (Emulators/Devices) Scenarios

Results

(72)

Automation

Robotium

Direct Events Sender Scenarios

Environment Scenarios

Droidev (Emulators/Devices) Scenarios

Results

(73)

Automation

Robotium

Direct Events Sender Scenarios

Environment Scenarios

Droidev (Emulators/Devices) Scenarios

Results

(74)

Automation

Robotium

Direct Events Sender

Scenarios

Environment Scenarios

Droidev (Emulators/Devices) Scenarios Results

(75)

Automation

Robotium

Direct Events Sender

Scenarios

Environment Scenarios

Droidev (Emulators/Devices) Scenarios Results

(76)

Automation

Robotium

Direct Events Sender

Scenarios

Environment Scenarios

Droidev (Emulators/Devices) Scenarios Results

(77)

Automation

Robotium

Direct Events Sender

Scenarios

Environment Scenarios

Droidev (Emulators/Devices) Scenarios

Results

(78)

Thank You

Questions ?

References

Related documents

On July 9, 2007, the Company agreed to extend the marking agreement an additional 2 years through January 31, 2010 in exchange for full satisfaction of the of the purchase price

The purpose of this study is to explore human capital productivity strategies used by THL business leaders in southern Nigeria that have improved employee productivity. This

As illustrated in Exhibit 1, by looking early in the planning stages at costs across the organization and over the length of the transition, considering productivity gains as well

Objectives: The aim of our study was to determine a possible correlation between vertebral fractures (indicated by VFA – vertebral fracture assessment), TBS (trabecular bone score)

For definitions of specific types available, see following auto insurance coverages listed alphabetically throughout the Glossary—Automobile Death Indemnity Coverage,

This standard is also applicable to electrical apparatus or parts of electrical apparatus located outside the explosive gas atmosphere or protected by another type of protection

In the absence of potential good hydrogen bond donors - as it is the case of the molecule described here - the crystal structure might be determined by other interactions and

1.2 Studying the school curriculum of Ratanakosin IX School, the visual arts substance, class level 2, Prathomsuksa 6; studying the learning management plan of the visual arts