Visual 1: Working with Visual Analysis 2014. Agenda Overview of the Preview Panel –Breakdown of its components and how to use Visual Analysis –Text and.

Slides:



Advertisements
Similar presentations
Microsoft Word 2010 Lesson 1: Introduction to Word.
Advertisements

KX-NS1000 Initial Set Up For step by step : 16 May,
My First UFT Script.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
Introduction To Form Builder
Week:#14 Windows Recovery
Writing My First Test.
Inventory Throughout this slide show there will be hyperlinks (highlighted in blue) follow the hyperlinks to navigate to the specified Topic or Figure.
8/6/2015Auto Attendants 1 Smarter Communications.
Myrtle Entertainment Network Scanner How to work your way to installing a program via Myrtle Entertainment Network Scanner.
Deployment Management The following screens demonstrate how to: 1. Access and view deployments 2. Create a new local deployment 3. Create and modify a.
How to connect your laptop to the classroom wireless AP.
Creating a MagicInfo Pro Screen Template
A detailed guide on how to set-up your printing storefront. Please Note: Storefronts are compatible with all browsers, however for optimal use of the admin.
Integrating Microsoft Project with Other Programs
Microsoft Office Word 2013 Expert Microsoft Office Word 2013 Expert Courseware # 3251 Lesson 5: Setting Up Global Accessibility.
Microsoft Visual Basic 2005 CHAPTER 12 Cell Phone Applications and Web Services.
Mobile App Certification Course. In this course we will work you through on how you can start developing mobile apps for yourself or for many industries.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
LATTICE TECHNOLOGY, INC. For Version 9.0 and later XVL Web Master Tutorial For Version 9.0 and later.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
1 Lesson 22 Getting Started with Access Essentials Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VIII Graphical User Interface using MATLAB Rajeev Madazhy
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice SISP Training Documentation Template.
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Galaxy for Bioinformatics Analysis An Introduction TCD Bioinformatics Support Team Fiona Roche, PhD Date: 31/08/15.
Lesson 17 Getting Started with Access Essentials
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
Reminder Exchange. Introduction Reminders can be sent from one facility to another Area Offices can create a central repository for each service unit’s.
Getting Started with PDAs CALS PDA Initiative ALS 103.
TUTORIAL 9 INSTRUCTOR: HANIF ULLAH ID: OFFICE #: 2029 DATE: 22/04/2012 Introduction to MS Project 2007.
Microsoft Access 2010 Chapter 10 Administering a Database System.
IBC233 Lecture 2 Updated Winter 2008 Agenda Test next Week – Jan 23 ISeries Architecture CL (Control Language) Library Lists Operations Navigator.
Inventory. © beas2009/Page 2 This documentation and training is provided to you by beas gmbh. The documents are neither approved nor in any way acknowledged.
Graphical Enablement In this presentation… –What is graphical enablement? –Introduction to newlook dialogs and tools used to graphical enable System i.
Table of Contents TopicSlide Administrator Login 2 Administrator Navigations 3 Managing AlternativeDr.com Blogs 4 Managing Dr. Lloyd May Blogs 5 Managing.
Chapter 23. Copyright 2003, Paradigm Publishing Inc. CHAPTER 23 BACKNEXTEND 23-2 LINKS TO OBJECTIVES Record, Run, Pause, and Delete Macros Record, Run,
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
CD Web XMS Training How to use the Xeno Media web site content management system.
Introduction to KE EMu
Data Migration Training Page 1 KE EMu Data Migration
Introduction to KE EMu Unit objectives: Introduction to Windows Use the keyboard and mouse Use the desktop Open, move and resize a.
Introduction to KE EMu Unit objectives: Introduction to Windows Use the keyboard and mouse Use the desktop Open, move and resize a.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
1 Lecture 4 Post-Graduate Students Advanced Programming (Introduction to MATLAB) Code: ENG 505 Dr. Basheer M. Nasef Computers & Systems Dept.
> > >> < <
ScriptOnce™ & Best Practices. Agenda 2 Automation that works ScriptOnce –Minimal maintenance –Easy to add devices Robustness –Reliable Scripts - Minimize.
Visual Relations, Part 2 Advanced Visual Analysis.
Perfecto Mobile Automation
Part 1 Working with Devices in the CQ Lab. Agenda 2 How to select a device and reserve it. Basic device operations inside the Lab Other features to get.
Introduction to TouchDevelop Lesson 3 – Comments & Lists Created by S. Johnson
CHAPTER 7 LESSON C Creating Database Reports. Lesson C Objectives  Display image data in a report  Manually create queries and data links  Create summary.
: Information Retrieval อาจารย์ ธีภากรณ์ นฤมาณนลิณี
Working with MobileCloud Devices I. Agenda 2 How to select a device and reserve it. Basic device operations inside the MobileCloud™ Cloud Services You.
Elluminate Live! Participant's Guide Ensure your computer meets the minimum system requirements recommended for running an Elluminate Live! session on.
 Follow the steps in order to solve the sync issue with the best fitness trackers;best fitness trackers  1. Reboot your Fitness Tracker and the device.
