News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DZone.com:
Selenium on Android
April 18, 2012 @ 12:43:04

On DZone.com there's a recent post from Giorgio Sironi looking at running Selenium tests on the Android platform via the PHPUnit Selenium interface.

Testing web applications is not only based on unit and functional tests for the server-side (PHP, Java) and client-side (JavaScript) components, but also on end-to-end tests like the ones performed with Selenium. Selenium is capable of driving a real browser like Firefox in the same way a user would do, letting you express a test with a series of page to load, element selections, clicks and typed characters. [...] In this tutorial, we'll experiment with the Android Driver and set up a couple of tests to run inside an Android virtual device.

He walks you through the basic setup of an Android environment (based on the Android SDK) and how to start up the Android driver installed from the Selenium site. An example test is included, showing how to make a request for a test page and checking its title as well as checking that the input from the "keyboard" is successful.

0 comments voice your opinion now!
selenium android phpunit webdriver sdk


blog comments powered by Disqus

Similar Posts

Raphael Stolt's Blog: Closing and reopening GitHub issues via PHPUnit tests

Sebastian Bergmann's Blog: Visualizing Text Differences in PHPUnit 3

Sebastian Bergmann's Blog: PHPUnit and Cyclomatic Complexity

Sebastian Nohn\'s Blog: Continuous Builds with CruiseControl, Ant and PHPUnit

Sebastian Bergmann\'s Blog: Fluent Interface in PHPUnit 3.0


Community Events

Don't see your event here?
Let us know!


introduction series opinion laravel community unittest podcast api security language threedevsandamaybe voicesoftheelephpant library extension framework version symfony laravel5 release interview

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework