deviceanywhere studio 5.1

Post on 30-May-2015

780 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

This Content is just replica of Deviceanywhere Studio 5.1 User Manual. All Rights reserved with Deviceanywhere Studio. Copyright © 2013 Keynote Systems, Inc. All rights reserved.

TRANSCRIPT

Satish Gorripotu Deviceanywhere Studio

Deviceanywhere Studio 5.1

SATISH GORRIPOTU

GSATISH_LEELA@YAHOO.COM

+91-9885121381

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

Deviceanywhere Studio 5.1

Scenario:

1. Open Application and capture data

2. Save the data in notepad

Location

c:\program files\mobile complete\ Deviceanywherestudio\workspace\

1. Loginto Deviceanywhere

Satish Gorripotu Deviceanywhere Studio

Screen Visibility:

1. Test center

1. My devices

2. getting Started

2. Test case Manager

1.Test case editor

Satish Gorripotu Deviceanywhere Studio

2. Test case runtime

3. getting Started

3. Test Automation

1. Scripting

2. getting Started

4. Proof Center

1. program Editor

2. Proof Center

3. Getting Started

5. Device Manager

1. Device manager

2. Ensamble Manager

3. Getting started

6. DemoAnywhere

1. Tutorial Builder

2. free-Nav Builder

3. Gettingstarted

7. links

1. Report an issue

2. Enterprise Portal

3. Proof Portal

Satish Gorripotu Deviceanywhere Studio

Automation Testing:

2. Create New Project

Test Automation --> Scripting ----New Project --> Create Project

Satish Gorripotu Deviceanywhere Studio

3. Configure the Project

1. Overview

2. Devices

3. Dependencies

4. Global variables

5. Error Types

Satish Gorripotu Deviceanywhere Studio

6. External Sharing

7. Permissions

8. Certifications

4. Once project created. It will visible in seperate Frame ...same like as Eclipse tree structure with

1. actions

2. states

3. test cases

4. test cycles

Satish Gorripotu Deviceanywhere Studio

Note. Right click on project --> properties --> navigate to configure project

5. Test case

Separate pane will display with

Run

Debug

Edit Variables

Check out

Save Select as menu options

Satish Gorripotu Deviceanywhere Studio

Another frame will display with Locked or Recently used Devices.

Test cases must be device independent.

Note: Test Cases are designed based on the Importing Actions.

These Actions are locked by Devices.

Satish Gorripotu Deviceanywhere Studio

6. Actions:

Actions are building blocks of Test Cases. These actions will contain scripts.

Satish Gorripotu Deviceanywhere Studio

Create New Action:

Right click on action

Satish Gorripotu Deviceanywhere Studio

It will create three empty place holders with Locked Devices.

Double Clicking on Action,

Satish Gorripotu Deviceanywhere Studio

Click on Implement:

It will display one frame with Run, Debug, Edit Variables and Check in as menu options.

And Set of tools which contain commands.

1. Send,

2. Wait,

3. Control,

4. Result.

5. Extend

6. Capture

Satish Gorripotu Deviceanywhere Studio

Drag and Drop the commands from the tool box into design Frame, then Check in the Action to access it

from other members.

If requires, we can roll back any time by show History

Satish Gorripotu Deviceanywhere Studio

We can do check in of all actions at same time.

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

Tools & Commands:

Tool Box

Send:

Send Keys

Hardware Extension – To do Battery removal

Find and Touch

Send SMS

Wait:

Wait

Wait for Image

Wait for Text

Wait for Event

Wait Audio

Wait State

Extract Text

Control: -Script Logic Section

Looping

Branching

Navigate to

Result:

Pass

Fail

Extend: -Modular the actions based on the adding other existing actions

Execute Action.

Satish Gorripotu Deviceanywhere Studio

Capture: -Record the video

Start Recording

Stop Recording

Take Snapshot

Satish Gorripotu Deviceanywhere Studio

Scripting:

We have to start scripting from Idle or Known position.

STEP 1:

Drag and Drop the command: SEND

Double Click on the Command .

Satish Gorripotu Deviceanywhere Studio

Instead of Double Clicking, Another way is:

Right Click on the Command and Start Recording.

Then Start pressing keys directly on the device.

After that again Right click on the command then stop the recording.

Satish Gorripotu Deviceanywhere Studio

Now Double click on the command and verify the below.

Satish Gorripotu Deviceanywhere Studio

STEP 2: Wait Image, to ensure we are at correct screen.

Satish Gorripotu Deviceanywhere Studio

It will allow us to take the screen shot of the Image.

The Exact Screen may fail due to Screen resolution, Signal Strength, Batter Life Indicator, Date and Time,

Current application.

So we have to set the preferences by

1. Crop the Image

2. Adjust Pixel Tolerance

3. Adjust Color Tolerance

4. Adjust Position Tolerance as 100 to 70%

We can verify the steps by click Run button in the Menu.

Then it will display the Execution Status.

We can see the step Result as below by clicking on View Result.

Satish Gorripotu Deviceanywhere Studio

Above steps need to repeat for next type of mobile device.

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

Using parameters:

Parameters can be used to dynamically populates the test entry to the script during the runtime.

To create the Parameter to certain action,

Right Click on Action Properties

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

Created Parameters can be used in the Commands in the Actions by right clicking

CommandProperties

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

We can add additional key commands before and after the parameters

Satish Gorripotu Deviceanywhere Studio

Then we have to change the type of parameter key mode as per device

Wait Text:

This is same as wait image.

Satish Gorripotu Deviceanywhere Studio

Then we have to set the Checkpoint.

Text and Image reorganization capabilities

In Send, we have two Commands

1. Find Text and Touch

2. Find and Touch

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

