Testing using Chrome
How Salesforce tests mobile apps
Salesforce mobile apps go through rigorous testing processes before our customers see them in the App Store or Google Play.
Our mobile apps are tested by numerous engineering teams to ensure the highest quality possible.
Tests we conduct include, but not limited to :
- UI automated regression
- Unit level testing
- Manual regression
- Performance
- Security
- Accessibility
- Server side upgrades
- Instance refreshes/Org migrations
- Localization
How Salesforce tests mobile apps - contd.
While conducting the set of tests mentioned above,
we are paying special attention to numerous metrics that may impact the performance and functional stability of our mobile apps:
- App crashes
- Low memory events
- Background out of memory (BOOM)
- Foreground out of memory (FOOM)
- Performance under different network conditions (WiFi/LTE/3G/Edge)
- App bugs introduced by new functionality
- New OS versions
- Automation pass stability and many more
Areas that we recommend our customers concentrate special attention on:
Focus on the main use cases for your users. It is critical to focus your testing on functionality that your users use the most
- Advanced authentication
- MDM deployment
- Scenarios specific to your security policy
- Custom Visualforce, Canvas, Flexi Pages
- Custom Connected App settings
- Integrations with non-salesforce systems/apps
- Custom network restrictions (e.g. VPN/IP range limitations)
KB:000264799: Testing Mobile apps: salesforce recommended best practices
How to test Salesforce App with Chrome DevTools - Toggle Device Mode
- Accurately simulate device input for touch events, geolocation, and device orientation
- Toggle the Device Mode button to turn Device Mode on or off
- When Device Mode is on, the icon is blue
- When it's off, the icon is grey
- Device Mode is enabled by default
How to test Salesforce App with Chrome DevTools - Demo
- Switch to Lightning Experience
- Refresh the browser
- You will see the Salesforce1 Flash Screen
- Hereafter it is in Mobile App mode
- You can use Selenium Tools for Web Testing for Test Automation