SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Downloaden Sie, um offline zu lesen
Giovanni Rago | TestObject
How to Test your Web App Automatically
and Keep Your Testers Sane
Your Speaker
• Lead Test Automation Engineer @ TestObject
• Working with Appium since day one
• Responsible for
– kickstarting customers' test automation infrastructure;
– providing support on all related matters;
– know-how transfer through both on-site and remote
workshops;
– development tasks on testing API, product and plugins;
– …
About TestObject
• Mobile-oriented cloud testing platform
• The user can run manual and automated
tests on hundreds of real Android and iOS
devices which TestObject maintains
• Among the automation frameworks we
support, Appium is our focus
About TestObject
• Berlin-based!
• Fast growing international team
• Fast growing customer base, going from
small startups to multinational corporations
About Appium
Open-source tool for automating native, web, and hybrid
mobile applications on the iOS and Android platforms.
+
CROSS PLATFORM CROSS TECHNOLOGY
1. You write an automation script (programming skills
required) in one of many supported languages
2. By running the script you instantiate an AppiumDriver –
the client that connects to the AppiumServer
3. The driver asks the server to perform actions on the UI
of the application
4. The server translates the commands for the underlying
OS automation tools
5. The device on which the app is running is automatically
remote controlled
How It Works – In Short
How It Works – In Short
• You shouldn't have to recompile your app or modify it in
any way in order to automate it.
ØVendor-provided automation frameworks are used
under the hood:
ØUIAutomation for iOS
ØGoogle’s UIAtomator and Instrumentation
(bundled with Selendroid) for Android
Appium’s Philosophy
• You shouldn't be locked into a specific language or
framework to write and run your tests.
ØVendor-provided frameworks are wrapped into the
WebDriver (aka "Selenium WebDriver"), which
specifies a client-server protocol (known as the JSON
Wire Protocol). A client can be written in any language
and be used to send the appropriate HTTP requests to
the server.
Appium’s Philosophy
• A mobile automation framework should be open source,
in spirit and practice as well as in name!
ØOpen source project, massive community, frequent
fixes and many active committers.
Appium’s Philosophy
Typical Appium Test Script
Typical Appium Test Script
• Not using abstraction to our advantage: low
level and high level mixed together
• Low readability
• Low maintainability: bad news if you have a
new release every two weeks
The PageObject Pattern
The PageObject Pattern
“Page objects are a classic example of encapsulation -
they hide the details of the UI structure and widgetry
from other components (the tests).”
- Martin Fowler
Applying the Pattern
Thank you!
Come find us at
www.testobject.com
Giovanni Rago
Test Automation Engineer
giovanni.rago@testobject.com

Weitere ähnliche Inhalte

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

How to test your Web App automatically and keep your Testers sane

  • 1. Giovanni Rago | TestObject How to Test your Web App Automatically and Keep Your Testers Sane
  • 2. Your Speaker • Lead Test Automation Engineer @ TestObject • Working with Appium since day one • Responsible for – kickstarting customers' test automation infrastructure; – providing support on all related matters; – know-how transfer through both on-site and remote workshops; – development tasks on testing API, product and plugins; – …
  • 3.
  • 4. About TestObject • Mobile-oriented cloud testing platform • The user can run manual and automated tests on hundreds of real Android and iOS devices which TestObject maintains • Among the automation frameworks we support, Appium is our focus
  • 5. About TestObject • Berlin-based! • Fast growing international team • Fast growing customer base, going from small startups to multinational corporations
  • 6.
  • 7. About Appium Open-source tool for automating native, web, and hybrid mobile applications on the iOS and Android platforms. + CROSS PLATFORM CROSS TECHNOLOGY
  • 8. 1. You write an automation script (programming skills required) in one of many supported languages 2. By running the script you instantiate an AppiumDriver – the client that connects to the AppiumServer 3. The driver asks the server to perform actions on the UI of the application 4. The server translates the commands for the underlying OS automation tools 5. The device on which the app is running is automatically remote controlled How It Works – In Short
  • 9. How It Works – In Short
  • 10. • You shouldn't have to recompile your app or modify it in any way in order to automate it. ØVendor-provided automation frameworks are used under the hood: ØUIAutomation for iOS ØGoogle’s UIAtomator and Instrumentation (bundled with Selendroid) for Android Appium’s Philosophy
  • 11. • You shouldn't be locked into a specific language or framework to write and run your tests. ØVendor-provided frameworks are wrapped into the WebDriver (aka "Selenium WebDriver"), which specifies a client-server protocol (known as the JSON Wire Protocol). A client can be written in any language and be used to send the appropriate HTTP requests to the server. Appium’s Philosophy
  • 12. • A mobile automation framework should be open source, in spirit and practice as well as in name! ØOpen source project, massive community, frequent fixes and many active committers. Appium’s Philosophy
  • 14. Typical Appium Test Script • Not using abstraction to our advantage: low level and high level mixed together • Low readability • Low maintainability: bad news if you have a new release every two weeks
  • 16. The PageObject Pattern “Page objects are a classic example of encapsulation - they hide the details of the UI structure and widgetry from other components (the tests).” - Martin Fowler
  • 18. Thank you! Come find us at www.testobject.com Giovanni Rago Test Automation Engineer giovanni.rago@testobject.com