Mobile Applications         Dipesh Bhatewara and Automation                      Synerzip Pvt. Ltd.                       ...
Outline of the talk   Ways to test mobile applications   Challenges in automation testing Automation approach to achiev...
Nature of Mobile Applications                    (xcode – objective C)                         Email Client               ...
Ways to test mobile application                  Mobile Application      Mobile Device                    Emulator        ...
Challenges in automationDifferent platforms involved in running a testNo object handles available for Object Based Testing...
Challenges in automationWriting automated test in emulator/device.Need to have knowledge of the technology platform of eac...
Approach to solve the problemImage based test automation    Automate user operations eg. Click,    type, drag-drop, mouse...
Advantages of the approach    Can accurately test GUI and rendering of    applications.   Write test outside the device...
Limitations of the approach   Highly depends on the Resolution.   Can not run in background.   Dynamic paths are tricky...
What is Sikuli?    Visual technology to automate GUI using    images.    MIT research project. Open Source    license. ...
Sample Sikuli Script                       11
DEMO       12
Solution proposed in demo to test CalculatorUse Java for test Project, Use JunitImport Sikuli Script APIWrite single test ...
Q&A              dipesh_bhatewara@yahoo.comhttp://in.linkedin.com/pub/dipesh-bhatewara/2/498/612                          ...
Upcoming SlideShare
Loading in...5
×

Mobile applications and automation testing

504

Published on

Technical presentation in the IndicThreads Software Quality Conference 2011

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
504
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
25
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Emulator: Is available before release of mobile device. Good for frequent and early testing. Device: Exact performance can be measured. Need to test hardware support for all operations.
  • Dynamic Path: Calender appointment gets highlighted with red color. You need to get date when the appointment is there and email it.
  • Transcript of "Mobile applications and automation testing"

    1. 1. Mobile Applications Dipesh Bhatewara and Automation Synerzip Pvt. Ltd. dipesh_bhatewara@yahoo.com Testing http://in.linkedin.com/pub/dipesh-bhatewara/2/498/612 1
    2. 2. Outline of the talk Ways to test mobile applications Challenges in automation testing Automation approach to achieve single automation solution on multiple mobile platforms A possible solution using Sikuli Demo 2
    3. 3. Nature of Mobile Applications (xcode – objective C) Email Client (XCODE – Objective C) • (java – android (webos – JS/CSS) Application SDK) (Email Email Client Client) Email Client (webos – JS/CSS) (java- android SDK) 3
    4. 4. Ways to test mobile application Mobile Application Mobile Device Emulator 4
    5. 5. Challenges in automationDifferent platforms involved in running a testNo object handles available for Object Based Testing Application Test Automation Code : under test : Emulator (Virtual Test Machine (Windows) Box) 5
    6. 6. Challenges in automationWriting automated test in emulator/device.Need to have knowledge of the technology platform of each Device to write testing application within.No generic automation framework available for all mobile platforms or devices 6
    7. 7. Approach to solve the problemImage based test automation Automate user operations eg. Click, type, drag-drop, mouse actions etc. Visual verification of the expected output Not dependent on platform underneath Can be used to automate emulator as well as device. 7
    8. 8. Advantages of the approach Can accurately test GUI and rendering of applications. Write test outside the device Can be used to automate multiple devices without getting into details of each platform technology Easy to automate. 8
    9. 9. Limitations of the approach Highly depends on the Resolution. Can not run in background. Dynamic paths are tricky to automate. 9
    10. 10. What is Sikuli? Visual technology to automate GUI using images. MIT research project. Open Source license. Sikuli IDE Sikuli Script API Automates anything on screen without internal APIs support Works on Windows, Mac, Linux. 10
    11. 11. Sample Sikuli Script 11
    12. 12. DEMO 12
    13. 13. Solution proposed in demo to test CalculatorUse Java for test Project, Use JunitImport Sikuli Script APIWrite single test which will use an interface for calculator operationsImplement interface for Android and Iphone with different set of images required for automationRun same test by changing the configuration on multiple emulators/devicesCan see the device on your machine using VNC and use that view to run your test on. 13
    14. 14. Q&A dipesh_bhatewara@yahoo.comhttp://in.linkedin.com/pub/dipesh-bhatewara/2/498/612 14
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×