owned this note changed 4 years ago
Linked with GitHub

高效率錄製撥放網頁自動化測試技術與趨勢 - 以 SideeX 為例 - 黃鳳翊

歡迎來到 MOPCON 2019 共筆

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

共筆入口:https://hackmd.io/@mopcon/2019
手機版請點選上方 按鈕展開議程列表。

會場 wifi-SSID: mopcon-2019
會場 wifi-PASSWD: mopcon-2019

tags: MOPCON 2019

Sideex 的測試定位著重在使用者操作上的測試。
功能驗證測試

Sideex 在開發過程中遭遇的問題

  • Wait
    • Element exist?
    • Network speed?
    • Script Running?
    • etc

藉由 Sideex 可以用來測試出些關於 visibility 的問題,而如果要解決這問題的解法可能為下列的方式:

  • Visibility

    • CSS:
      • dispaly
      • visibility
      • opacity
    • JS:
      • document.elementsFromPoint
      • (element).getBoundingClientRect
  • Cross Browser Testing

    • Webdriver
      • 缺點:這部分開出來的 API 會有點少。
    • Not all commands supported
      • Drag and drop
  • Drag and drop

    • 可用來測試例如 google 地圖的小黃人,可想像成我們將「小黃人」的 component 拉到另外個地圖的 compoent 上是否有成功。
  • Command Line Runner

    • Command Line Only Enviornment
    • Linux, Vertical Machine, Docker
  • Locator

    • Xpath

      • //*[@id="BH-menu-path"]/ul/ul/ti[1]/a
    • ID

      • (none)
    • ClassName

      • is-active
    • Text?

      • (發文 -> 發表文章)
    • 公司開發的新技術 - TAC(Auto Generated Locator)

  • 在開發上目前所遇到的問題

    • Complex Web Application
    • Text Overlapping
      • (Auto Detection)
    • Proactive Anomaly Visual Testing
    • Test Case Generation
      • 這部分是理論階段的問題
  • 目前公司即將推出的服務

    • Open source
      • SideeX widget (light-weight recorder)
      • JavaScript API
    • SideeX Runner
    • Language APIs, such as RobotFramework
Select a repo