SlideShare a Scribd company logo
GA Test Automation
Marc Lihan
3/7/2017
About me
Hometown
Manila
福岡
東京
LINE TODAY
Under development
Timeline Digest
2016.3
News Tab
2016.12
Product Features
Comments / Likes News / music videos WebtoonSocial Media Share
Measure Effectiveness
Problem Statement - Why care about
GA?
 Measure KPI
 Effectiveness of contents & features
Features are User Statistics are
Checking GA Manually
 Chrome’s
Developer Tools
 GA Debugger
Web Tools for Mobile Web
Safari’s Web Inspector
Chrome’s Remote Debugging
Charles Web Debugging Proxy
Problem Statement 2 – Why GA Test
Automation?
New feature -> side effects
Avoid human error
Limited time
Simulate LINE TODAY user in LINE app and
confirm GA events are included in GA reports.
Methodology
 Robotframework
 Appium
 GA Reporting API
Get credentials
Initialize analytics reporting
Get GA report
GA Report API
 Go to Google Developers Console
(https://console.developers.google.com)
 Create Project or select a project
 Go to API Manager > Credentials
 In Service Account keys > press Manage
service accounts > press Create Service
Accounts
 In Create Service account input a
Service account name, check Furnish a
new private key then select preferred
key type.
Initialize analytics reporting (using P12)
GA Report API - continued
 Install client library
GA Report API - continued
Initialize analytics reporting (using P12)
• Reference: https://developers.google.com/identity/protocols/OAuth2ServiceAccount
GA Report API - continued
• View ID - https://analytics.google.com, top left corner > select Accounts, Properties > View
• Dimensions and metrics
Getting GA report
Get session report
for this week
GA Report API - continued
A more complete report
request
• Basics use cases
• Advanced use cases
Dimensions,
dimension filter
metrics
Demo
Conclusion
 User statistics
 Use GA or similar tools
 Remember to check GA
 GA Reporting API
We’re hiring!
 Front End Engineer
 Test Engineer (open to new graduates)
 QA Automation Engineer
 Service QA
 Server-side Developer
Reference
 Reporting API v4
 Quick Start in Python

More Related Content

PDF
20 Tools That Any Non Tech Founder Can Use To Manage Their Tech Product Devel...
PDF
Coursera Developing API with GCP Apigee API Platform
PPTX
API Management in Azure
PPTX
Build 2017 - P4034 - Agile app development with Azure API Management
PDF
apidays LIVE London 2021 - Getting started with Event-Driven APIs by Hugo Gue...
PDF
Building scalable applications for the cloud
PDF
APIs Are Forever - How to Design Long-Lasting APIs
PPTX
Unlock Open Banking with Definition-driven API Development
20 Tools That Any Non Tech Founder Can Use To Manage Their Tech Product Devel...
Coursera Developing API with GCP Apigee API Platform
API Management in Azure
Build 2017 - P4034 - Agile app development with Azure API Management
apidays LIVE London 2021 - Getting started with Event-Driven APIs by Hugo Gue...
Building scalable applications for the cloud
APIs Are Forever - How to Design Long-Lasting APIs
Unlock Open Banking with Definition-driven API Development

What's hot (20)

PDF
2019 devoxx - apis, microservices, et le service mesh
PPTX
Api management 101
PDF
How APIs Transform Both Your Business and Technology
PDF
Enterprise E-commerce Webinar Series, Episode 1: Building and Testing Your API
PDF
INTERFACE, by apidays - Playing with FHIR: Hacking FHIR and mHealth APIs by ...
PDF
Contract Testing
PPTX
The New 3-Tier Architecture: HTML5, Proxies, and APIs
PDF
Contribution day guide. MLEU 2019
PPTX
Firebase Analytics
PDF
Presentation of ongoing fintech product development
PPTX
Logistics market place platform
PDF
[WSO2 Summit Americas 2020] APIs: The Products of the 21st Century.pdf
PDF
Tamino Mobile - XML based Integration, Development and Application Services f...
PDF
Monetize Your Open Banking APIs with Fintechs — Strategies & Live Demo
PPTX
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
PPTX
Application insights
PDF
apidays LIVE Helsinki & North - 20 minutes to build a serverless COVID-19 RES...
PDF
apidays LIVE Jakarta - API Sandbox: empowering Developer Experience (DX) by F...
PPTX
[5]v.snaf 발표자료 장선진_v1.1_20110817
PDF
20160910 MeasureCamp #9 Presentation - App Tracking 2.0 - Google Firebase Ana...
2019 devoxx - apis, microservices, et le service mesh
Api management 101
How APIs Transform Both Your Business and Technology
Enterprise E-commerce Webinar Series, Episode 1: Building and Testing Your API
INTERFACE, by apidays - Playing with FHIR: Hacking FHIR and mHealth APIs by ...
Contract Testing
The New 3-Tier Architecture: HTML5, Proxies, and APIs
Contribution day guide. MLEU 2019
Firebase Analytics
Presentation of ongoing fintech product development
Logistics market place platform
[WSO2 Summit Americas 2020] APIs: The Products of the 21st Century.pdf
Tamino Mobile - XML based Integration, Development and Application Services f...
Monetize Your Open Banking APIs with Fintechs — Strategies & Live Demo
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
Application insights
apidays LIVE Helsinki & North - 20 minutes to build a serverless COVID-19 RES...
apidays LIVE Jakarta - API Sandbox: empowering Developer Experience (DX) by F...
[5]v.snaf 발표자료 장선진_v1.1_20110817
20160910 MeasureCamp #9 Presentation - App Tracking 2.0 - Google Firebase Ana...
Ad

Similar to GA Test Automation (20)

PDF
Guide to-google-analytics google 4
DOCX
API for Solving Google reCAPTCHA v2 How to Automate CAPTCHA Bypass Effortless...
PDF
SAP TAO 2.0
PDF
From Idea to Mobile App (for Non Tech people)
PPT
Skills, Competencies And Methods
PDF
SH Product Roadmap
PDF
Google Analytics Overview
PDF
[Android] Publish on Google Play & Google Analytics
PDF
Improve conversion and_avoid_abandonment
PPTX
Automated Regression Testing that Ensures Continuous Performance.pptx
DOC
Resume (1)
PPTX
University SE presentation.pptx, Software Testing
PDF
A Modern Dive into QA Automation and Beyond
PPTX
MeasureCamp London 2024 - Yasen - Measurement Protocol v2
PDF
PWA - Progressive WordPress Apps
DOCX
Shubhamangala_ST_3+yrs_Testing
DOC
Shashank
PPTX
Fraudpointer - Google Apps integration
PDF
2024-11-19 UI Automation at Contentserv Sergej Mudruk
PDF
SaaS Springboard API
Guide to-google-analytics google 4
API for Solving Google reCAPTCHA v2 How to Automate CAPTCHA Bypass Effortless...
SAP TAO 2.0
From Idea to Mobile App (for Non Tech people)
Skills, Competencies And Methods
SH Product Roadmap
Google Analytics Overview
[Android] Publish on Google Play & Google Analytics
Improve conversion and_avoid_abandonment
Automated Regression Testing that Ensures Continuous Performance.pptx
Resume (1)
University SE presentation.pptx, Software Testing
A Modern Dive into QA Automation and Beyond
MeasureCamp London 2024 - Yasen - Measurement Protocol v2
PWA - Progressive WordPress Apps
Shubhamangala_ST_3+yrs_Testing
Shashank
Fraudpointer - Google Apps integration
2024-11-19 UI Automation at Contentserv Sergej Mudruk
SaaS Springboard API
Ad

More from LINE Corporation (20)

PDF
JJUG CCC 2018 Fall 懇親会LT
PDF
Reduce dependency on Rx with Kotlin Coroutines
PDF
Kotlin/NativeでAndroidのNativeメソッドを実装してみた
PDF
Use Kotlin scripts and Clova SDK to build your Clova extension
PDF
The Magic of LINE 購物 Testing
PDF
UI Automation Test with JUnit5
PDF
Feature Detection for UI Testing
PDF
LINE 新星計劃介紹與新創團隊分享
PDF
​LINE 技術合作夥伴與應用分享
PDF
LINE 開發者社群經營與技術推廣
PDF
日本開發者大會短講分享
PDF
LINE Chatbot - 活動報名報到設計分享
PDF
在 LINE 私有雲中使用 Managed Kubernetes
PDF
LINE TODAY高效率的敏捷測試開發技巧
PDF
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
PDF
LINE Things - LINE IoT平台新技術分享
PDF
LINE Pay - 一卡通支付新體驗
PDF
LINE Platform API Update - 打造一個更好的Chatbot服務
PDF
Keynote - ​LINE 的技術策略佈局與跨國產品開發
PDF
LINE Ads Platformの開発を支えるKafka
JJUG CCC 2018 Fall 懇親会LT
Reduce dependency on Rx with Kotlin Coroutines
Kotlin/NativeでAndroidのNativeメソッドを実装してみた
Use Kotlin scripts and Clova SDK to build your Clova extension
The Magic of LINE 購物 Testing
UI Automation Test with JUnit5
Feature Detection for UI Testing
LINE 新星計劃介紹與新創團隊分享
​LINE 技術合作夥伴與應用分享
LINE 開發者社群經營與技術推廣
日本開發者大會短講分享
LINE Chatbot - 活動報名報到設計分享
在 LINE 私有雲中使用 Managed Kubernetes
LINE TODAY高效率的敏捷測試開發技巧
LINE 區塊鏈平台及代幣經濟 - LINK Chain及LINK介紹
LINE Things - LINE IoT平台新技術分享
LINE Pay - 一卡通支付新體驗
LINE Platform API Update - 打造一個更好的Chatbot服務
Keynote - ​LINE 的技術策略佈局與跨國產品開發
LINE Ads Platformの開発を支えるKafka

Recently uploaded (20)

PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
August Patch Tuesday
PPT
Teaching material agriculture food technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
Machine learning based COVID-19 study performance prediction
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Tartificialntelligence_presentation.pptx
PDF
Getting Started with Data Integration: FME Form 101
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Diabetes mellitus diagnosis method based random forest with bat algorithm
August Patch Tuesday
Teaching material agriculture food technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
A Presentation on Artificial Intelligence
Machine learning based COVID-19 study performance prediction
Heart disease approach using modified random forest and particle swarm optimi...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Agricultural_Statistics_at_a_Glance_2022_0.pdf
A comparative analysis of optical character recognition models for extracting...
A comparative study of natural language inference in Swahili using monolingua...
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Empathic Computing: Creating Shared Understanding
Tartificialntelligence_presentation.pptx
Getting Started with Data Integration: FME Form 101
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Assigned Numbers - 2025 - Bluetooth® Document
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Univ-Connecticut-ChatGPT-Presentaion.pdf

GA Test Automation

  • 1. GA Test Automation Marc Lihan 3/7/2017
  • 3. LINE TODAY Under development Timeline Digest 2016.3 News Tab 2016.12
  • 4. Product Features Comments / Likes News / music videos WebtoonSocial Media Share
  • 6. Problem Statement - Why care about GA?  Measure KPI  Effectiveness of contents & features Features are User Statistics are
  • 7. Checking GA Manually  Chrome’s Developer Tools  GA Debugger
  • 8. Web Tools for Mobile Web Safari’s Web Inspector Chrome’s Remote Debugging Charles Web Debugging Proxy
  • 9. Problem Statement 2 – Why GA Test Automation? New feature -> side effects Avoid human error Limited time Simulate LINE TODAY user in LINE app and confirm GA events are included in GA reports.
  • 10. Methodology  Robotframework  Appium  GA Reporting API Get credentials Initialize analytics reporting Get GA report
  • 11. GA Report API  Go to Google Developers Console (https://console.developers.google.com)  Create Project or select a project  Go to API Manager > Credentials  In Service Account keys > press Manage service accounts > press Create Service Accounts  In Create Service account input a Service account name, check Furnish a new private key then select preferred key type. Initialize analytics reporting (using P12)
  • 12. GA Report API - continued  Install client library
  • 13. GA Report API - continued Initialize analytics reporting (using P12) • Reference: https://developers.google.com/identity/protocols/OAuth2ServiceAccount
  • 14. GA Report API - continued • View ID - https://analytics.google.com, top left corner > select Accounts, Properties > View • Dimensions and metrics Getting GA report Get session report for this week
  • 15. GA Report API - continued A more complete report request • Basics use cases • Advanced use cases Dimensions, dimension filter metrics
  • 16. Demo
  • 17. Conclusion  User statistics  Use GA or similar tools  Remember to check GA  GA Reporting API
  • 18. We’re hiring!  Front End Engineer  Test Engineer (open to new graduates)  QA Automation Engineer  Service QA  Server-side Developer
  • 19. Reference  Reporting API v4  Quick Start in Python

Editor's Notes

  • #4: as our user base increases, we have more feature requests
  • #5: We need to measure the effectiveness of these features, how to we measure them?
  • #6: who here uses GA in their projects? who here have checked GA manually? who here have used GA api? how many here uses GA api for test automation?
  • #7: a lot of might think that features are the most important aspect in a project, but for a mid-to-large size project, you need to listen to your users to be even more successful. How do you listen to users? By analyzing their behavior.  Features decided by statistics = user’s voice
  • #8: For PC web browsers, it’s simple just use any browser’s Developer Tools. But what about mobile browsers or in-app web? Anyone has experience in checking mobile web?
  • #18: User statistics is a very important factor in measuring success of a development project GA helps analyze user statistics and their behavior There are lots of tools to check GA in PC/mobile web browsers GA Reporting API is available to further customize reports and improve quality through automation