schedule Jun 13th 10:00 AM - 06:00 PM place Pluto people 25 Interested add_circle_outline Notify

Have you ever wondered how Appium works under the covers? Do you get frustrated with locators not locating, app screens not loading, or test behaving inconsistently from one run to the next? Appium is an attempt to unify thousands of disparate elements across a wide spectrum of challenges into a single, common interface that works seamlessly across all the major mobile and desktop OSs - and yet only a handful of volunteers work to maintain this gigantic effort. If you would like to enhance your own Appium experience while contributing back to the software that has defined so many of our careers, come to this workshop. We'll dissect the different elements of Appium, dive into its internals, learn how it was built and how to make changes to it, and even write a unit test you can contribute on the same day!

 
 

Outline/Structure of the Workshop

  1. Understand Appium dependencies
    • NodeJS, Appium entry-point, each driver
  2. See how the source code is structured
  3. Learn how to build Appium environment on your own desktop
    • node and one client
  4. Run a test code for the local environment
  5. Walk through Appium logs
  6. Find an issue on driver or client side
    • Drivers: NodeJS, Java, Kotlin or Objective-C
    • Clients: Java, JavaScript, Ruby, Python, .NET
  7. Create a PR for client or driver
  8. Ask questions in the presence of several of the core committers
    • Learn what it takes to become one of the core committers. This free, Open Source project always needs more help

Learning Outcome

Deep dive into Appium Project and hopefully, when you leave, you would be able to start contributing to the open source project.

Target Audience

Anyone interested in understanding the internals of Appium Project

Prerequisites for Attendees

Attendees should at least learn till step 4 of the structure first.

Attendees should have:

  • Appium downloaded from NPM
  • Appium set up and working for ios and android (or just android if they don’t have a mac)
  • Git
schedule Submitted 10 months ago

Public Feedback

comment Suggest improvements to the Speaker

    • Liked Anton Angelov
      keyboard_arrow_down

      Anton Angelov - How to Test the Test Automation Framework?

      Anton Angelov
      Anton Angelov
      CTO
      Automate The Planet
      schedule 11 months ago
      Sold Out!
      45 Mins
      Demonstration
      Intermediate

      Nowadays, more and more companies are building test automation frameworks based on WebDriver and Appium for testing their web and mobile projects. A big part of why there are so many flaky tests is that we don't treat our tests as production code. Moreover, we don't treat our framework as a product. In the talk, you will see examples of how you can automate the testing of your test automation framework and be sure that it is highly reliable. You can get lots of ideas for various types of tests such as learning tests verifying that 3rd party dependencies are not breaking the code, compatibility tests checking that the UI components are working for each mobile control on each OS, cross-platform verifications for testing whether everything is working on multiple OS. Sample test environments for storing different distributions of the framework packages will be presented.

    • Liked Srinivasan Sekar
      keyboard_arrow_down

      Srinivasan Sekar / Sai Krishna - Native mobile commands in Appium

      45 Mins
      Tutorial
      Intermediate

      Apple and Google’s test automation framework does not natively support W3C standards for few web driver spec implementations directly for e.g TouchActions interface in XCTest, etc. Although test automation frameworks support a rich set of those functions specific to platforms, Appium does provide ways to directly invoke these functions e.g gestures, biometric handling, etc.

      Many special behaviors and workarounds are made available and achieved only through executing platform-specific native commands of Appium. For instance, there are 100+ issues been reported on date picker or handling picker wheel in the appium organization but it can be achieved quite easily by executing native mobile commands.

      There are so many that testers might not get chance to go through each one of these and get acquainted with all of those. Native mobile commands help to handle much complex use cases like biometric handling, talking to Siri, performance profiling, etc quite easily.

    • Liked Kazuaki Matsuo
      keyboard_arrow_down

      Kazuaki Matsuo - Uncovering breaking changes behind UI on mobile applications

      45 Mins
      Case Study
      Intermediate

      It is essential to track user logs correctly to improve and develop your own web/mobile services continuously. For instance, how users flow on your applications to evaluate if they work expectedly or not.

      Meanwhile, mobile application trends have been changed quickly such as architectural things or UI related one. Developers continue to add, refactor or rewrite their applications frequently. They also need to release them frequently, 2-week release for instance. Their business also changes quickly. A number of developers working for one application also has been increasing.

      As a result, it is quite difficult to catch up with everything. Developers know a part of them. They add, rewrite or refactor codebase they do not know well with exploratory it. Functionalities related to UI are easy to understand. But, it is difficult to uncover what happens in the backend such as what kind of logs the app sends to servers.

      In Android case, if one application sends a log to a server on a fragment's onCreate. But the fragment can use in another view. If a developer does not know what the log means, he/she might re-use the fragment in another view if he/she think they can re-use it. It can break activity logs collecting on the server side. How to maintain logs is also an interesting topic though.

      In general, we notice the breaking after releasing the app since we can easy to observe the number statistically. But, it means we can not use the data to evaluate our business correctly until we fix it and re-release it.

      In this talk, I would like to show an example of how I had been implemented to uncover the above thing following some scenarios based on my experience. It might be an example what we already can automate in the mobile world.

      This topic is similar to monitor CPU/Memory/network thing. This story is based on my experience I had been worked for a couple of years.

    • Liked Kazuaki Matsuo
      keyboard_arrow_down

      Kazuaki Matsuo - Start contributing to OSS projects on your way

      20 Mins
      Talk
      Beginner

      Through a story of my contribution to OSS projects, especially Appium, you can learn how you can start contributing to OSS world. I would also give some examples to start it.

    • Liked Daniel Graham
      keyboard_arrow_down

      Daniel Graham - Unlocking New Testing Capabilities with Espresso Driver

      Daniel Graham
      Daniel Graham
      Software Engineer
      Sauce Labs
      schedule 10 months ago
      Sold Out!
      45 Mins
      Talk
      Intermediate

      Android's Espresso framework was created as a "gray-box" testing framework, "gray-box" meaning that it's an automated UI testing framework ("black-box") but it has access to the internals of the application ("white-box"). Allowing access to the internals of the application-under-test opens up many new testing possibilities that weren't possible with UiAutomator2 (with some risks).

      Here are the four new possibilities I would like to discuss (with coding examples)

      • Access to internal app code
      • Less flakiness thanks to "IdlingResource". No need for 'waits' and 'delays' for UI.
      • Navigate WebViews using Espresso WebAtoms (this feature is in progress, will be ready well before June)
      • Find elements off-screen using Espresso's DataMatchers (this feature is in progress, will be ready well before June)