In today's world, mobile technologies and applications 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 tool support for cross platform app testing, which plays 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 ATU (Application Under Test) in Android and play it back on iOS and vice versa.
This significantly reduces so much effort and time for the tester.
In such scenario you might end up facing synchronization and object identification issue.
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 application
Assume that your AUT is satisfying the above 2 condition 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