Upgrade to Pro — share decks privately, control downloads, hide ads and more …

iOS UI Testing Techniques on LINE MAN App

iOS UI Testing Techniques on LINE MAN App

B29f42636a5f1249b640473d49aa4514?s=128

LINE Developers Thailand

September 13, 2020
Tweet

Transcript

  1. 14:55 - 15:30 Akadet Mathurapoj Ungsumalynn Punnyarphattreephop iOS UI Testing

    Techniques on LINE MAN App QA Autumation, LINE MAN Wongnai iOS Engineer, LINE MAN Wongnai
  2. iOS UI Testing Techniques on LINE MAN App

  3. • iOS UI Automation Testing on LINE MAN App •

    How to make your test automation more stable • How to navigate to specific page • Snapshot test Agenda
  4. @LINEMAN Previously iOS UI Testing

  5. Assertion Action Setup UI Prepare testing data API to prepare

    data From server From third party iOS UI Testing
  6. Assertion Action Setup UI Prepare testing data Login Logout Launch

    app etc. iOS UI Testing
  7. Assertion Action Setup UI Prepare testing data Click Long Click

    Double Click Scroll Swipe Etc. iOS UI Testing
  8. Assertion Action Setup UI Prepare testing data isDisplayed Compare text

    isClickable isSelected Etc. iOS UI Testing
  9. Check Restaurant Name Test cases Validate Restaurant Details Page (Check

    Restaurant Name and Image) Check Restaurant Image Example Test Scenario
  10. Login Restaurant Home Food Logout

  11. Login Restaurant Home Food Logout

  12. Login Restaurant Home Food Logout

  13. Login Restaurant Home Food Logout Restaurant

  14. DisplayedName Login Restaurant Home Food Logout

  15. Login Restaurant Logout Home Food Server Validate Restaurant Details Page

    (Check Restaurant Name and Image)
  16. Known Issues

  17. Take Long Time

  18. Login Restaurant Logout Home Food Validate Restaurant Details Page (Check

    Restaurant Name and Image)
  19. Login Restaurant Logout Home Food Validate Restaurant Details Page (Check

    Restaurant Name and Image) Server
  20. Login Restaurant Logout Home Food Validate Restaurant Details Page (Check

    Restaurant Name and Image) Server
  21. None
  22. Unstable

  23. Checking Restaurant Name

  24. Checked Restaurant Name

  25. Checked Restaurant Name

  26. None
  27. Hard to Develop

  28. Create Order Display Driver Accepted Order Page

  29. Create Order Display Driver Accepted Order Page Get Available Driver

    Update Driver Location Driver Accept Order
  30. Maintenance

  31. Create Order Display Driver Accepted Order Page Get Available Driver

    Update Driver Location Driver Accept Order
  32. Create Order Display Driver Accepted Order Page Get Available Driver

    Update Driver Location Driver Accept Order API TEST
  33. Create Order Display Driver Accepted Order Page Get Available Driver

    Update Driver Location Driver Accept Order API TEST UI TEST
  34. Create Order Display Driver Accepted Order Page Get Available Driver

    Update Driver Location Driver Accept Order API TEST UI TEST Get Available Driver Update Driver Location Driver Accept Order API TEST We have already
  35. Dependency

  36. None
  37. Maintenance Take Long Time Unstable Hard to develop Dependency Known

    Issues
  38. 1. Mock Data

  39. Mock Data

  40. Login Restaurant Logout Home Food Server

  41. UI Testing Redirect URL to Node-Red

  42. UI Testing App LINE MAN Redirect URL to Node-Red

  43. Login Restaurant Logout Home Food Node-RED

  44. 2. Bypass Login

  45. Bypass Login

  46. Restaurant Logout Home Food Node-RED -overrideToken Login Bypass Login

  47. 3. Deeplink

  48. -Deeplink-Lineman://Restaurant-Detail 1 2 Deeplink

  49. Restaurant Logout Home Food Node-RED -Deeplink-Lineman://Restaurant-Detail Login Launch App by

    Deeplink
  50. -Deeplink-Lineman://Restaurant-Detail?Restaurant-Type=Cloud-Kitchen 1 2 3 Deeplink With Query String

  51. Restaurant-Type=Official Restaurant-Type=Cloud-Kitchen Deeplink With Query String

  52. 3 Tips Solutions

  53. DEMO

  54. Test Case

  55. • Take Long Time • Unstable • Hard To Develop

    • Maintenance • Dependency Problems
  56. • Node-RED for Prepare Data Test • Bypass Login for

    Skip Step Click Login • Deeplink for Navigate to Expectation Page Solutions
  57. @LINEMAN SNAPSHOT TEST

  58. Actual Image Compare Images Expect Image Keyword

  59. Recorded Expect Image Recorded Actual Image

  60. Recorded Expect Image Recorded Actual Image

  61. Recorded Expect Image Recorded Actual Image

  62. Recorded Expect Image Recorded Actual Image

  63. Recorded Expect Image Recorded Actual Image

  64. None
  65. Compare Images

  66. None
  67. DEMO

  68. “Enjoy Working”

  69. None