How I Reduced Appium Tests Execution Time By 50%
In this session, I will share the mistakes which We made in the initial phase while creating automated tests using Appium, the reasons behind those mistakes, and the solutions which helped us to reduce Appium tests execution time.
This session is inspired by an activity which we did last year in Financial to improve mobile tests execution time, details can also be found here- Blog Link
Outline/Structure of the Experience Report
We’ll use Java as the programming language for this session.
- Introduction (1m)
- Problem statement (1m)
- Discussing Mistakes, Reasoning behind those mistakes, Problem with Old Approach And Solutions(15 m)
- Execution time comparison between the old and the new approach(1m)
- Q&A (2m)
Learning Outcome
As an Appium beginner, you would leave with the below outcomes
- Which Mistakes to avoid while writing Appium tests as a beginner
- Know which approach is bad for your Appium tests
- Learn how to improve Appium tests execution time with smart decisions
Target Audience
QA Engineers, Test Automation Engineers, Mobile Testers, Mobile Engineers, Product Managers, QA Managers
Prerequisites for Attendees
- (Must have): Beginner-level knowledge of any programming language.
- (Good to have) The basic idea about Appium fundamentals.
Video
Links
- Blog - https://testautomasi.com/blog/2020/08/14/case-study-how-i-reduced-appium-test-execution-time-by-more-than-50/
- Rest API Load Testing Using Locust- https://youtu.be/Ojl6qpX8bYY
- Introduction of Test Automation & Performance Testing- https://www.youtube.com/watch?v=EOBBWtoRayk
- Mobile Cloud Devices- https://www.youtube.com/Xh4fcTcIMgY
- Youtube Channel: https://www.youtube.com/c/TestAutomasi/videos
- Website: https://testautomasi.com
schedule Submitted 1 year ago
People who liked this proposal, also liked:
-
keyboard_arrow_down
Wim Selles - Swiping your way through Appium
45 Mins
Demonstration
Beginner
Mobile applications are becoming more and more important in our daily lives. From ordering clothes to grocery shopping, the services available via an app are increasing rapidly and users expect a seamless experience. This means that the automation focus is shifting more towards mobile devices.
But did you know that there is a huge difference between interacting with a desktop browser and a mobile app? And that difference is just a few tiny hand motions! Because with desktop browser automation we mainly focus on using our mouse, but on devices, we use our fingers to execute all different kinds of gestures, like swipe, scroll, pinch/zoom, and many more. Did you also know that automating mobile gestures is one of the most overlooked features in mobile automation?The most common reason for this could be that we don’t know how to do it, or because it might just be too difficult.
During this presentation, we will focus on how to mimic mobile gestures with Appium for Android and iOS. With a sample app we will explore and understand different gestures including how to scroll, swipe, and pinch/zoom and then create cross-platform and cross-device gestures. By the end of this presentation, you’ll learn how to improve the user experience of your mobile applications by adding gestures to your automation scripts.
-
keyboard_arrow_down
Daniel Paulus - Execute Appium iOS tests inside Linux containers
45 Mins
Talk
Intermediate
Setting up Mac OS X for remote use or as a CI pipeline is never a great experience. Usually we all love using Linux for these purposes, sadly iOS devices don't work on Linux.. or do they? Wouldn't it be cool to just execute Appium servers for iOS devices on Linux machines in Docker containers? Turns out you can absolutely do that and this talk explains how.
I have created go-ios (https://github.com/danielpaulus/go-ios) an open source library that allows you to access iOS device functions like:
- launch XCTests (like WebDriverAgent, an Appium requirement for iOS testing)
- start and stop apps
- and many more
from the command line on both, Mac OS X and Linux.
Because we are using unstable, private Apple APIs, I included my reverse engineering tool "dproxy" that you can use to debug future iOS updates or add missing features to go-ios.
-
keyboard_arrow_down
Dmytro Budym - Mobile automation infrastructure from scratch
45 Mins
Demonstration
Intermediate
Mobile automation is very challenging from select testing framework to preparing infrastructure.
Where will you run test? Emulator or real device, cloud platform or local machine?Today I want to show how to build android and ios emulator clusters to run tests with appium.
- for android we will use Selenoid which automatically runs container with emulator
- for ios we will use Selenium grid and connect appium servers on macs as nodes
So now you can forget about passing UDID to your tests. Just have one entry point per platform. Put host to remote driver and runt tests.