ClickSyncButton
Depending on user provided options, you use the ClickSyncButton keyword to click on the Sync button to switch from offline to online mode or from online to offline mode. The keyword also verifies the state of the application after the specified navigation.
Signature
The ClickSyncButton keyword supports the following signature:
ClickSyncButton(RnofSyncButton,RnofOfflineOptions;RnofStateoftheApplication)
Desktop Examples
The ClickSyncButton keyword does not apply to desktop applications.
Mobile Examples
The following table describes how to use the ClickSyncButton keyword to switch between online and offline modes in mobile applications (on mobile devices).
Target Object | Inputs | Closing Action | Comments |
---|---|---|---|
GoOffline |
NULL;Offline |
N/A |
Clicks the Sync button and moves to offline mode. |
GoOffline |
uploadGoOnline;Online |
N/A |
Clicks the Sync button and selects the option uploadGoOnline in offline mode. |
GoOffline |
syncStayOffline;Online |
N/A |
Clicks the Sync button and selects the option syncStayOffline in offline mode. |
GoOffline |
uploadStayOffline;Online |
N/A |
Clicks the Sync button and selects the option uploadStayOffline in offline mode. |