Satish Gorripotu Deviceanywhere Studio Deviceanywhere Studio 5.1Scenario: 1. Open Application and capture data 2. Save the data in notepadLocation c:program filesmobile complete Deviceanywherestudioworkspace1. Loginto Deviceanywhere
Satish Gorripotu Deviceanywhere StudioScreen 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 StudioAutomation Testing:2. Create New Project Test Automation --> Scripting ----New Project --> Create Project
Satish Gorripotu Deviceanywhere Studio3. 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. Certifications4. 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 StudioNote. Right click on project --> properties --> navigate to configure project5. Test case Separate pane will display with Run Debug Edit Variables Check out Save Select as menu options
Satish Gorripotu Deviceanywhere StudioAnother 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 Studio6. Actions:Actions are building blocks of Test Cases. These actions will contain scripts.
Satish Gorripotu Deviceanywhere StudioCreate New Action: Right click on action
Satish Gorripotu Deviceanywhere StudioIt will create three empty place holders with Locked Devices.Double Clicking on Action,
Satish Gorripotu Deviceanywhere StudioClick 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 StudioDrag and Drop the commands from the tool box into design Frame, then Check in the Action to access itfrom other members.If requires, we can roll back any time by show History
Satish Gorripotu Deviceanywhere StudioWe can do check in of all actions at same time.
Satish Gorripotu Deviceanywhere StudioTools & 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 StudioScripting: We have to start scripting from Idle or Known position.STEP 1:Drag and Drop the command: SENDDouble Click on the Command .
Satish Gorripotu Deviceanywhere StudioInstead 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 StudioNow Double click on the command and verify the below.
Satish Gorripotu Deviceanywhere StudioSTEP 2: Wait Image, to ensure we are at correct screen.
Satish Gorripotu Deviceanywhere StudioIt 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 StudioAbove steps need to repeat for next type of mobile device.
Satish Gorripotu Deviceanywhere StudioUsing 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 StudioThen procedure is same as wait Image.Implement State in Action:
Satish Gorripotu Deviceanywhere StudioDeviceAnywhere mobile popup will have following direct options.Input Mode: Keyboard Input Hardware - battery
Satish Gorripotu Deviceanywhere Studio Audio& Video - Video , Speaker, MicrophoneTools: Send SMS Application cleanup Sharing BrewConnect 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 StudioThe 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 StudioCreating Project:Whilst Creating the project we can assign permissions to groups and add devices. Later also we can do thesame 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 StudioNow we have to add Details like Name ,Description, Proof Type(Single, Multiple screen shots, VideoRecording)
Satish Gorripotu Deviceanywhere StudioTest cycle: Click on Test Case Run time in Test Case Manager
Satish Gorripotu Deviceanywhere StudioOnce 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 StudioDevice 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 DeviceAnywhereDev iceAnyw here provides integrated solutions for HP Functional Testing (QTP) and HP Quality Center that enable users to run a ndautomate 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(Quic kTest Professional). DeviceAnyw heres integrated bus iness solution w ith HP Functional Testing ( QTP) extends the capab ilities ofthe HP QTP client application to mobile, enabling users to test mobile applications and devices in a mobile cloud or dedicate dimplementation.HP Functional Testing (QTP) customers are able to trigger automated testing on live mobile devices directly from QTP. Test status andresult links are passed back and stored w ithin QTP for auditability/reference. The automated solution integration enables con solidationof test case management and allow s for automated execution of test cases for mobile devices.
Satish Gorripotu Deviceanywhere StudioScreenshot of Scripting in HPs Funtional Testing (QTP) V11 utilizing real mobile devices from DeviceAnywhereScreenshot of results from HPs Functional Testing (QTP) V11Advantages: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 ( Quic kTest 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 ithinthe HP QTP interface. Specifically, HP QTP users can leverege DeviceAnyw here Test Automation integrated business functions tobuild and run reusable, automated mobile testing assets. This capability enables you to control, interact w ith, and extract screenshotsfrom real mobile devices in the DeviceAnyw here test environment during automated test runs. DeviceAnyw here test results can b epassed back and stored w ithin HP QTP for reference.Resources:For more information please clic k here to access the QTP Integration Guide. For additional information related to Add- In version/QTPversions, please c lick here. DeviceAnyw here is an HP Softw are Gold Business Partner. For more infor mation on the DeviceAnywherepartnership please clic k here to access the HP Partner Directory Page