The tests in this chapter cover syncing the device for the first time which is called initial sync. There are different types of initial syncs that need to be tested. These tests assume that you have iSync launched, the device is selected in the iSync window, and syncing is enabled for the device. Read “Common Steps” for set up instructions before running these tests.
In addition, you should configure the iSync preferences so an alert appears each time the device changes the state of the truth—each time the device adds, modifies, or deletes records—as follows:
To set the data change alert to “any” in iSync, choose iSync > Preferences, enable the “Show Data Change Alert when” option, and select “any” from the adjacent pop-up menu.
When a Sync Alert panel appears, click the triangle at the bottom of the panel to reveal more information about the changes. Use this panel to verify the changes and optionally, cancel the sync session.
Some of the following tests require records on the device before running an initial sync. Optionally, follow these steps to set up a device for these tests using iSync:
Add contacts and calendars to the computer that you want to be on the device.
Create a group in Address Book and add the contacts to that group. Create a calendar in iCal and add the events to that calendar.
Launch iSync and select the device icon.
Choose the Contacts group from the Synchronize pop-up menu.
Select the Calendars group from the Calendars > Selected scroll view.
Choose Devices > Reset Device from the iSync menu and click Reset in the alert panel.
Wait for iSync to sync the device, which adds the selected records to the device.
Click the device icon and choose Devices > Remove Device and click OK in the alert panel.
Delete all the records on the computer that were added to the device.
Reset the Sync Services server by launching Syncrospector, choosing Window > Show Sync Plans, and clicking the Reset Server button.
These are the common steps used in this chapter:
To perform an initial merge sync, choose “Merge data on computer and device” from the “For first sync” pop-up menu in the iSync window.
To perform an initial erase sync, choose “Erase data on device then sync” from the “For first sync” pop-up menu in the iSync window.
To reset the device, choose Device > Reset Device or Device > Reset All Devices from the iSync menu.
This is an alternate way to perform an initial erase sync.
Tests initial syncs where 0
records are on the device and some records are on the computer.
Add a contact to the computer.
Add an event to the computer.
Add a task to the computer.
Make sure there are 0
contacts and 0
events on the device.
Perform an initial merge sync.
Verify that the records on the computer are now on the device.
Tests initial merge syncs when records are on the device and on the computer.
Add some contacts and events to the device.
Add some different contacts and event to the computer.
Perform an initial merge sync.
Verify that the records on the device are now on the computer and vice-versa.
Tests syncing with many records on the device and computer.
Add many contacts and events (2000 or more records) to the computer.
Add many different contacts and events to the device.
Perform an initial merge sync.
Verify that the records on the device are now on the computer and vice-versa.
Tests initial erase sync when the device contains many records.
Add many contacts and events (2000 or more records) to the device.
Add a few different contacts and events to the computer.
Enable Contacts and Calendars in the iSync window.
Initial erase sync.
Verify that existing records on the device are deleted and that records from the computer are added correctly.
Repeat steps 1-4 for the Contacts database only and Calendars database only.
Tests initial erase sync when the device contains no records and the computer contains records
Add many contacts and events to the computer.
Enable Contacts and Calendars in the iSync window.
Initial erase sync.
Verify that all the records on the computer are on the device.
Repeat steps 1-3 for the Contacts database only and Calendars database only.
Last updated: 2007-07-11