Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tech Next - -AMIT DIXIT -DIPESH BHATEWARA Cross Platform UI testing using Sikuli.

Similar presentations

Presentation on theme: "Tech Next - -AMIT DIXIT -DIPESH BHATEWARA Cross Platform UI testing using Sikuli."— Presentation transcript:

1 Tech Next - -AMIT DIXIT -DIPESH BHATEWARA Cross Platform UI testing using Sikuli

2 Tech Next - Objective Testing of mobile based application Current platform specific tools Challenges Generic Solution For All The Platforms

3 Tech Next - Mobile Platforms And Testing Tools Android Android Instrumentation RobotiumSeleniumdroid iOS UI AutomationFoneMonkeyFrank Symbian CTS (Compatibility Test Suite)

4 Tech Next - Android Android Instrumentation Instrumentation framework based on JUINT3 Framework supports activities, toasts, context menus etc. Robotium Extends Android Instrumentation Framework Can develop powerful test cases Can handle multiple activities Blazing fast test execution Runs on a device Selenium droid Runs in android browser Use native touch events to emulate user interaction Paid Tool See Test

5 Tech Next - iOS UI Automation Tests in JavaScript Allows you to write test scripts to exercise your applications user interface elements Runs on a connected device / simulator FoneMoneky FoneMonkey is a functional testing tool for the iPhone providing for the interactive creation, editing and playback of automation scripts Easily incorporated into continuous integration Frank Provide support for automating functional testing of an iOS app. Integrate with BDD tools like cucumber Works on device and simulator

6 Tech Next - Challenges Generic Challenge Diversity of devices /platforms Application complexity Technical Challenge Large no of test cases Verification of UI

7 Tech Next - Solution Test Automation Generic Way for Test Automation on multiple platforms(Use tools like Sikuli). This will solve maintenance problem. Build Reliable and comprehensive test framework Benefits Cost Reduction Increased productivity Better application Quality

8 Tech Next - Nature of Mobile Applications (xcode – objective C) Calculator(XC ODE – Objective C) (java – android SDK) Calculator (java- android SDK) (webos – JS/CSS) Calculator (webos – JS/CSS) Application (Calculator)

9 Tech Next - Approach to solve the problem Image 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.

10 Tech Next - 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 Can perform actions on Emulator (Virtual Boxes) Easy to automate.

11 Tech Next - Limitations of the approach Highly depends on the Resolution. Can not run in background. Dynamic paths are tricky to automate.

12 Tech Next - 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 API's support Works on Windows, Mac, Linux.

13 Tech Next - Sample Sikuli Script

14 Tech Next - DEMO

15 Tech Next - Solution proposed in demo to test Calculator Use Java for test Project, Use Junit Import Sikuli Script API Write single test which will use an interface for calculator operations Implement interface for Android and Iphone with different set of images required for automation Run same test by changing the configuration on multiple emulators/devices Can see the device on your machine using VNC and use that view to run your test on.

16 Tech Next - Q & A

Download ppt "Tech Next - -AMIT DIXIT -DIPESH BHATEWARA Cross Platform UI testing using Sikuli."

Similar presentations

Ads by Google