cross platform code for Mobile and Web
Posted: Fri Jan 10, 2014 12:58 am
Hi
My application runs on Web, iOS and Android. The workflow for these apps are same, the IDs for UI elements are different. I am wondering if it be possible to run my code across these 3 platforms. This is what i am trying to achieve
1. Identify elements for Web and call it web_repo
2. Identify elements for Android and call it android_repo
3. Identify elements for iOS and call is ios_repo
4. I can name all the UI elements same in these 3 repos
Question
************
1. If i develop my test case using one repo (say web_repo) can i run the script using android_repo or ios_repo
2. If above is not possible what is the best practice for cross platform automation?
Appreciate any advice on how to do cross platform. Thanks in advance
My application runs on Web, iOS and Android. The workflow for these apps are same, the IDs for UI elements are different. I am wondering if it be possible to run my code across these 3 platforms. This is what i am trying to achieve
1. Identify elements for Web and call it web_repo
2. Identify elements for Android and call it android_repo
3. Identify elements for iOS and call is ios_repo
4. I can name all the UI elements same in these 3 repos
Question
************
1. If i develop my test case using one repo (say web_repo) can i run the script using android_repo or ios_repo
2. If above is not possible what is the best practice for cross platform automation?
Appreciate any advice on how to do cross platform. Thanks in advance