Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

GA Test Automation

262 Aufrufe

Veröffentlicht am

From LINE Taiwan QA join test corner community meetup

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

GA Test Automation

  1. 1. GA Test Automation Marc Lihan 3/7/2017
  2. 2. About me Hometown Manila 福岡 東京
  3. 3. LINE TODAY Under development Timeline Digest 2016.3 News Tab 2016.12
  4. 4. Product Features Comments / Likes News / music videos WebtoonSocial Media Share
  5. 5. Measure Effectiveness
  6. 6. Problem Statement - Why care about GA?  Measure KPI  Effectiveness of contents & features Features are User Statistics are
  7. 7. Checking GA Manually  Chrome’s Developer Tools  GA Debugger
  8. 8. Web Tools for Mobile Web Safari’s Web Inspector Chrome’s Remote Debugging Charles Web Debugging Proxy
  9. 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. 10. Methodology  Robotframework  Appium  GA Reporting API Get credentials Initialize analytics reporting Get GA report
  11. 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. 12. GA Report API - continued  Install client library
  13. 13. GA Report API - continued Initialize analytics reporting (using P12) • Reference: https://developers.google.com/identity/protocols/OAuth2ServiceAccount
  14. 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. 15. GA Report API - continued A more complete report request • Basics use cases • Advanced use cases Dimensions, dimension filter metrics
  16. 16. Demo
  17. 17. Conclusion  User statistics  Use GA or similar tools  Remember to check GA  GA Reporting API
  18. 18. We’re hiring!  Front End Engineer  Test Engineer (open to new graduates)  QA Automation Engineer  Service QA  Server-side Developer
  19. 19. Reference  Reporting API v4  Quick Start in Python

×