appium vs. appium with perfecto
TRANSCRIPT
![Page 1: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/1.jpg)
Appium vs Appium with PerfectoTech Talk and Demo for Partners
David Broerman
Partner Enablement Manager
Email: [email protected] Sanjines - Sr. SE
Email: [email protected]
![Page 2: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/2.jpg)
Agenda
• Intro to Perfecto• Automation Testing
• High Level Overview of Selenium/Appium & how Perfecto fits in
• Mobile Application Types• Understanding the CQ Lab - Architecture/Setup• Demo
• Selenium RemoteWebDriver/Appium • Basic prerequisites• Project Creation, Script Creation/Review and Execution Intellij• Execution Reports
• Q&A
![Page 3: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/3.jpg)
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.
05/03/2023 3
![Page 4: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/4.jpg)
Intro to Perfecto
Dominant leader & visionary
Strong Ecosystem
Perfecto @ a glance
Working with Enterprises and Partners to deliver exceptional digital experiences.
4
Setting the bar for market success
• Founded in late 2006, Business HQ in Boston • Over 300 employees globally• Fortune 500 customer base
05/03/2023
“Perfecto Mobile marks shift in mobile apps quality with Continuous Quality Lab”
![Page 5: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/5.jpg)
Cloud Based Quality Platform For The Digital Era
05/03/2023 5© 2017, Perfecto Mobile Ltd. All Rights Reserved.
Open & Integrated into Dev/Test/Ops
Any test tool
Any CI server
Any test framework
Any IDE
Any Location
Code/Debug Functional Test
Performance Test
Production Insight
One Lab for all Digital Platforms
Reporting & Analytics
Wind Tunnel Layer
Customer Support
Browsers Desktops Mobile Devices IoT
![Page 6: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/6.jpg)
Open and Integrated
6
Open & Integrated
Xcode
Selenium
05/03/2023
![Page 7: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/7.jpg)
Automation Testing, Mobile Application Types and Objects
![Page 8: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/8.jpg)
Automation Testing• Selenium RemoteWebDriver
• Open Source Automation Framework for automating browser testing• Perfecto Mobile extends Selenium to support mobile device browsers and apps• Multi-language and IDE support
• Appium• “Aims to automate any mobile app from any language and any test framework”• Open Source - Extends Selenium for native (also hybrid applications)• Supports iOS and Android• Multi-language and IDE support
• Perfecto• Testing on real devices in the cloud• Real End User Conditions• Perfecto Mobile proprietary functionalities (not available in Selenium/Appium)
• GPS Location, Device Vitals, Network Virtualization, Objects (visual)
![Page 9: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/9.jpg)
Mobile Application Types
Standard testing tool sets
Use Selenium RWD for web applications
Use Appium for native appsUse Selenium RWD or Appium for hybrid apps
![Page 10: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/10.jpg)
Perfecto Mobile – Enterprise GradeComplete
SDLC (Manual, Automation,
Perf, Monitoring)
Customer Support
(24x7), NOC, SLA’s
CQL, Continuously
up to date
Enterprise Security, SSO, Governance,
Private Clouds
Perfecto Mobile – Environmental Capabilities
Network Virtualization/
Profiles
Large scale labDaaS
Hybrid Cloud solution
Single user performance
Device and App Vitals
GPS Injection
Device logsGlobal device coverage, real
carriers
Perfecto Mobile - AutomationBoth visual & Native objects
Testing connects to a CQL – Always On
Rich Media reports
Parallel Execution
CI ReadyUnattended Test
Perfecto Mobile – Appium Test Framework Coverage
Appium Test Framework
Local Devices Only – Not a Test Lab
Native Objects Only, No Visual Analysis
In App Testing, No System Level – Breaks CI
Only Automation Solution (No Manual, No Perf/Monitoring)
Not enterprise grade Security (local testing)
Community DrivenLimited Support
No end-user environments
Very basic test reports
No support model
Customers manage device issues
![Page 11: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/11.jpg)
Website & Apps – Object Trees/Identifying Objects
• Web Objects• DOM• Same Tree (PM or Appium)
• Native App Objects• PM or Appium framework• Separate naming for Android
and iOS
• Hybrid Application• PM automation framework• Mix of Native and DOM
objects
DOM Perfecto Mobile
Appium
![Page 12: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/12.jpg)
Understanding the Basic Architecture/Setup
![Page 13: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/13.jpg)
13
Datacenter and Device Setup/Configuration
05/03/2023
![Page 14: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/14.jpg)
14
Global Data Centers Network
05/03/2023
![Page 15: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/15.jpg)
Architected for Digital Quality at High Velocity
05/03/2023 15© 2017, Perfecto Mobile Ltd. All Rights Reserved.
Maximize Digital TestCoverage
Maximize % of
Automation
1. Cloud-first architecture total reliability, unlimited scale, secure, global and available 24/7
2. Platform connectivity layer™ (PCL) architecture
• Making open source enterprise grade• Enables high test automation coverage
3. One Script, One Lab for all digital platforms
4. Embedded into your toolchain to streamline activities
5. WindTunnel™ Layer persona based user environment testing for true digital coverage
6. DigitalZoom™ Reporting provides cross platform visibility and fast drill down
Quality Across Dev-QA-Ops
Fast Feedback Loop
FOUR PILLARS OF SUCCESS
![Page 16: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/16.jpg)
Perfecto PCL™ - Architectural Workflow
05/03/2023 16© 2017, Perfecto Mobile Ltd. All Rights Reserved.
Standard Open Source
Platform Under Test
Standard Appium Server/ Selenium Grid
Standard OSS Test Code In Dev IDE’s
Platform Under Test
Standard OSS Test Code In Dev IDE’s
Standard OSS
Standard Appium Server/ Selenium Grid
Perfecto PCL™
BenefitsStandard
Open Source
With Perfecto
PCL™
Test across platforms
Same day support for any platform using any test framework
Enhanced test coverage• Full system level control• Handle interruptions: text msg, system msg • Test audio (e.g. voice commands)• Test image (e.g. check deposit)• Test environment conditions (Wind Tunnel™)
Visual validation of screen layout
Always On lab
![Page 17: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/17.jpg)
Pre-requisites (using IntelliJ)• 1) IntelliJ
working environment
• 2) MobileCloud for IntelliJ plugin (download provided as part of package by Perfecto)
Go to IntelliJ web site to download and install.Note: Verify Gradle build automation system is installed on your computer.
1
2
![Page 18: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/18.jpg)
• 3) Set up Perfecto Lab Connection
• 4) Start Creating Projects
3
4
Pre-requisites (using IntelliJ)
![Page 19: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/19.jpg)
19
Example Project/Script
• Create a new or modify existing Perfecto Lab Project in IntelliJ
• (we’re using IntelliJ today – can also build projects in other IDE’s/Tools like UFT, Visual Studio, Android Studio, Eclipse)
• Add sample code to your project (using whatever programming language) using the Perfecto plugin recorder or code editor
• Run the test• Review the results
© 2016, Perfecto Mobile Ltd. All Rights Reserved.
![Page 20: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/20.jpg)
Reporting/Results - Usage and Flow
Link
Execution
Capability Download PDF: PerfectoLabUtils.downloadReport(driver, "pdf", "C:\\test\\report");
Link to STR - String reportURL = (String)(driver.getCapabilities().getCapability(WindTunnelUtils.SINGLE_TEST_REPORT_URL_CAPABILITY
Reporting Tab
Capability – Get Grid URL & create testName
Reporting Tab
Grid View/Dashboard
Legacy Test Report
Single Test Report
12
3
4
5
![Page 21: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/21.jpg)
Demo
![Page 22: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/22.jpg)
Q&A
![Page 23: Appium vs. Appium with Perfecto](https://reader036.vdocument.in/reader036/viewer/2022070600/58d0e6ef1a28abba558b5373/html5/thumbnails/23.jpg)
Thank You
David BroermanPartner Enablement ManagerEmail: [email protected]
Nick SanjinesSr. SEEmail: [email protected]