Testing Visualforce Mobile Pages

After developing your Visualforce Mobile pages, test them in the mobile application to be sure they display and function as expected. To find out how to install and run the mobile application on a BlackBerry smartphone or iPhone, refer to the topic titled “Installing Salesforce Classic Mobile” in the Salesforce Classic Mobile User Guide for BlackBerry or the Salesforce Classic Mobile User Guide for iPhone.

If you don’t have an iPhone or BlackBerry smartphone that meets the Salesforce Classic Mobile device requirements, you can run the mobile application on an iPhone or BlackBerry simulator. To find out how to install and run the simulators, refer to the topic titled “Mobile Device Simulators” in the Salesforce Classic Mobile Implementation Guide.

You might need to perform some of the following management tasks while testing your Visualforce Mobile pages:

Synchronize Data
The mobile application polls Salesforce for schema changes and new data every twenty minutes. In come cases, you might want to synchronize data after editing your mobile configuration or creating a record in Salesforce so that the changes show up in the application immediately. You can force the mobile application to synchronize with Salesforce.
To find out how to synchronize your data from an iPhone, refer to the topic titled “Synchronize Data” in the Salesforce Classic Mobile User Guide for iPhone. To find out how to synchronize your data from a BlackBerry smartphone, refer to the topic titled “Refreshing Data” in the Salesforce Classic Mobile User Guide for BlackBerry.
Note

Note

Remember, you can use commands from the JavaScript library in your Visualforce Mobile pages to force the mobile application to synchronize data.

Test Different User Accounts
Developers often have several active user accounts in their Salesforce organization. If you already activated a user account in Salesforce Classic Mobile, you have to deactivate it before you can register a different user account.
If you're using a mobile device to test your Visualforce Mobile pages instead of a simulator, you can deactivate your account from the mobile application. To find out how to deactivate your Salesforce account from an iPhone, refer to the topic titled “Erase Data” in the Salesforce Classic Mobile User Guide for iPhone. To find out how to deactivate your account from a BlackBerry smartphone, refer to the topic titled “Removing Salesforce Data from Your Device” in the Salesforce Classic Mobile User Guide for BlackBerry.
If you're using a simulator to test your Visualforce Mobile pages, you have to deactivate your account in Salesforce. To find out how to deactivate your account in Salesforce, refer to the topic titled “Deleting Mobile Devices” in the Salesforce Classic Mobile Implementation Guide.
Test Sandbox Accounts
By default, the mobile client application connects to the transport for your production organization; however, you might want to test in your sandbox organization. To find out how to activate a sandbox account, refer to the topic titled “Activating a Sandbox Account in Salesforce Classic Mobile” in the Salesforce Classic Mobile Implementation Guide.
Previous
Next