0
votes

I am planning to automate cross platform app which is built in Typescript using Angular JS. UI of both Android and iOS will be exactly same. I am planning to automate the app.

Can I have a same test suite for android and iOS Mobile automation using Appium? Just for element identifier we have the two different file which we choose based on the device on which we have to execute?

In same project both Android and iOS can be automated? Is it possible?

I am using C# language for coding automation using appium. BDD framework (specflow).

2
Yes, it is possible<period>Naman

2 Answers

2
votes

It is possible if you use page factory approach. We can have two different identifiers one for andriod and the other for IOS. Simple example below.

@iOSFindBy(identifier = value) @AndroidFindBy(identifier = value) public MobileElement element

0
votes

Check out Joyride: https://github.com/glorylo/Joyride, a cross platform mobile framework for automating acceptance tests using appium. It allows you to write the tests for both iOs and Android and share a lot of the code.

Good luck!