Executing Protractor Test on Mobile Device

Executing Protractor Test on Mobile Device

As we are aware nowadays testing our test case on mobile devices (especially on different mobile browsers) are one of the important aspects of any testing methodology.

In this session, we will look into how we can execute our Protractor Test Case on any Mobile browsers.

Please Note pre-requisite for testing protractor test on mobile is that we should have appium installed on our local machine and appium server should be up and running.

Once this is done we need to do a few changes in our Conf.js file.

In seleniumAddress, we need to provide the address of our appium server along with the port. My appium server is currently running on and port no 4723.

In the Capabilities section, we need to provide the Browser, platform name, version and device name on which we are executing our test cases.

Below is my conf.js file

Now once we execute our this conf.js file, we would be able to view that our test cases are getting executed on our mobile devices.

Appium Execution Logs
Protractor Server Logs



My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post