iOS Automated Tests - XCTest vs Appium

后端 未结 2 1597
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-07 08:20

I am looking for opinions from test engineers and iOS developers regarding a specific matter.

I have been using Appium for over a year now, and I have come across variou

2条回答
  •  -上瘾入骨i
    2021-02-07 08:55

    Some pros & cons of Appium and XCTest:

    In favour of XCTest:

    • Apple's own product so less likely to have compatibility issues emerge when new versions of Xcode/iOS are launched
    • Tests run more efficiently (faster and less random errors)
    • Record/play back feature arguably makes object identification easier for some of those more tricky to identify objects
    • Far easier to setup than Appium (especially after iOS 10+)

    In favour of Appium:

    • Allows more code re-use across Apple and Android automation suites

    • Greater choice of compatible languages

    • Compatible with Cucumber frontend code

    There are other pros & cons of both tools, but having used both I feel these are the main ones (in my personal opinion)

提交回复
热议问题