Android testing with_selenium
Upcoming SlideShare
Loading in...5
×
 

Android testing with_selenium

on

  • 8,238 views

Test your website with Android and Selenium at http://testingbot.com

Test your website with Android and Selenium at http://testingbot.com

Statistics

Views

Total Views
8,238
Views on SlideShare
8,236
Embed Views
2

Actions

Likes
5
Downloads
144
Comments
3

1 Embed 2

http://www.scoop.it 2

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

13 of 3 Post a comment

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • hello @manjunatha
    u can do but only with mobile web applications like m.onlinesbi,com,m.redbus.in
    Are you sure you want to
    Your message goes here
    Processing…
  • Hi, Can I test the Android Applications(Tablet Applications) on the using Selenium?
    Are you sure you want to
    Your message goes here
    Processing…
  • Hi,

    can I run one test on multiple browsers on an Android device using selenium grid or even for that matter on multiple devices? Provided off course I have them installed on my device

    Thanks,
    Shridhar
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Android testing with_selenium Android testing with_selenium Presentation Transcript

    • Android Testing With Selenium by TestingBot.com
    • What's Selenium?
      • Selenium is a mature open-source project which provides easy browser testing. Google is an active contributor to the Selenium source code.
      • The old version of Selenium uses Javascript to automate a browser. The newest version uses Webdriver, an API to control the browser without using (slow) Javascript.
    • Android and Selenium
      • An open source Android emulator is available, which can be hooked up to a Selenium grid. 1. Download the Android SDK
      • 2. Create a virtual image
      • 3. Start the emulator
      • 4. Load the Webdriver connector onto the Android emulator
      • 5. Launch a Selenium RC node which connects to the Android emulator
    • Download the Android SDK
      • You can get the latest version at  http://developer.android.com/sdk/index.html
      • Install the SDK and indicate you want to install the necessary Android packages.
    • Create a virtual image
      • Enter the following commands in your terminal:
      • cd ~ /android_sdk/ tools / $ ./ android create avd - n my_android - t 1 - c 100M
    • Start the emulator
      • You can now start the Android emulator by typing this command:
      • emulator - avd my_android
    • Load the Webdriver connector onto the Android emulator
      • adb - s <serialId> - e install - r  android - server . apkadb - s <serialId> shell am start - a android . intent . action . MAIN - n org . openqa . selenium . android . app /. MainActivity
    • Launch a Selenium RC node which connects to the Android emulator
      • java -jar selenium-standalone.jar -role node -hub http://hub.testingbot.com:4444/grid/register -browser browserName=android,platform=ANDROID
      • This will launch a Selenium node connecting to the TestingBot grid, which connects the Android emulator to our Selenium grid.
    • Questions
      • Run free Android tests on our Selenium grid, sign up for free at http://testingbot.com
      • Questions? Please ask!