Appium at Scale - Mobile Grid workshop
Selenium Grid can be a bit daunting to get up and running. Starting it is quite easy, but using it effectively can require pulling in third-party tools. In this workshop we’ll cover how to run your grid effectively, using best practices culled from several large grid installations with a hybrid setup for both Selenium and Appium tests.
Outline/Structure of the Workshop
Outline/structure of the Session
- Describe what the grid is intended to solve, then get into how it solves it
- Going deeper into the funnel, how does it get its instructions, and how does it pass them to the nodes?
Set-up
- We’ll start with the conventional setup of hub and node servers running on the same box, for simplicity.
- Different options and flags that can be used when starting the hub/node processes
- What kinds of logging do the nodes/hubs do that can help in debugging and investigating problems?
- Setup a hybrid grid of desktop browsers and mobile devices/emulators
Running
- How to run Appium server with custom node-config to connect to Selenium Grid?
- What are Android and ios Parallel Testing Capabilities?
- How do you run Appium tests in Parallel?
- How do you run the Appium test against the hybrid Grid setup?
- How do you look at the logs of tests running?
Advanced Grid
- How to use Appium Docker images?
- Setting up a UI manager for all your docker installations
Extras
- https://github.com/budtmo/docker-android
- Selenium Grid on Amazon ECS using ecs-selenium
- Overview of third-party tools: Zalenium, AppiumTestDistribution
Learning Outcome
- What Selenium Grid is and are its capabilities
- How to run a grid(Appium + Selenium tests)
- How to scale nodes
- How to debug
Target Audience
Anyone who wants to learn about Set up, debug and Scaling Selenium Grid
Prerequisites for Attendees
- Please follow the "Installing Appium" section on http://appium.io/docs/en/about-appium/getting-started/
- Install Android Studio https://developer.android.com/studio and create at least one Android emulator
- If you have an OSX machine, also install Xcode and create at least one iOS simulator
- Verify the installation by following the section "Verifying the Installation" on http://appium.io/docs/en/about-appium/getting-started/
- Selenium Standalone Server (latest): https://www.seleniumhq.org/download/
Optional
- Docker
- Windows: https://docs.docker.com/engine/installation/windows/
- This will include installing Hyper-V
- Mac: https://docs.docker.com/engine/installation/mac/
- Linux Distributions: https://docker.github.io/engine/installation/linux/
- The requirements will vary depending on the flavor of Linux being used
- Windows: https://docs.docker.com/engine/installation/windows/
Public Feedback