SlideShare a Scribd company logo
1 of 28
Intro to Automation using
Perfecto CQ Lab
Partners
David Broerman
Partner Enablement Mgr.
Email:
davidb@perfectomobile.com
Agenda
2
• Overview of Perfecto
• Walkthrough of the Perfecto Automation
IDE
• Understanding scripting basics
• Validations
• Script building, execution and results
Intro to Perfecto
Perfecto Offers:
A Cloud Based Continuous Quality Lab
enabling testing and monitoring of all digital
platforms on real devices and real end user
conditions,
for enterprises adopting agile delivery processes.3
Intro to Perfecto
Dominant leader &
visionary
Strong
Ecosystem
Perfecto @ a glance
Working with Enterprises and Partners to deliver
exceptional digital experiences.
“Perfecto Mobile marks shift in mobile
apps QA with Continuous Quality Lab”
4
Setting the bar for
market success
• Founded in late 2006, Business HQ in Boston
• Over 300 employees globally
• Fortune 500 customer base
Continuous Quality must be
in the cloud
5
Network
conditions
IPV6
Real end user environment
All env. Scenarios
Unattended Automation
Simple to manage
Reliable
24/7
Secure
Continuous Quality Lab
in the Cloud
24/
7
Intro - CQ Lab – Strengths and Differentiators
Enterprise Grade
• Stable
• Consistent
• Secure
• Device SLA
Real end user conditions
• Real devices
• Real networks
• “Wind Tunnel” - Real world
device and app conditions
Open and Integrated
• MobileCloud API
• Selenium/Appium
• Visual Studio
• Eclipse
• Jenkins
Global and Collaborative
• 14 global data centers
• Share devices with on and
offshore teams
Hybrid
• Devices in the cloud or on prem
Elastic
• 1000s of devices on demand when needed
Perfecto Continuous
Quality Lab
Continuous
Integration
6
Perfecto Built In Automation – IDE, Widgets
and App List
7
Automation
Widgets
IDE Canvas and
Script
App List
Perfecto Automation – Functions and
Vitals
8
Automation
Functions
Device Vitals
Interface
9
• 1 Top Bar
• 2 Canvas
• 3 Devices
• 4 Commands
Top Bar
10
Item Description
File Create new, open existing, save and print scripts
Variables Modify and create script variables
Cut/Copy/Paste Move script lines using the IDE clipboard
Loop Create a loop
Group Create a logical group with a number of script lines, very useful with long scripts
Condition Add a condition statement
Edit Edit a selected script line element
Exclude Comment out selected lines from the execution
Record Record device activity into the script, within the interactive pane, into the script
Run Run the script
Watch View a live video of the current execution
More
Modify script properties, including automatic allocation of devices (see the OPEN device functions for more details)
Devices Open interactive to select a device
Canvas
11
Edit View
Running View
Devices
12
Selecting Devices:
Devices can be selected in
two ways:
1. From the DEVICE icon in
the Top Bar
2. From the Interactive
compressed menu on the
right
1
2
Common Commands
Understanding a Basic
Script/Flow
14
Script Variables
15
Script Variables are
‘containers’ for storing
information needed in the
script
Example: Writing a script on a Cloud Device Step-By-
Step
16
• Can select Device
according to criteria
or hardware
• Device may be
busy or unavailable
• Easy to switch
How to do it
-Select Device commands finds device according to criteria
-Accepts multiple criteria & regex
-Value provided to open device command that makes device available for script
-Close device at end of script
Selecting Devices for your
Script
17
Depending upon
what point you are
at, there are two
methods for
selecting a device.
Method 1:
During Scripting
Method 2:
In Production
The commands in our script
18
• Home
• Navigates device to idle screen
• Unlocks device
• Recommended to always use before actual script begins
The commands in our script
19
• Browser Go to
• Opens a URL
• Browser parameter options
• OS – Chrome/Safari/Explorer (Recommended)
• Default – according to what is set on the device
• Perfecto – legacy browser (depends on version of Perfecto
The commands in our script
(continued)
20
• Text checkpoint
• Validates text appears
on screen
• Uses OCR to find text
• Timeout defines how
long to wait for text to
appear
Validations and Validation
Parameters
21
Sync and Check areValidations Timeout is aValidation Parameter
SYNC and CHECK are the same command. SYNC has
a default timeout of 60 seconds and CHECK does not.
TIMEOUT is the
duration in which
the system will
search
continually for
the 'needle'.
How to work with
commands
22
• Question mark links to function reference
• Each command has full documentation of all
parameters and usage
• Advanced parameters
• Click checkbox
• Use only when needed
• Allows customizations
Saving your Script
23
• Repository folders
• Public
• Group
• Private
• Editing scripts written by another user
• It is not possible to edit a script written by another
user, even if it is in a shared repository folder.
• It is possible to open the script and save it under another
name, this will make you the owner of the script And allow
editing.
• Running a script written by another user is possible.
Running the script
24
• Scripts can be run from Perfecto Application/IDE
• Each run generates report
• Reports can be shared and downloaded
• Reports contain line by line breakdown of execution
• Some commands (e.g. checkpoint) automatically
generate screenshots in report
• Screenshots and Video
Perfecto IDE Basic Automation
Script
25
Let’s review a basic Perfecto Automation
Script using the Perfecto Cloud.
Q & A
Upcoming Perfecto Tech
Talk Webinars
27
• Appium vs. Perfecto and Appium together
• Wed. Feb 22nd 2017 2:00 PM IST and Thurs. Feb 23rd 2017 2PM EST
• What's New with Perfecto (New Functionality)
• Wed. March 8th 2017 2:00 PM IST and Thurs. March 9th 2017 2PM
EST
• Object Spy/Visual Analysis/XML xPath
• Wed. March 22nd 2017 2:00 PM IST and Thurs. March 23rd 2017 2PM
EST
Thank You
David Broerman
Partner Enablement Manager
Email:
davidb@perfectomobile.com

More Related Content

What's hot

Video Testing Best Practices: How to Guarantee High-Quality Video for your Cu...
Video Testing Best Practices: How to Guarantee High-Quality Video for your Cu...Video Testing Best Practices: How to Guarantee High-Quality Video for your Cu...
Video Testing Best Practices: How to Guarantee High-Quality Video for your Cu...Perfecto by Perforce
 
How To Sell Into Insurance with Perfecto
How To Sell Into Insurance with PerfectoHow To Sell Into Insurance with Perfecto
How To Sell Into Insurance with PerfectoLizzy Guido (she/her)
 
Webinar: Appium & Perfecto: A Perfect Match
Webinar: Appium & Perfecto: A Perfect MatchWebinar: Appium & Perfecto: A Perfect Match
Webinar: Appium & Perfecto: A Perfect MatchLizzy Guido (she/her)
 
How Digital Changed the Game... and how to cross platform test for it
How Digital Changed the Game... and how to cross platform test for itHow Digital Changed the Game... and how to cross platform test for it
How Digital Changed the Game... and how to cross platform test for itLizzy Guido (she/her)
 
Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020Alaina Carter
 
Drive Faster Quality Insights through Customized Test Automation - Part 2
Drive Faster Quality Insights through Customized Test Automation - Part 2Drive Faster Quality Insights through Customized Test Automation - Part 2
Drive Faster Quality Insights through Customized Test Automation - Part 2Perfecto by Perforce
 
Automate More with Selenium for your RWD
Automate More with Selenium for your RWDAutomate More with Selenium for your RWD
Automate More with Selenium for your RWDPerfecto by Perforce
 
TechTalk: Advanced Practices for Visual Test Automation
TechTalk: Advanced Practices for Visual Test AutomationTechTalk: Advanced Practices for Visual Test Automation
TechTalk: Advanced Practices for Visual Test AutomationLizzy Guido (she/her)
 
Testing NodeJS, REST APIs and MongoDB with UFT
Testing NodeJS, REST APIs and MongoDB with UFTTesting NodeJS, REST APIs and MongoDB with UFT
Testing NodeJS, REST APIs and MongoDB with UFTOri Bendet
 
Building Resilient Automated UI Tests for Cloud Applications using Scripless ...
Building Resilient Automated UI Tests for Cloud Applications using Scripless ...Building Resilient Automated UI Tests for Cloud Applications using Scripless ...
Building Resilient Automated UI Tests for Cloud Applications using Scripless ...Adam Sandman
 
Mobile performance metrics and performance monitoring meetup 2017 05 10
Mobile performance metrics and performance monitoring meetup 2017 05 10Mobile performance metrics and performance monitoring meetup 2017 05 10
Mobile performance metrics and performance monitoring meetup 2017 05 10Bitbar
 
Mobile test automation perfecto star east
Mobile test automation perfecto star eastMobile test automation perfecto star east
Mobile test automation perfecto star eastPerfecto Mobile
 
Top 5 Automation Challenges Webinar
Top 5 Automation Challenges WebinarTop 5 Automation Challenges Webinar
Top 5 Automation Challenges WebinarPerfecto by Perforce
 
Tales from the Dark Side: Ori Bendet Selenium Conference India 2016
Tales from the Dark Side: Ori Bendet Selenium Conference India 2016Tales from the Dark Side: Ori Bendet Selenium Conference India 2016
Tales from the Dark Side: Ori Bendet Selenium Conference India 2016Ori Bendet
 
Appium Presentation
Appium Presentation Appium Presentation
Appium Presentation OmarUsman6
 
Keeping Your Continuous Test Automation Continuously Valuable
Keeping Your Continuous Test Automation Continuously ValuableKeeping Your Continuous Test Automation Continuously Valuable
Keeping Your Continuous Test Automation Continuously ValuablePerfecto by Perforce
 
Kloia Quality Assurance
Kloia Quality AssuranceKloia Quality Assurance
Kloia Quality Assurancekloia
 
Start Your Automation Journey With Rapise
Start Your Automation Journey With Rapise Start Your Automation Journey With Rapise
Start Your Automation Journey With Rapise Inflectra
 
Overcoming Test Automation Obstacles
Overcoming Test Automation ObstaclesOvercoming Test Automation Obstacles
Overcoming Test Automation ObstaclesPerfecto by Perforce
 

What's hot (20)

Video Testing Best Practices: How to Guarantee High-Quality Video for your Cu...
Video Testing Best Practices: How to Guarantee High-Quality Video for your Cu...Video Testing Best Practices: How to Guarantee High-Quality Video for your Cu...
Video Testing Best Practices: How to Guarantee High-Quality Video for your Cu...
 
How To Sell Into Insurance with Perfecto
How To Sell Into Insurance with PerfectoHow To Sell Into Insurance with Perfecto
How To Sell Into Insurance with Perfecto
 
Appium vs. Appium with Perfecto
Appium vs. Appium with PerfectoAppium vs. Appium with Perfecto
Appium vs. Appium with Perfecto
 
Webinar: Appium & Perfecto: A Perfect Match
Webinar: Appium & Perfecto: A Perfect MatchWebinar: Appium & Perfecto: A Perfect Match
Webinar: Appium & Perfecto: A Perfect Match
 
How Digital Changed the Game... and how to cross platform test for it
How Digital Changed the Game... and how to cross platform test for itHow Digital Changed the Game... and how to cross platform test for it
How Digital Changed the Game... and how to cross platform test for it
 
Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020Top 10 Automation Testing Tools in 2020
Top 10 Automation Testing Tools in 2020
 
Drive Faster Quality Insights through Customized Test Automation - Part 2
Drive Faster Quality Insights through Customized Test Automation - Part 2Drive Faster Quality Insights through Customized Test Automation - Part 2
Drive Faster Quality Insights through Customized Test Automation - Part 2
 
Automate More with Selenium for your RWD
Automate More with Selenium for your RWDAutomate More with Selenium for your RWD
Automate More with Selenium for your RWD
 
TechTalk: Advanced Practices for Visual Test Automation
TechTalk: Advanced Practices for Visual Test AutomationTechTalk: Advanced Practices for Visual Test Automation
TechTalk: Advanced Practices for Visual Test Automation
 
Testing NodeJS, REST APIs and MongoDB with UFT
Testing NodeJS, REST APIs and MongoDB with UFTTesting NodeJS, REST APIs and MongoDB with UFT
Testing NodeJS, REST APIs and MongoDB with UFT
 
Building Resilient Automated UI Tests for Cloud Applications using Scripless ...
Building Resilient Automated UI Tests for Cloud Applications using Scripless ...Building Resilient Automated UI Tests for Cloud Applications using Scripless ...
Building Resilient Automated UI Tests for Cloud Applications using Scripless ...
 
Mobile performance metrics and performance monitoring meetup 2017 05 10
Mobile performance metrics and performance monitoring meetup 2017 05 10Mobile performance metrics and performance monitoring meetup 2017 05 10
Mobile performance metrics and performance monitoring meetup 2017 05 10
 
Mobile test automation perfecto star east
Mobile test automation perfecto star eastMobile test automation perfecto star east
Mobile test automation perfecto star east
 
Top 5 Automation Challenges Webinar
Top 5 Automation Challenges WebinarTop 5 Automation Challenges Webinar
Top 5 Automation Challenges Webinar
 
Tales from the Dark Side: Ori Bendet Selenium Conference India 2016
Tales from the Dark Side: Ori Bendet Selenium Conference India 2016Tales from the Dark Side: Ori Bendet Selenium Conference India 2016
Tales from the Dark Side: Ori Bendet Selenium Conference India 2016
 
Appium Presentation
Appium Presentation Appium Presentation
Appium Presentation
 
Keeping Your Continuous Test Automation Continuously Valuable
Keeping Your Continuous Test Automation Continuously ValuableKeeping Your Continuous Test Automation Continuously Valuable
Keeping Your Continuous Test Automation Continuously Valuable
 
Kloia Quality Assurance
Kloia Quality AssuranceKloia Quality Assurance
Kloia Quality Assurance
 
Start Your Automation Journey With Rapise
Start Your Automation Journey With Rapise Start Your Automation Journey With Rapise
Start Your Automation Journey With Rapise
 
Overcoming Test Automation Obstacles
Overcoming Test Automation ObstaclesOvercoming Test Automation Obstacles
Overcoming Test Automation Obstacles
 

Viewers also liked

Everything You Need To Know about Appium and Selenium
Everything You Need To Know about Appium and SeleniumEverything You Need To Know about Appium and Selenium
Everything You Need To Know about Appium and SeleniumLizzy Guido (she/her)
 
Qtp 8.0 basic
Qtp 8.0 basicQtp 8.0 basic
Qtp 8.0 basicmedsherb
 
QTP Automation Testing Tutorial 2
QTP Automation Testing Tutorial 2QTP Automation Testing Tutorial 2
QTP Automation Testing Tutorial 2Akash Tyagi
 
Ten reasons why now is the perfect time to get serious about the mobile web
Ten reasons why now is the perfect time to get serious about the mobile webTen reasons why now is the perfect time to get serious about the mobile web
Ten reasons why now is the perfect time to get serious about the mobile webTijs Vrolix
 
How to Test on the Right Mobile Platforms
How to Test on the Right Mobile PlatformsHow to Test on the Right Mobile Platforms
How to Test on the Right Mobile PlatformsPerfecto by Perforce
 
Achieving a Winning Digital User Experience with Real World Testing
Achieving a Winning Digital User Experience with Real World TestingAchieving a Winning Digital User Experience with Real World Testing
Achieving a Winning Digital User Experience with Real World TestingPerfecto by Perforce
 
TechTalk: Taking the Mystery Out of Object ID Automation
TechTalk: Taking the Mystery Out of Object ID AutomationTechTalk: Taking the Mystery Out of Object ID Automation
TechTalk: Taking the Mystery Out of Object ID AutomationLizzy Guido (she/her)
 
Hp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT MobileHp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT MobilePerfecto Mobile
 
Test Automation Tool comparison – HP UFT/QTP vs. Selenium
Test Automation Tool comparison –  HP UFT/QTP vs. SeleniumTest Automation Tool comparison –  HP UFT/QTP vs. Selenium
Test Automation Tool comparison – HP UFT/QTP vs. SeleniumAspire Systems
 
10 reasons why now is the perfect time to get started with the mobile web
10 reasons why now is the perfect time to get started with the mobile web10 reasons why now is the perfect time to get started with the mobile web
10 reasons why now is the perfect time to get started with the mobile webTijs Vrolix
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing ToolZeba Tahseen
 
iOS9 Launch - Mobile Dev & Test Implications
iOS9 Launch - Mobile Dev & Test ImplicationsiOS9 Launch - Mobile Dev & Test Implications
iOS9 Launch - Mobile Dev & Test ImplicationsPerfecto Mobile
 

Viewers also liked (20)

Automation intro
Automation introAutomation intro
Automation intro
 
What's New? - February 2017
What's New? - February 2017What's New? - February 2017
What's New? - February 2017
 
Everything You Need To Know about Appium and Selenium
Everything You Need To Know about Appium and SeleniumEverything You Need To Know about Appium and Selenium
Everything You Need To Know about Appium and Selenium
 
Qtp 8.0 basic
Qtp 8.0 basicQtp 8.0 basic
Qtp 8.0 basic
 
Qtp 80 Basics3561
Qtp 80 Basics3561Qtp 80 Basics3561
Qtp 80 Basics3561
 
TechTalk: Report Bugs Like a Boss
TechTalk: Report Bugs Like a BossTechTalk: Report Bugs Like a Boss
TechTalk: Report Bugs Like a Boss
 
QTP Automation Testing Tutorial 2
QTP Automation Testing Tutorial 2QTP Automation Testing Tutorial 2
QTP Automation Testing Tutorial 2
 
Selenium Testing
Selenium Testing Selenium Testing
Selenium Testing
 
Ten reasons why now is the perfect time to get serious about the mobile web
Ten reasons why now is the perfect time to get serious about the mobile webTen reasons why now is the perfect time to get serious about the mobile web
Ten reasons why now is the perfect time to get serious about the mobile web
 
How to Test on the Right Mobile Platforms
How to Test on the Right Mobile PlatformsHow to Test on the Right Mobile Platforms
How to Test on the Right Mobile Platforms
 
Achieving a Winning Digital User Experience with Real World Testing
Achieving a Winning Digital User Experience with Real World TestingAchieving a Winning Digital User Experience with Real World Testing
Achieving a Winning Digital User Experience with Real World Testing
 
Qtp day 1
Qtp day 1Qtp day 1
Qtp day 1
 
TechTalk: Taking the Mystery Out of Object ID Automation
TechTalk: Taking the Mystery Out of Object ID AutomationTechTalk: Taking the Mystery Out of Object ID Automation
TechTalk: Taking the Mystery Out of Object ID Automation
 
Hp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT MobileHp perfecto webinar - UFT Mobile
Hp perfecto webinar - UFT Mobile
 
Qtp object repository
Qtp object repositoryQtp object repository
Qtp object repository
 
Test Automation Tool comparison – HP UFT/QTP vs. Selenium
Test Automation Tool comparison –  HP UFT/QTP vs. SeleniumTest Automation Tool comparison –  HP UFT/QTP vs. Selenium
Test Automation Tool comparison – HP UFT/QTP vs. Selenium
 
10 reasons why now is the perfect time to get started with the mobile web
10 reasons why now is the perfect time to get started with the mobile web10 reasons why now is the perfect time to get started with the mobile web
10 reasons why now is the perfect time to get started with the mobile web
 
Selenium- A Software Testing Tool
Selenium- A Software Testing ToolSelenium- A Software Testing Tool
Selenium- A Software Testing Tool
 
Testing Apps for Wearables
Testing Apps for WearablesTesting Apps for Wearables
Testing Apps for Wearables
 
iOS9 Launch - Mobile Dev & Test Implications
iOS9 Launch - Mobile Dev & Test ImplicationsiOS9 Launch - Mobile Dev & Test Implications
iOS9 Launch - Mobile Dev & Test Implications
 

Similar to Intro to Automation Using Perfecto's CQ Lab

Web automation in BDD
Web automation in BDDWeb automation in BDD
Web automation in BDDSandy Yu
 
Advanced Coded UI Testing
Advanced Coded UI TestingAdvanced Coded UI Testing
Advanced Coded UI TestingShai Raiten
 
QA Automation Solution
QA Automation SolutionQA Automation Solution
QA Automation SolutionDataArt
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectDevOps.com
 
PAC 2019 virtual Bruno Audoux
PAC 2019 virtual Bruno Audoux PAC 2019 virtual Bruno Audoux
PAC 2019 virtual Bruno Audoux Neotys
 
Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter Hima Bindu Kosuru
 
Continuous Integration Testing for SAP
Continuous Integration Testing for SAPContinuous Integration Testing for SAP
Continuous Integration Testing for SAPWorksoft
 
Integration Testing as Validation and Monitoring
 Integration Testing as Validation and Monitoring Integration Testing as Validation and Monitoring
Integration Testing as Validation and MonitoringMelissa Benua
 
Software Testing - Online Guide
Software Testing - Online GuideSoftware Testing - Online Guide
Software Testing - Online Guidebigspire
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools OverviewMurageppa-QA
 
Selenium Israel Meetup
Selenium Israel MeetupSelenium Israel Meetup
Selenium Israel MeetupJustin Ison
 
Cloud-based performance testing
Cloud-based performance testingCloud-based performance testing
Cloud-based performance testingabhinavm
 
Test Strategy For Future Cloud Architecture
Test Strategy For Future Cloud ArchitectureTest Strategy For Future Cloud Architecture
Test Strategy For Future Cloud ArchitectureMaheshShri1
 
Practical Software Testing Tools
Practical Software Testing ToolsPractical Software Testing Tools
Practical Software Testing ToolsDr Ganesh Iyer
 
Adopting agile in an embedded platform Suryakiran Kasturi & Akhil Kumar
Adopting agile in an embedded platform  Suryakiran Kasturi & Akhil KumarAdopting agile in an embedded platform  Suryakiran Kasturi & Akhil Kumar
Adopting agile in an embedded platform Suryakiran Kasturi & Akhil KumarXP Conference India
 
bqurious Test Automation & Management Suite
bqurious Test Automation & Management Suitebqurious Test Automation & Management Suite
bqurious Test Automation & Management SuiteAbhay Goel
 
Copy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxCopy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxssuser20fcbe
 
Accelerating tests with Cypress for a leaderboard platform
Accelerating tests with Cypress for a leaderboard platformAccelerating tests with Cypress for a leaderboard platform
Accelerating tests with Cypress for a leaderboard platformKnoldus Inc.
 
automation framework
automation frameworkautomation framework
automation frameworkANSHU GOYAL
 

Similar to Intro to Automation Using Perfecto's CQ Lab (20)

Web automation in BDD
Web automation in BDDWeb automation in BDD
Web automation in BDD
 
Advanced Coded UI Testing
Advanced Coded UI TestingAdvanced Coded UI Testing
Advanced Coded UI Testing
 
QA Automation Solution
QA Automation SolutionQA Automation Solution
QA Automation Solution
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-Architect
 
PAC 2019 virtual Bruno Audoux
PAC 2019 virtual Bruno Audoux PAC 2019 virtual Bruno Audoux
PAC 2019 virtual Bruno Audoux
 
Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter Software Testing includes Performance testing with Load Runner and the JMeter
Software Testing includes Performance testing with Load Runner and the JMeter
 
Continuous Integration Testing for SAP
Continuous Integration Testing for SAPContinuous Integration Testing for SAP
Continuous Integration Testing for SAP
 
Integration Testing as Validation and Monitoring
 Integration Testing as Validation and Monitoring Integration Testing as Validation and Monitoring
Integration Testing as Validation and Monitoring
 
Software Testing - Online Guide
Software Testing - Online GuideSoftware Testing - Online Guide
Software Testing - Online Guide
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
 
Selenium Israel Meetup
Selenium Israel MeetupSelenium Israel Meetup
Selenium Israel Meetup
 
Cloud-based performance testing
Cloud-based performance testingCloud-based performance testing
Cloud-based performance testing
 
Test Strategy For Future Cloud Architecture
Test Strategy For Future Cloud ArchitectureTest Strategy For Future Cloud Architecture
Test Strategy For Future Cloud Architecture
 
Selenium
SeleniumSelenium
Selenium
 
Practical Software Testing Tools
Practical Software Testing ToolsPractical Software Testing Tools
Practical Software Testing Tools
 
Adopting agile in an embedded platform Suryakiran Kasturi & Akhil Kumar
Adopting agile in an embedded platform  Suryakiran Kasturi & Akhil KumarAdopting agile in an embedded platform  Suryakiran Kasturi & Akhil Kumar
Adopting agile in an embedded platform Suryakiran Kasturi & Akhil Kumar
 
bqurious Test Automation & Management Suite
bqurious Test Automation & Management Suitebqurious Test Automation & Management Suite
bqurious Test Automation & Management Suite
 
Copy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxCopy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptx
 
Accelerating tests with Cypress for a leaderboard platform
Accelerating tests with Cypress for a leaderboard platformAccelerating tests with Cypress for a leaderboard platform
Accelerating tests with Cypress for a leaderboard platform
 
automation framework
automation frameworkautomation framework
automation framework
 

More from Lizzy Guido (she/her)

What's New with Perfecto? - June 2017
What's New with Perfecto? - June 2017What's New with Perfecto? - June 2017
What's New with Perfecto? - June 2017Lizzy Guido (she/her)
 
What's New with Perfecto? - May 2017
What's New with Perfecto? - May 2017What's New with Perfecto? - May 2017
What's New with Perfecto? - May 2017Lizzy Guido (she/her)
 
What's New with Perfecto? - April 2017
What's New with Perfecto? - April 2017What's New with Perfecto? - April 2017
What's New with Perfecto? - April 2017Lizzy Guido (she/her)
 
TechTalk: Wind Tunnel, Personas, and Testing Real UX
TechTalk: Wind Tunnel, Personas, and Testing Real UXTechTalk: Wind Tunnel, Personas, and Testing Real UX
TechTalk: Wind Tunnel, Personas, and Testing Real UXLizzy Guido (she/her)
 
TechTalk: Everything You Need to Know about Appium & Selenium
TechTalk: Everything You Need to Know about Appium & SeleniumTechTalk: Everything You Need to Know about Appium & Selenium
TechTalk: Everything You Need to Know about Appium & SeleniumLizzy Guido (she/her)
 
Automating things you didn't know you could automate
Automating things you didn't know you could automateAutomating things you didn't know you could automate
Automating things you didn't know you could automateLizzy Guido (she/her)
 
Wind Tunnel Introduction and Demo Slides
Wind Tunnel Introduction and Demo SlidesWind Tunnel Introduction and Demo Slides
Wind Tunnel Introduction and Demo SlidesLizzy Guido (she/her)
 

More from Lizzy Guido (she/her) (12)

What's New with Perfecto? - June 2017
What's New with Perfecto? - June 2017What's New with Perfecto? - June 2017
What's New with Perfecto? - June 2017
 
What's New with Perfecto? - May 2017
What's New with Perfecto? - May 2017What's New with Perfecto? - May 2017
What's New with Perfecto? - May 2017
 
What's New with Perfecto? - April 2017
What's New with Perfecto? - April 2017What's New with Perfecto? - April 2017
What's New with Perfecto? - April 2017
 
TechTalk: Wind Tunnel, Personas, and Testing Real UX
TechTalk: Wind Tunnel, Personas, and Testing Real UXTechTalk: Wind Tunnel, Personas, and Testing Real UX
TechTalk: Wind Tunnel, Personas, and Testing Real UX
 
What's New? - March 2017
What's New? - March 2017What's New? - March 2017
What's New? - March 2017
 
TechTalk: What's New with Perfecto?
TechTalk: What's New with Perfecto?TechTalk: What's New with Perfecto?
TechTalk: What's New with Perfecto?
 
Appium vs Appium with Perfecto
Appium vs Appium with PerfectoAppium vs Appium with Perfecto
Appium vs Appium with Perfecto
 
Persona Testing - Deep Dive
Persona Testing - Deep DivePersona Testing - Deep Dive
Persona Testing - Deep Dive
 
TechTalk: Everything You Need to Know about Appium & Selenium
TechTalk: Everything You Need to Know about Appium & SeleniumTechTalk: Everything You Need to Know about Appium & Selenium
TechTalk: Everything You Need to Know about Appium & Selenium
 
Webinar: How to Size a Lab
Webinar: How to Size a LabWebinar: How to Size a Lab
Webinar: How to Size a Lab
 
Automating things you didn't know you could automate
Automating things you didn't know you could automateAutomating things you didn't know you could automate
Automating things you didn't know you could automate
 
Wind Tunnel Introduction and Demo Slides
Wind Tunnel Introduction and Demo SlidesWind Tunnel Introduction and Demo Slides
Wind Tunnel Introduction and Demo Slides
 

Recently uploaded

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformWSO2
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingWSO2
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governanceWSO2
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...caitlingebhard1
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data SciencePaolo Missier
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxMarkSteadman7
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 

Recently uploaded (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 

Intro to Automation Using Perfecto's CQ Lab

  • 1. Intro to Automation using Perfecto CQ Lab Partners David Broerman Partner Enablement Mgr. Email: davidb@perfectomobile.com
  • 2. Agenda 2 • Overview of Perfecto • Walkthrough of the Perfecto Automation IDE • Understanding scripting basics • Validations • Script building, execution and results
  • 3. Intro to Perfecto Perfecto Offers: A Cloud Based Continuous Quality Lab enabling testing and monitoring of all digital platforms on real devices and real end user conditions, for enterprises adopting agile delivery processes.3
  • 4. Intro to Perfecto Dominant leader & visionary Strong Ecosystem Perfecto @ a glance Working with Enterprises and Partners to deliver exceptional digital experiences. “Perfecto Mobile marks shift in mobile apps QA with Continuous Quality Lab” 4 Setting the bar for market success • Founded in late 2006, Business HQ in Boston • Over 300 employees globally • Fortune 500 customer base
  • 5. Continuous Quality must be in the cloud 5 Network conditions IPV6 Real end user environment All env. Scenarios Unattended Automation Simple to manage Reliable 24/7 Secure Continuous Quality Lab in the Cloud 24/ 7
  • 6. Intro - CQ Lab – Strengths and Differentiators Enterprise Grade • Stable • Consistent • Secure • Device SLA Real end user conditions • Real devices • Real networks • “Wind Tunnel” - Real world device and app conditions Open and Integrated • MobileCloud API • Selenium/Appium • Visual Studio • Eclipse • Jenkins Global and Collaborative • 14 global data centers • Share devices with on and offshore teams Hybrid • Devices in the cloud or on prem Elastic • 1000s of devices on demand when needed Perfecto Continuous Quality Lab Continuous Integration 6
  • 7. Perfecto Built In Automation – IDE, Widgets and App List 7 Automation Widgets IDE Canvas and Script App List
  • 8. Perfecto Automation – Functions and Vitals 8 Automation Functions Device Vitals
  • 9. Interface 9 • 1 Top Bar • 2 Canvas • 3 Devices • 4 Commands
  • 10. Top Bar 10 Item Description File Create new, open existing, save and print scripts Variables Modify and create script variables Cut/Copy/Paste Move script lines using the IDE clipboard Loop Create a loop Group Create a logical group with a number of script lines, very useful with long scripts Condition Add a condition statement Edit Edit a selected script line element Exclude Comment out selected lines from the execution Record Record device activity into the script, within the interactive pane, into the script Run Run the script Watch View a live video of the current execution More Modify script properties, including automatic allocation of devices (see the OPEN device functions for more details) Devices Open interactive to select a device
  • 12. Devices 12 Selecting Devices: Devices can be selected in two ways: 1. From the DEVICE icon in the Top Bar 2. From the Interactive compressed menu on the right 1 2
  • 15. Script Variables 15 Script Variables are ‘containers’ for storing information needed in the script
  • 16. Example: Writing a script on a Cloud Device Step-By- Step 16 • Can select Device according to criteria or hardware • Device may be busy or unavailable • Easy to switch How to do it -Select Device commands finds device according to criteria -Accepts multiple criteria & regex -Value provided to open device command that makes device available for script -Close device at end of script
  • 17. Selecting Devices for your Script 17 Depending upon what point you are at, there are two methods for selecting a device. Method 1: During Scripting Method 2: In Production
  • 18. The commands in our script 18 • Home • Navigates device to idle screen • Unlocks device • Recommended to always use before actual script begins
  • 19. The commands in our script 19 • Browser Go to • Opens a URL • Browser parameter options • OS – Chrome/Safari/Explorer (Recommended) • Default – according to what is set on the device • Perfecto – legacy browser (depends on version of Perfecto
  • 20. The commands in our script (continued) 20 • Text checkpoint • Validates text appears on screen • Uses OCR to find text • Timeout defines how long to wait for text to appear
  • 21. Validations and Validation Parameters 21 Sync and Check areValidations Timeout is aValidation Parameter SYNC and CHECK are the same command. SYNC has a default timeout of 60 seconds and CHECK does not. TIMEOUT is the duration in which the system will search continually for the 'needle'.
  • 22. How to work with commands 22 • Question mark links to function reference • Each command has full documentation of all parameters and usage • Advanced parameters • Click checkbox • Use only when needed • Allows customizations
  • 23. Saving your Script 23 • Repository folders • Public • Group • Private • Editing scripts written by another user • It is not possible to edit a script written by another user, even if it is in a shared repository folder. • It is possible to open the script and save it under another name, this will make you the owner of the script And allow editing. • Running a script written by another user is possible.
  • 24. Running the script 24 • Scripts can be run from Perfecto Application/IDE • Each run generates report • Reports can be shared and downloaded • Reports contain line by line breakdown of execution • Some commands (e.g. checkpoint) automatically generate screenshots in report • Screenshots and Video
  • 25. Perfecto IDE Basic Automation Script 25 Let’s review a basic Perfecto Automation Script using the Perfecto Cloud.
  • 26. Q & A
  • 27. Upcoming Perfecto Tech Talk Webinars 27 • Appium vs. Perfecto and Appium together • Wed. Feb 22nd 2017 2:00 PM IST and Thurs. Feb 23rd 2017 2PM EST • What's New with Perfecto (New Functionality) • Wed. March 8th 2017 2:00 PM IST and Thurs. March 9th 2017 2PM EST • Object Spy/Visual Analysis/XML xPath • Wed. March 22nd 2017 2:00 PM IST and Thurs. March 23rd 2017 2PM EST
  • 28. Thank You David Broerman Partner Enablement Manager Email: davidb@perfectomobile.com

Editor's Notes

  1. Welcome the audience, the title of the webinar and introduce yourself Introduce myself Wed: TCS, Wipro, IBM & Accenture Thurs: Cognizant, Infosys, InfoStretch
  2. Before we get started with the Agenda, just a quick housekeeping item…at the end we should have a few mins for Q&A. There is a panel in the webinar to submit questions during the webinar, so if you think of something, please ask. If we are unable to get to finish questions for any reason, then we will send out the info to all attendees. Here’s the agenda:
  3. What if you want to build out a lab yourself (or your company wants to build one - what might that look like? As practices accelerate and expand, reliability increasingly requires a cloud based lab. It’s not easy to create!! Continuous Quality must be in the cloud! Clicks 1 - 7: here are some things to think about when deploying a local lab. The process begins with acquiring servers, then deploying software and adding devices. As different devices are added unique hardware is also required. Soon, real time and dollars are being spent on building out a local lab. Clicks 8 – 15: As the need for lab scalability increases, there is the need for additional services such as repository back ups, addressing security requirements (firewall policy, SSO integration, IT infrastructure support). As these requirements continue to play out, organizations are compelled to allocate more FTEs, invest more budget and increasingly put these requests in the IT queue resulting in project slow downs. Clicks 16 – 17: Real end user conditions are needed for testing. Simple functional testing is not enough! Special infrastructure is a required to enable the controlling of these varied user conditions. For some organizations, the answer will be no to building out the right environment to manage user conditions. For those who say yes, it means more headcount, budget and frequently extended delivery turn around times. For those who do not support these requirements, quality risk rises. Click 18: A subscription based cloud based lab offers a clear alternatives to the complexity of managing local labs, and that’s where Perfecto can help!
  4. Mention our differentiators
  5. Example of what the Automation tab look like in the Perfecto IDE. Mention each area briefly… We will be looking at this in more detail as we go today.
  6. Mention each area briefly…
  7. Before reviewing how to script, let’s review the Automation IDE Interface The Top Bar The Canvas The Devices The Commands
  8. The Canvas has 2 modes – Edit View Running View Edit View: The EDIT view must be enabled to write an automation script. Commands are included by selecting or dragging them from the automation side bar and onto the script canvas. The command parameter details can be modified by double clicking on the function that is already on the script canvas, or by clicking on the EDIT icon or button located in the top bar or bottom of the script canvas. When running a script, the canvas will automatically switch to running view, disabling the ability to edit the script. To continue editing the script, click on view once the script run is completed. Running View: To Run a Script, click on the RUN icon located in the TOP BAR. The script canvas will automatically switch to the running view mode, disabling editing and displaying relevant information.
  9. View a device while writing a script Simulate device actions while being automated Record directly onto the script for quick use - Actions on the device can be recorded using the record icon located in the top bar. Once the record is activated, touch commands/keys and type text are recorded as script lines in the script canvas. This is the quickest way to write a script. Activity is recorded as hard-coded touch coordinates. Although this is inaccurate, it is useful when device touch coordinates are required. For example when using the drag command. View devices while executing a script
  10. 4 Areas to focus on: Common Functions – this tab enables the user to quickly include commonly used functions within a script Full List Functions - this tab includes all of the available functions, organized in categories. An enriched Function Reference is available in the Knowledge Base. User functions - this tab includes functions written by the user (this will be further explained later in the training) Scripts Repository - this tab include the scripts storage area
  11. Six simple, logical steps in the forms of commands that will open a device, browse to a particular website, verify that it is on that website and then close the device. 1. Select Device – what devices do you want to run your test on? 2. Open device – if its on its Lock screen, this will open the device 3. Home - Sets the device to its Home Screen- if it is not on its HOME screen, this will put it there and now the device is now ready to take the next command 4. Browser Go To – this tells the device to open the browser and go to a specified website. 5. Text checkpoint - Verify that the device is on that website home page – this ensures the success of the test case 6. Close device – this ends the test case. Some of the steps in the script above require specific information (such as DUT, Website URL, etc). These are script variables and they reside in all scripts.
  12. A special mention about Script Variables. Variables are 'containers for storing information So Script Variables are ‘containers’ for storing information needed in the script Image 1 Every script needs at least a Device Under Test (DUT) variable or a defined list of variables (like website URL) The SCRIPT VARIABLES icon, located in the top bar, enables users to manage the script variables. Image 2 Defined variables can be used within function parameters Image 3 For Example, device variables can be defined and then used as the OPEN Device function Device ID parameter value. NOTES: 1. When using the EXECUTE SCRIPT function to include a sub-script within a script, the script parameters must be entered in the same order and with the correct types as defined in the original script. 2. Runtime variables are selected by the user before the script execution.  The defined value will be the default.   Unselect the checkbox to explicitly define the variable. 3. Under type, URL is only used for legacy systems. It is not needed in current versions of the CQLab
  13. Discuss steps
  14. During Scripting: When writing a script with an open device, the easiest way to run the script is on that open device. SELECT DEVICE is not needed. This is a quick and handy way to validate the script while it is being built. Simply specify the open device as the DUT (Device Under Test) in your Script Variables. In Production: Once your script is ready for production, SELECT DEVICE makes it more powerful, by using 'any' device that meets your specifications, in the event that a particular device is not available at the precise time that it is required. This is essential for unattended testing.
  15. We’ve selected our device and we’ve allocated it to our script. Let’s use the HOME command next. HOME ensures a successful run of the script by setting the device to its home screen – If it is not on its HOME screen, this will set it there Now the device is ready to take the next command, regardless of which device you use and which screen it was last left at, this will reset it to its ready starting point.
  16. Browser GO To is one of the easiest commands to use, telling it to open its device specific browser and proceed to a specified website. (if the website is a script variable, you will simply set the USAGE to VARIABLE in the parameters, and then select the name of that set variable, as shown in the Parameters image above. **First time only – Perfecto Mobile installs Chrome on the device – this is done for additional security (installed from scratch) First time use – pop up agreements have to be accepted: Do You Accept Google’s T&Cs: Pop-Ups: (Yes / Yes) Afterwards, it works Despite limitation, it’s still the recommended option
  17. What if proof is required that the script successfully made it to a specified website page? How do you prove this? A Checkpoint – a Text Checkpoint in this example – can be used. When the script run is complete, a text checkpoint will deliver a screen shot image of the actual value ‘seen’ on the screen at that moment in the script run. It verifies that the device is on that website page, ensuring the success of the test case.
  18. Validations use the same mechanism as a click command, but do not perform any actions. They are useful for making scripts pass/fail (example: did the login succeed?) Some useful validations are: -SYNC -CHECK A useful validation parameter is: -TIMEOUT SYNC and CHECK are the same command. SYNC has a default timeout of 60 seconds and CHECK does not. TIMEOUT is the duration in which the system will search continually for the 'needle'. TIMEOUT is a parameter within SYNC and CHECK ------------------ One additional note about validations…they don’t perform any actions….they are verifications of a scripts success or failure only. There are two different types: - Sync and Check – virtually the same with one difference. (Sync has a default timeout of 60 seconds) Timeout works by continually searching for the needle. If the needle is not found, the system searches for it again and again, until the time set by the timeout expires. (For example, a timeout of zero means one attempt only. Higher values will provide multiple attempts. Note that the analysis takes a few seconds as it requires taking a fresh screenshot and then analyzing it, so the retries are NOT every millisecond.
  19. The QUESTION MARK icon can be found within every command window. It links to the functions reference. Each image below contains the "Sample" script commands. Each of the image "?" links to full documentation of all parameters and usage for that specific command. Advanced Parameter [Show an example of a command, such as OPEN Device – without Advanced Parameters enabled and then with Advanced Parameters enabled to show the difference]
  20. The repository is the storage area for your file including scripts, data tables and media. In addition, the repository is broken down into three areas – the SHARED Repository – known as PUBLIC is accessible by all users in the cloud…anything in this folder type can be seen and accessed by all. the GROUP Repository – known as GROUP is a bit more restricted – files within this area are accessible only to users within that specified group the PRIVATE repository – beginning with MY – is accessible only by that owner. Files cannot be seen by anyone except for that user. In a shared MCM such as the public cloud, it is not possible to save into the public repository to preserve security. Customers on a shared MCM can use the group repository to securely share information within their organization. In dedicated MCM’s the public and group are basically identical, providing access to all the users of the organization. It is not possible to edit a script written by another user, even if it is in a shared repository folder. It is possible to open the script and save it under another name, this will make you the owner of the script And allow editing. Running a script written by another user is possible. [Show the repository storage area]
  21. Reports can be exported in many formats such as html, pdf, csv, xml. They each provide a Pass/Fail summary, device list that the test case was run on including a test case video on each device, an execution sequence as well as a breakdown of each step in the sequence, when it started, how long it took, the expected needle it was looking for, as well as the actual value found.