deviceanywhere studio 5.1

68
Satish Gorripotu Deviceanywhere Studio Deviceanywhere Studio 5.1 SATISH GORRIPOTU [email protected] +91-9885121381

Upload: satish-gorripotu

Post on 30-May-2015

774 views

Category:

Technology


0 download

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

Page 1: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Deviceanywhere Studio 5.1

SATISH GORRIPOTU

[email protected]

+91-9885121381

Page 2: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 3: Deviceanywhere studio 5.1

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

Page 4: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Screen Visibility:

1. Test center

1. My devices

2. getting Started

2. Test case Manager

1.Test case editor

Page 5: Deviceanywhere studio 5.1

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

Page 6: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Automation Testing:

2. Create New Project

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

Page 7: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

3. Configure the Project

1. Overview

2. Devices

3. Dependencies

4. Global variables

5. Error Types

Page 8: Deviceanywhere studio 5.1

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

Page 9: Deviceanywhere studio 5.1

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

Page 10: Deviceanywhere studio 5.1

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.

Page 11: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

6. Actions:

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

Page 12: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Create New Action:

Right click on action

Page 13: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

It will create three empty place holders with Locked Devices.

Double Clicking on Action,

Page 14: Deviceanywhere studio 5.1

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

Page 15: Deviceanywhere studio 5.1

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

Page 16: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

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

Page 17: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 18: Deviceanywhere studio 5.1

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.

Page 19: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Capture: -Record the video

Start Recording

Stop Recording

Take Snapshot

Page 20: Deviceanywhere studio 5.1

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 .

Page 21: Deviceanywhere studio 5.1

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.

Page 22: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Now Double click on the command and verify the below.

Page 23: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

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

Page 24: Deviceanywhere studio 5.1

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.

Page 25: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

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

Page 26: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 27: Deviceanywhere studio 5.1

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

Page 28: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 29: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

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

CommandProperties

Page 30: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 31: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

We can add additional key commands before and after the parameters

Page 32: Deviceanywhere studio 5.1

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.

Page 33: Deviceanywhere studio 5.1

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

Page 34: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 35: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Touch Offset tab: Set the off set

Based on the pixel location

Page 36: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Extract text:

Extract Text to variable.

Page 37: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 38: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 39: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Nav To:

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

Page 40: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 41: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 42: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Test Cases:

These are made up of Action calls and script logic.

These must be device independent.

Page 43: Deviceanywhere studio 5.1

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.

Page 44: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Then lick Run:

Page 45: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

We can Run the Scripts in Debug Mode also.

Page 46: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Then it will open each action and execute.

Page 47: Deviceanywhere studio 5.1

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.

Page 48: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Results:

Page 49: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 50: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Upload the test Results:

View Results:

Page 51: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

States:

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

Page 52: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 53: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Then procedure is same as wait Image.

Implement State in Action:

Page 54: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

DeviceAnywhere mobile popup will have following direct options.

Input Mode: Keyboard Input

Hardware - battery

Page 55: Deviceanywhere studio 5.1

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

Page 56: Deviceanywhere studio 5.1

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

Page 57: Deviceanywhere studio 5.1

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

Page 58: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

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

Recording)

Page 59: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

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

Page 60: Deviceanywhere studio 5.1

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.

Page 61: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 62: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Test Results:

Page 63: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 64: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio

Page 65: Deviceanywhere studio 5.1

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.

Page 66: Deviceanywhere studio 5.1

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.

Page 67: Deviceanywhere studio 5.1

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

Page 68: Deviceanywhere studio 5.1

Satish Gorripotu Deviceanywhere Studio