Cross Mobile Browser Testing with Real Mobile Devices

Baala Murugan
2 min readMar 31, 2021

--

Various Browsers in Android Device

Being Quality Assurance Engineer, we have responsibility of ensuring our applications are tested across various channels in which our applications have been rendered.

Majorly applications are build up in various platforms such web/android/IOS application. So majorly we cover cross browser testing for web application using internal selenium grid setup or running tests across third party application which provides running tests on different browsers and OS combinations.

Being mobile been used at a greater extend, usage of web application on mobile devices have been increased. Along side the mobile browsers have also drastically increased. It becomes the responsibility QA team to ensure the application is been tested on all platforms which it has been rendered.

In common there is no straight forward solution to test our applications on the mobile browsers. But still few third party services provide solution for testing application against chrome browser. But still there are huge set of browser which needs to be tested.

Here in this article we will talk about testing mweb application across Chrome, Firefox, Edge, MI Browser, Facebook and Instagram internal browsers for android devices.

Overall the approach for testing the web application on the respective browsers remains same.

Key Points —

  • Download the latest apk or specific version of browser version of the respective browser which needs to be tested.
  • Install the downloaded apk to the emulator or a real device which needs to be tested.
  • Get the respective browser applications appPackage and appActivity name.
  • In appium, launch the application with the respective desired capabilities, such that the respective browser app is been launched to be tested.
  • Initially we need to accept the respective terms and conditions for the browser which is under test. Get the Xpath of the respective browser application.
  • Enter the application URL which needs to be tested in the browser URL.
  • Clicking on enter or search will open the respective URL in the browser application and tests could be executed against it.

Desired Capability for UC browser

{
"platformName": "Android",
"appPackage": "com.UCMobile.intl",
"appActivity": "com.uc.browser.InnerUCMobile",
"deviceName": "58d0609666f1"
}

--

--

Baala Murugan

SDET @ Razorpay. Trying to make an impact in whatever I do.