Thursday, March 6, 2014

Testing Salesforce1 applications using browser

Testing Salesforce1 applications using browser



Salesforce1 platform first released at Dreamforce 13, is wonderful and will open up a whole new world of functionality to Salesforce to be used from the mobile devices. Its very easy to add apps/menus to the Salesforce1 (Checkout some of the coolest features) platform but how about testing? Salesforce 1 application requires Latest versions of Android/iOS operating systems in the mobile devices to showcase the capabilities of the new platform.

To operate Salesforce1 app correctly, your mobile device need to run the following latest version of Android/iOS:
  • Android - Jelly Bean 4.2 Operating System or higher
  • iOS - iOS 6.0 Operating System or higher 
Most of the existing mobile devices with Android/iOS OS devices are running the older versions of operating systems. As a result, when you download and install the Salesforce1 application, you will receive a slimmed down version of Salesforce1 similar to the original Chatter Mobile app. If this is the case, we will not be able to test the latest functionality of Salesforce1.

The good news is, you can test Salesforce1 app without a mobile device and using Google Chrome browser (may be other browser as well, I've tested with Chrome).

The following two URLs will be very useful in accomplishing the testing task.

1) https://<instancename>.salesforce.com/one/one.app
2) https://<instancename>.salesforce.com/one/admin.app

For example, go to https://login.salesforce.com and login to your Salesforce Organization (assuming that Salesforce1 is already enabled), When you are on the Home page the URL will be something like https://na15.salesforce.com/home/home.jsp. Replace/home/home.jsp with /one/one.app for enduser app or /one/admin.app for admin app. So your URL will be similar to https://na15.salesforce.com/one/one.app or https://na15.salesforce.com/one/admin.app

Screenshot of /one/one.app

     
       

Screenshot of /one/admin.app

         

The main benefits of this URLs are:

  • Testing – you can test the functionality and the look & feel of the UI
  • Easy to demo - anywhere boardroom, classroom, presentation etc.
  • Documentation - take the screenshots and add it your documentation.

5 comments:

  1. when i change the URL to https://na17.salesforce.com/one/one.app i am able to see the chatter feed window as in mobile app. But when i try to click on the notification button, search button nothing is working.

    Can you help me out.

    ReplyDelete
  2. What browser are you using? I've tested this using Chrome Browser. Let me know if this helps.

    ReplyDelete
  3. Currently I get

    ```
    You can't access Lightning Experience

    The page you're trying to access is available from the Salesforce1 mobile app only. Please try again from a supported mobile device. Need help? Ask your Salesforce admin.
    ```

    ReplyDelete
  4. Currently I get

    ```
    You can't access Lightning Experience

    The page you're trying to access is available from the Salesforce1 mobile app only. Please try again from a supported mobile device. Need help? Ask your Salesforce admin.
    ```

    ReplyDelete
  5. Hello I am so delighted I located your blog, I really located you by mistake, while I was watching on google for something else, Anyways I am here now and could just like to say thank for a tremendous post and a all round entertaining website. Please do keep up the great work. myappstaller

    ReplyDelete