In today's world, mobile technologies and application developments are growing bigger and faster.
It is always a challenge to develop, test, and release the mobile app in no time without compromising its quality to meet the market demand.
Having said that, it is always expected that, mobile automation tools support for cross platform app testing. This plays a major role in reducing the time consumption of the tester during the test cycle.
IBM Rational Test Workbench supports cross platform in mobile automation testing for iOS and Android. Meaning, you can record Application Under Test (AUT) in Android and play it back on iOS and vice versa.
This significantly reduces the effort and time for the tester.
In such scenario, you might end up facing synchronization and object identification issues.
To overcome or identify the cause, you need to verify the following things:
1. AUT should be a hybrid application.
2. AUT should render with same layout and property values in both platforms (iOS and Android)
If your AUT renders with different layout and property values on different platforms, then it won't qualify for the cross platform app testing. This is the reason cross platform testing is not possible on native mobile applications.
Assume that your AUT is satisfying the above 2 conditions and you have recorded test script on Android device.
After recording, you are initiating the playing back on iOS device, it complains about the Synchronization policy as shown in the below picture.
In such scenario you have to set the right synchronization policy . For details more details on Synchronization policy Click here
Set the Synchronization policy to None and initiate the play back
Steps to set the synchronization policy::
1. Open the Test
2. Click on Launch Application
3. Set the Synchronization policy to None
Hopefully then, this will allow you to run your test scripts on iOS and Android.