Run Your Automation Tests on Multiple Devices, Operating Systems and Browsers

Uditha Maduranga
Webtips
Published in
5 min readFeb 5, 2020

Most of the companies that primarily develop solutions for the web, the applications we produce can be viewed on any number of browsers, in multiple formats, on various devices, and at any size. This means that when they release something to a client, they need to be sure that what they’ve produced can be viewed correctly, however the user chooses to consume it. As there is an overwhelming combination of screen sizes, devices, Operating Systems (OS) and browsers to choose from, and usually limited time and resource to test, it is important to find a proper tool that make this happen in an easier way.

Products such as a website that will be viewed by members of the public, however, can and will be viewed in any number of ways, on any number of devices. So to make sure that proper testing should be done on each of the combinations of those it takes lots of effort and time.

Compatibility is non-functional testing to ensure customer satisfaction. It is to determine whether your software application or product is proficient enough to run in different browsers, databases, hardware, operating system, and mobile devices.

Furthermost of the time we’ll have to use either an emulator, virtual machine, or the actual hardware which is not possible considering the 1200+ devices in the market.

So these testing should be done early and continuously, because the market evolves fast. The browsers, platforms, and devices your application works on today will lose their market share with each new:

  • Platform update: macOS pushes platform updates once a year. Windows 10 editions hit the market sporadically.
  • Browser update: Chrome releases major browser updates every six weeks or so.
  • Device launch: The number of devices in the market grows by 20%, every year. Some of them will be used by your customers to access your site.

But here’s a better way of doing this kind of testing through TestProject. TestProject is a community-powered tool used to automate testing in mobile and web apps. It’s a modern, user-friendly test automation platform that covers the whole process of testing.

https://testproject.io/

So the brand new release of TestProject consists of integration with BrowserStack which is a cloud web and mobile testing platform that enables developers to test their websites and mobile applications across on-demand browsers, operating systems and real mobile devices, With the new integration, TestProject platform’s capabilities and breadth has grown massively.

Integrating TestProject with BrowserStack allows you and your teammates to run your automation on many different devices and browsers that are provided by the BrowserStack cloud. This means that you can, for example, test your app compatibility on many variations of Operating Systems — Browser versions — Devices without having to setup complicated test matrices.

The integration process can be done just in TWO STEPS. That is as easy as it can be for anyone.

Prerequisites

  • TestProject account — In order to enjoy all the features of the TestProject platform, you will need an active TestProject account. If you don’t already have one, you can sign up for a free forever plan here.
  • BrowserStack account — To utilize BrowserStack cloud you need an account. If you don’t already have one, just visit here to create a free trial.

STEP 1

As the first step of the integration, you should log in to your BrowserStack account and then get your unique BrowserStack access key. This can be done by clicking on the profile icon and then going into the Settings.

Profile IconSettingsCopy Username and Access Key

Obtaining BrowserStack Username and Access Key

Once you got that you can go to Step 2.

STEP 2

Log in to your TestProject account and then select Integrations from the Top bar and then under that select Cloud Execution from the side panel. Click on the toggle button near the BrowserStack logo to enable the integration. Once it’s enabled there will be a window appearing called BrowserStack integration settings and in there you can paste your BrowserStack Username and Access key in relevant places. Then you have to save it.

Integrations → Cloud Execution → toggle button near the BrowserStack logo → BrowserStack integration settings window → Add Username and Access key

Configuring BrowserStack access information in TestProject

Once saved, TestProject will validate that the credentials are correct and close the integration settings window. After the window closes you should see that the integration is active from the toggle.

Once the integration is done we can just use it to do automation testing on various combinations of 1200+ devices, operating systems, and web browsers. Now you can use your own TestProject Agents to run tests and jobs on the BrowserStack cloud. You can get more details on how to do that from here. So this process of compatibility testing is made much more efficient and with less hassles for everyone. This will make the testing much more user-friendly and it will cover large combinations so that it will be tremendously effective for the success of the web applications as well.

Once you have run all the required tests you can also go to Reports in your TestProject account and have a look at the detailed and informative analysis reports which consists of graphs and other interactive components to make it easier for you to understand.

All of these were possible because of the tool in TestProject platform called integration which is a powerful TestProject feature that can add tools like BrowserStack to your automated testing process giving you the edge over others!

--

--

Uditha Maduranga
Webtips

Bioinformatics Analyst | Computer Science and Engineering Graduate | AWS Community Builder | Former Software Engineer at Sysco LABS | maduranga95@gmail.com