Uploaded by 360logica on Apr 21, 2011
iPhone Driver
The iphone driver allows testing on a UIWebView (a webkit browser accessible for 3rd party applications) on the iphone. It works through the use of an iphone application running on your iphone, ipod touch or iphone simulator.
Drawbacks
To test on a device you need the iphone SDK and a provisioning profile (for running on an actual device)
Building
From the checked-out copy, run: ./go iphone Which will build the iPhone driver and the application to be installed. It's easier to start up the SDK manually and run it.
Installing
The iphone driver application is not currently on the Apple store. To run it, you will need the iphone development tools on your local machine. These tools must be downloaded from apple. To run it on your device, you will also need a provisioning profile.
The iphone driver connects through HTTP to the iphone, ipod or iphone simulator. You can run the simulator on another machine on your network and configure webdriver to connect to it remotely.
In the simulator
First, install the iphone SDK from here: http://developer.apple.com/iphone
Download the source from here and open webdriver/iphone/iWebDriver.xcodeproj in xcode.
Set your build configuration to Simulator / iPhone OS 3.2 / iWebDriver. This is done in a drop-down box in the top left of the project window.
Click Build & Go. After compiling, the iphone simulator should appear and the iWebDriver app will be installed in it.
On the device
For now, you will need the full set of development tools from apple to install on your device.
Install the iphone SDK and configure your build environment as described above. You will also need a provisioning profile from Apple to be installed and configured for your device.
Download and open the iWebdriver project as above. Open Info.plist and edit the Bundle Identifier to com.NAME.${PRODUCT_NAME:identifier} where NAME is the name you registered your provisioning profile to be an authority on.
Make sure your device is connected to your computer. Your device must also be routable from your computer. The easiest way to do this is to configure a wifi network and connect your device to it.
Set your build configuration to Device / iPhone OS 2.2 / iWebDriver and click Build & Go.
Category:
Tags:
License:
Standard YouTube License
-
0 likes, 1 dislikes
-
As Seen On:
Iphone Development Ex...
9:45
Automated iPhone Testing using Open Source Toolsby lolayinc2,418 views
21:22
Android webdriver demoby niloycit11,354 views
2:03
Selenium 2 Android Demoby jrhuggins2,296 views
5:53
Test Automation for Mobile Devices: iPhone, BlackBerry, WIndows Mobileby yudanin14,244 views
4:36
SeleniumWithiPhone-part2.aviby 360logica347 views
3:50
Automated UI Tests for jQuery Mobile Apps Using Seleniumby operationmobile2,556 views
3:45
Selenium and Firebug installby bradllj711 views
2:19
SeleniumWithiPhone-part5.aviby 360logica169 views
40:13
Selenium Video Day 1 Training Java Selenium Webdriver Selenium RC IDE Flash Testing ANT Mavenby 4329186710,952 views
2:48
What is ZigBee?by ChipDipvideo16,458 views
1:05
UNIQLOOKS FOR iPHONEby uniqlomixer1,028 views
1:04
JBehave 3.1 + WebDriver example app runningby PaulHammant961 views
2:13
Cucumber Selenium Watir Webdriver and Portal Framework Demoby spriteCloud1,206 views
12:01
Selenium Tutorial Part2.aviby BalajiChopparapu10,260 views
14:20
Selenium Tutorial Part1.aviby BalajiChopparapu36,399 views
5:14
Tutorial Selenium IDEby testingclassroom9,704 views
5:23
XCode Projekte zu .ipa Dateienby ApfelMania1,234 views
2:00
Accelerometer, magnetometer & gyroscope calibrationby SebMadgwickResearch4,421 views
51:24
Top Tips For Writing Better Selenium Tipsby saucelabs1,193 views
2:03
Selenium with Web Driver - 360logica.com/by 360logica894 views
- Loading more suggestions...
Link to this comment:
All Comments (0)