Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Selenium test mobile webapps?

I need to test Android (Android Browser) and iPhone/iPad (Safari for iOS) with Selenium or a similar Ruby-aware automated testing tool. How can I do that?

like image 598
user413160 Avatar asked Aug 06 '10 15:08

user413160


People also ask

Which Selenium supports mobile application testing?

Selendroid. Also known as 'Selenium for Android', this is used to test mobile applications for Android.

Can we use Selenium with Appium?

Appium is a great choice for test automation framework as it can be used for all these different app/web types. Basically, Appium derives its roots from Selenium and it uses JSONWireProtocol internally to interact with iOS and Android apps using Selenium's WebDriver.

What is Appium mobile testing in Selenium?

What is Appium? Appium is an open-source framework that allows QAs to conduct automated app testing on different platforms like Android, iOS, and Windows. It automates testing for: Native Mobile Applications that are written using iOS, Android, or Windows SDKs.

Can Selenium test an application on an Android browser?

It is possible to test Android apps, as well as test websites on Android devices. However, different tools are required for testing apps and websites. In order to test websites, use automated Selenium testing on real Android devices. To test Android apps, use automated app testing with Appium.


2 Answers

Selenium 2 offers both iphone and android testing, both drivers are pretty experimental as far as I know so YMMV.

http://code.google.com/p/selenium/wiki/IPhoneDriver

http://code.google.com/p/selenium/wiki/AndroidDriver

like image 189
Bill Avatar answered Dec 03 '22 23:12

Bill


Selenium should be able to handle it:

  • For the iPhone, take a look at http://code.google.com/p/selenium/wiki/IPhoneDriver
  • For Android, see http://code.google.com/p/selenium/wiki/AndroidDriver

Note that these selenium drivers are still under development, and probably contain bugs.

like image 37
hb2pencil Avatar answered Dec 03 '22 23:12

hb2pencil