Appium vs Appium with Perfecto

Preview:

Citation preview

Appium vs Appium with PerfectoTech Talk and Demo for Partners

David Broerman

Partner Enablement Manager

Email: davidb@perfectomobile.comNick Sanjines - Sr. SE

Email: NickS@perfectomobile.com

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

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/01/2023 3

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/01/2023

“Perfecto Mobile marks shift in mobile apps quality with Continuous Quality Lab”

Cloud Based Quality Platform For The Digital Era

05/01/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

Open and Integrated

6

Open & Integrated

Xcode

Selenium

05/01/2023

Automation Testing, Mobile Application Types and Objects

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)

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

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

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

Understanding the Basic Architecture/Setup

13

Datacenter and Device Setup/Configuration

05/01/2023

14

Global Data Centers Network

05/01/2023

Architected for Digital Quality at High Velocity

05/01/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

Perfecto PCL™ - Architectural Workflow

05/01/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

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

• 3) Set up Perfecto Lab Connection

• 4) Start Creating Projects

3

4

Pre-requisites (using IntelliJ)

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.

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

Demo

Q&A

Thank You

David BroermanPartner Enablement ManagerEmail: davidb@perfectomobile.com

Nick SanjinesSr. SEEmail: NickS@perfectomobile.com