Touch Offset tab: Set the off set

Based on the pixel location

Satish Gorripotu Deviceanywhere Studio

Extract text:

Extract Text to variable.

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

Nav To:

This is extension of Text and Image matching capability. - Looping

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

Test Cases:

These are made up of Action calls and script logic.

These must be device independent.

Satish Gorripotu Deviceanywhere Studio

Drag and drop the actions into the Test Case

If any Action has Parameters, Then we can manipulate it for each cycle.

Satish Gorripotu Deviceanywhere Studio

Then lick Run:

Satish Gorripotu Deviceanywhere Studio

We can Run the Scripts in Debug Mode also.

Satish Gorripotu Deviceanywhere Studio

Then it will open each action and execute.

Satish Gorripotu Deviceanywhere Studio

Test Cycles:

In Test Cycle we can specify the Test cases and sequence by Drag and Drop.

Test Cycle will have three commands 1. Control

2. Result

3. Extend.

Satish Gorripotu Deviceanywhere Studio

Results:

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

Upload the test Results:

View Results:

Satish Gorripotu Deviceanywhere Studio

States:

Capture and Store specific state of the screen or device and then reuse it in actions.

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

Then procedure is same as wait Image.

Implement State in Action:

Satish Gorripotu Deviceanywhere Studio

DeviceAnywhere mobile popup will have following direct options.

Input Mode: Keyboard Input

Hardware - battery

Satish Gorripotu Deviceanywhere Studio

Audio& Video - Video , Speaker, Microphone

Tools:

Send SMS

Application

cleanup

Sharing

Brew

Connect Device to Computer - ADB Tunnel (Specific devices)

Manual Testing:

Once we login to Deviceanywhere we can see the following

Mydeviceanywhere

Reports

Support

Community

Satish Gorripotu Deviceanywhere Studio

The Major component in Deviceanywhere is Test Case Manager.

With this Test case manager, we can Manage Test Plans and Test Results.

Test Case Manager:

1. Test case Editor

2. Test Case Runtime

3. Getting Started

Satish Gorripotu Deviceanywhere Studio

Creating Project:

Whilst Creating the project we can assign permissions to groups and add devices. Later also we can do the

same by properties option.

Test Case:

Click on Test Case Editor and then create test case.

Test Steps: By Clicking on Add step we get below screen

Satish Gorripotu Deviceanywhere Studio

Now we have to add Details like Name ,Description, Proof Type(Single, Multiple screen shots, Video

Recording)

Satish Gorripotu Deviceanywhere Studio

Test cycle: Click on Test Case Run time in Test Case Manager

Satish Gorripotu Deviceanywhere Studio

Once we configure on which device we have to test, Then screen navigates to runtime section.

Then we have to walkthrough each stem and to do testing and make it Pass or Fail.

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

Test Results:

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

Satish Gorripotu Deviceanywhere Studio

Device anywhere has Plug-in with HP Test Case management tool QC and Functional testing tool QTP.

HP Functional Testing (QTP) and HP Quality Center Enhances Mobile Testing Offering with DeviceAnywhere

Dev iceAnyw here provides integrated solutions for HP Functional Testing (QTP) and HP Quality Center that enable users to run and

automate complex test scenar ios on mobile applications. Building on its long-time technical collaboration w ith HP as a key ALM partner,

Dev iceAnyw here currently supports the latest versions (V11.0) of HP’s softw are quality management applications, QC and QTP

(QuickTest Professional). DeviceAnyw heres' integrated bus iness solution w ith HP Functional Testing (QTP) extends the capab ilities of

the HP QTP client application to mobile, enabling users to test mobile applications and devices in a mobile cloud or dedicated

implementation.

HP Functional Testing (QTP) customers are able to trigger automated testing on live mobile devices directly from QTP. Test status and

result links are passed back and stored w ithin QTP for auditability/reference. The automated solution integration enables consolidation

of test case management and allow s for automated execution of test cases for mobile devices.

Satish Gorripotu Deviceanywhere Studio

Screenshot of Scripting in HP's Funtional Testing (QTP) V11 utilizing real mobile devices from DeviceAnywhere

Screenshot of results from HP's Functional Testing (QTP) V11

Advantages:

Users of the DeviceAnyw here – HP Functional Testing (QTP) integrated solution for mobile test automation are able to:

Leverage existing test assets and infrastructure w hile extending capabilities to the mobile space.

Easily port test scripts from desktop to mobile versions of Web applications.

Satish Gorripotu Deviceanywhere Studio

Generate accurate and reliable results from w orking w ith real, live mobile devices.

Implement a comprehensive approach to mobile application quality and reliability by availing of DeviceAnyw here automated

solutions via Test Automation.

Meet auditability requirements by referring to DeviceAnyw here test results stored in HP QTP (QuickTest Professional).

Support test scenarios that include mobile and Web application interactions.

Technical Overview:

The integration of DeviceAnyw here and HP Functional Testing (QTP) softw are makes DeviceAnyw here API functions available w ithin

the HP QTP interface. Specif ically, HP QTP users can leverege DeviceAnyw here Test Automation integrated business functions to

build and run reusable, automated mobile testing assets. This capability enables you to control, interact w ith, and extract screenshots

from real mobile devices in the DeviceAnyw here test environment during automated test runs. DeviceAnyw here test results can be

passed back and stored w ithin HP QTP for reference.

Resources:

For more information please clic k here to access the QTP Integration Guide. For addit ional information related to Add- In version/QTP

versions, please c lick here. DeviceAnyw here is an HP Softw are Gold Business Partner. For more information on the DeviceAnywhere

partnership please clic k here to access the HP Partner Directory Page

Satish Gorripotu Deviceanywhere Studio

top related