This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

I am using Appium Studio with IntelliJ.
Is it possible to cover Android & iOS with same / single script?

  • created

    Feb '19
  • last reply

    Feb '19
  • 1

    reply

  • 134

    views

  • 2

    users

  • 1

    like

Yes it is, script should have capability to create driver based on connected device platform.

example

@BeforeTest
if(Platform is iOS)
createiOSDriver(iOScapabilities)
else
createAndroidDriver(androidCapabilities)

followed by your tests.