Can Selenium Be Used for Mobile Testing?

Posted by Ely Hechtel in AppiumMobileMobile Development & TestingSelenium

If you’re a test automation engineer, you have definitely heard of Selenium. But with the times changing and all you’re probably asking yourself if you can use your Selenium skills with mobile testing as well. Well, we have some great news for you, just keep on reading!

Selenium for mobile testing

Mobile testing has become a requirement and testers who want expand their testing knowledge and efficiency should be able to perform mobile testing as well. There is so much software now accessible from your browsers, and most of these websites have a matching app.

If you are using Selenium for your testing, you are testing web applications, so there is a good chance that your company also has at least one mobile app.

So “ Can Selenium be used for mobile testing? ” The short answer would be “Not really”, but don’t despair just yet, there is a longer answer to that question.

The long answer would be: “You cannot use Selenium for mobile app testing, but there are frameworks based on Selenium especially created for mobile automated testing. You can still use Selenium for mobile website testing.”

These frameworks are:

  • Selendroid and
  • Appium

What is Selendroid?

Selendroid, as the name suggests, is a Selenium based test automation framework made especially for Android which drives off the UI of native and hybrid apps. Selendroid can be also used on emulators and real devices and can be integrated into the Selenium Grid for scaling and parallel testing.

What makes Appium special?

Appium, on the other hand, is a cross-platform cross-technology mobile UI testing framework based on Selenium for native, hybrid and mobile web apps. This means that you can run tests on both Android and iOS while writing just one test script.

Every test automation engineer that knows how to write tests with Selenium can also write tests with Appium.

The best thing about Selenium/Selendroid and Appium? You can write the test scripts in any WebDriver-compatible language such as Java, Objective-C, JavaScript with Node.js, PHP, Python, Ruby, C#, Clojure, or Perl.

Discuss: Can Selenium Be Used for Mobile Testing?
0 Comments

Free Trial

Get access to a free 14-day trial version, or contact Sales for more information.