Copyright Pte Ltd Installing iZeno SMS Module Version 1 for SugarCRM 6 updated on 25 Nov 2011 Benny Ng Director Business Development.
1 Chapter 6: Creating Oracle Data Block Forms. 2 Forms  Application with a graphical user interface that looks like a paper form  Used to insert, update,
Portal v2.6 Service Pack 1 Update. 2 Portal v2.6 Service Pack 1 6/27/2016 ©2007 GE Fanuc Intelligent Platforms All Rights Reserved Portal v2.6 Service.
Accessing Your Documents from Your Personal Computer.
Advanced Visual Analysis. Agenda 2 Visual Relations How Text Analysis works –Do we have a match? –OCR assumptions –My text is not found, what should I.
Visual 1: Working with Visual Analysis
Configuring Windows 10 for Your Studio
Capturing Error Messages in RMS3.0
Presentation transcript:

Visual 1: Working with Visual Analysis 2014

Agenda Overview of the Preview Panel –Breakdown of its components and how to use Visual Analysis –Text and Image Key Parameters –Ensuring a successful search Working with application commands –Introduction into native application (part of this lesson’s assignment)

Getting started with a sample

The Preview Panel 1. Prompt to enter values for parameters at run-time 2. Display advanced parameters 3. Function parameters window 4. Haystack 5. Needle 6. Enable search results 7. Snapshot mode 8. Handset mode 9. Visual relationship 10. Refresh screenshot 11. Haystack zoom out 12. Haystack fit to screen 13. Haystack zoom in 14. Use screenshot as needle 15. Load needle from repository 16. Crop needle area 17. Save needle with logical name 18. Needle zoom out 19. Needle fit to screen 20. Needle zoom in 21. View Help

Working with Images The text commands all have an equivalent command that searches for an image as a needle Image can be provided from the repository or taken from the device via the Preview Panel –System expects to find an exact match of the image –To support different screens, it is possible to “forgive” slight changes that can result from different screens (match-mode parameter)

Click Clicking Button.Click(text) & Select text –Both commands search for needle and click on it –Button.Click(text) uses custom OCR settings per platform and is the recommended command

Commands - Edit.Set(text) Sets a value inside an input field Works by searching for a label (the needle) Finds the field in relation to the label Direction Distance (in percentage of screen) Clicks on the field, removing previous text and entering the value

Commands - Validations Validations use same mechanism as click commands, but do not perform any action Useful for making tests pass/fail (e.g. did login succeed? ) Sync and Check –They are the same command, sync has a default timeout of 60 seconds and check does not –Timeout is the duration in which the system searches continually for the needle

Scrolling In some cases the needle is not on the visible screen and it is necessary to scroll in order to find it The “Scroll and Search” parameter turns on this functionality Switched off by default Available in all visual analysis commands How it works: –Needle is not found –System Performs scroll operation and then searches again for the needle (repeated for 5 times) –Scroll cannot be used together with a positive Timeout, because they dictate a different behavior when the needle is not found

Sleep() Suspends test for a specified number of milliseconds before performing the next step Part of the MobileCloud project template For example: sleep(3000); /* * Suspend test for a specified number of milliseconds. */ private static void sleep(long millis) { try { Thread.sleep(millis); } catch (InterruptedException e) { }

Part of this lesson assignment Working with application commands

Application Commands When working on application best practice is: –Upload… –Install & Start the App at beginning of test –Close & Uninstall at end of test The app identifier is the application name

Uploading Applications Two approaches of installing a single application on the device 1.Upload an application to the media repository and install it. 2.Install an application located in a local file. /* * Upload an application to the media repository and install it. */ String repositoryKey = "PUBLIC:PMIOSDemoInstrumented.ipa"; File file = new File("C:\\test\\applications\\PMIOSDemoInstrumented.ipa"); driver.uploadMedia(repositoryKey, file); device.installApplication(repositoryKey); /* * Install an application located in a local file. */ device.installApplication("C:\\test\\applications\\PMIOSDemoInstrumented.ipa");

Uploading Media Two approaches uploading media into the MobileCloud Repository: 1.Extract the image with the preview panel and save it with a logical name 2.Upload the image from a local file to the repository (code upload) /* * Upload a local file to the MobileCloud media repository. * If the file already exists, it will be overwritten. */ String repositoryKey = "PRIVATE:myImage.jpg"; File file = new File("C:\\test\\images\\myImage.jpg"); driver.uploadMedia(repositoryKey, file);

Resources Javadoc – Sample script – https://community.perfectomobile.com/posts/ Code snippets – mobilecloud-webdriver-code-snippets mobilecloud-webdriver-code-snippets GitHub repository –

Thank You