Test Inside Containers: Dockerize Appium Tests - Srinivasan Sekar - Senior Consultant, ThoughtWorks
Vložit
- čas přidán 11. 09. 2024
- Test Inside Containers: Dockerize Appium Tests - Srinivasan Sekar - Senior Consultant, ThoughtWorks
In this presentation, Srini will demonstrate how to leverage containers to solve infrastructure challenges, scalability, device coverage and more. The presentation will cover the basics of containers and how to build your own docker for Appium Android. He will discuss why Docker containers are necessary when using Appium (eliminating Appium setup as a whole). The presentation will also cover how to build your own Docker cloud, how to squash Docker images to reduce disk space, and using DevBox containers in an agile model.
Srinivasan Sekar, did you do it from OS X?
There is not path /dev/bus/usb on OS X, so I get an error:
RROR: for appium-android Cannot start service appium-android: Mounts denied:
The path /dev/bus/usb
is not shared from OS X and is not known to Docker.
Hey there)! Ned help. Unfortunately I do not get it( Is it possible to Dockerize iOs Automation tests? I need to run my tests CI/CD on simulator but as I understood it neds Mac os inside container is it right?
I am not able to copy the app in the container .
It shows "docker cp" requires exactly 2 arguments.
Hi , for me appium execution is refusing the connection .. to connect the appium server in virtual box's container
Not sure how many people got help from this video. I would say waste of time watching this.
Hi May I know why Virtual Box is required here ?
Simple... it maintains the containers ... of which our devices are connected into it..
for me after 'ls' unable to get the saved application in container
Anyone tried parallel testing? I was able to connect real android devices to Selenium Grid using Docker. But tests are launched only on one device instead of all.
27:13 How to set up TestNG. Take note of URL pointing to Docker's URL
27:46 Running the Appium Docker img. Might need to change the Port and IP Address (see timestamp why)
29:58 Connect apk location to Docker port so tests can run.
Wondering why b/c I thought Eclipse will take care of that and Appium only monitors the app via real device.
33:27 Concept of Dockerizing tests with Java 8 and Maven.
Right after, talks about how to use *docker-compose* as shortcut
I use docker container for web automation parallel execution e.g. I've multiple containers up and running with each one having a browser. Then I make use of Selenium Grid to distribute tests to these containers.
Is it possible to do with Appium docker container as well ?
Where each of the containers can have simulator and I distribute tests ?
Any solution for this?
I think it is possible
Github link to the source code?