@BagmarAnand 1
Automating the real-user scenarios
across multi-apps & multi-devices
Anand Bagmar
Software Quality Evangelist
@BagmarAnand 2
BagmarAnand
https://www.linkedin.com/in/anandbagmar/
About Me
@BagmarAnand 3
• Simulate user actions & behaviour
Why do we automate functional tests?
https://psmag.com/.image/t_share/MTI3NTgxNjE2MTc1MzU2Mzgy/replicate-this.jpg
@BagmarAnand 4
• Includes delays / waits to inspect and then proceed with next
action
Functional automation includes …
https://thumbs.dreamstime.com/b/colorful-pedestrian-safety-sign-board-closeup-detail-view-161641524.jpg
@BagmarAnand 5
Application under test
https://sites.udel.edu/njimenez/files/2018/05/how-to-create-a-website-feature-image-e1496943224192-1yzdyp6.jpg
@BagmarAnand 6
Automation Scenarios
https://i.stack.imgur.com/W4hm7.png
@BagmarAnand 7
Solved problem
https://www.joydeepdeb.com/images/problem-solved.jpg
@BagmarAnand 8
Many options
https://www.joydeepdeb.com/images/problem-solved.jpg
@BagmarAnand 9
teswiz
https://github.com/znsio/teswiz
@BagmarAnand 10
How does teswiz solve this problem?
@BagmarAnand 11
How does teswiz solve this problem?
API paths called out clearly
@BagmarAnand 13
There is another category of
complexity
@BagmarAnand 14
We live in a hyperconnected world
https://www.oxfordmartin.ox.ac.uk/images/_810x540_crop_center-center_none/dreamstime-worldtrademap.jpg
@BagmarAnand 15
World of
Collaboration & Interactions
https://res.cloudinary.com/hy4kyit2a/f_auto,fl_lossy,q_70/learn/modules/manage_the_sfdc_way_virtual_collaboration/msfw_virtual_collab_recognize_importance_impact/images/3deb17ff7e28a047bb
95f9206ccfddff_ck-36-flx-10004-l-0-yaq-9-gi-941-pw.png
@BagmarAnand 16
How do you automate such
scenarios?
https://moodle.loyola.ca/pluginfile.php/81311/mod_label/intro/man-with-question-01.png
@BagmarAnand 17
teswiz
https://github.com/znsio/teswiz
@BagmarAnand 18
Multi-users
Web, Mobile-Web, Android, iOS, Windows, MacOS, Linux
https://us.123rf.com/450wm/mar1koff/mar1koff2004/mar1koff200400003/145344525-video-conference-colleagues-taking-part-in-video-conference-in-home-virtual-work-meeting-software-fo.jpg
@BagmarAnand 19
How does teswiz solve this problem?
@BagmarAnand 20
teswiz demo
CONFIG=./configs/jiomeet_config.properties TAG="@jiomeet and @multiuser-android and @single-
app" ./gradlew run
@BagmarAnand 21
Multi-platforms
Web, Mobile-Web, Android, iOS, Windows, MacOS, Linux
https://us.123rf.com/450wm/mar1koff/mar1koff2004/mar1koff200400003/145344525-video-conference-colleagues-taking-part-in-video-conference-in-home-virtual-work-meeting-software-fo.jpg
@BagmarAnand 22
How does teswiz solve this problem?
@BagmarAnand 24
teswiz demo
CONFIG=./configs/jiomeet_config.properties TAG="@jiomeet and @multiuser-android-web and
@single-app" ./gradlew run
@BagmarAnand 25
Multi-app Scenario
https://d2908q01vomqb2.cloudfront.net/fb644351560d8296fe6da332236b1f8d61b2828a/2020/12/14/Picture1-6.png
https://www.eseller365.com/wp-content/uploads/2017/08/woman-warehouse-scan-packages.jpg
https://expresswaycourier.com/wp-content/uploads/2018/08/delivery-mail-people-and-shipping-concept-picture-id891482746.jpg
1. Place order 2. Warehouse processes order
3. Ship order to local
delivery station
4. Deliver order
5. Confirm order status “delivered”
@BagmarAnand 26
Multi-app (versions)
https://qph.cf2.quoracdn.net/main-qimg-8c332da930627cec802864b43a9d27bf-lq
@BagmarAnand 27
How does teswiz solve this problem?
@BagmarAnand 28
teswiz demo
CONFIG=./configs/jiomeet_config.properties TAG="@jiomeet and @multiuser-android and @multi-app"
./gradlew run
CONFIG=./configs/jiomeet_config.properties TAG="@jiomeet and @multiuser-android-web and @multi-app"
./gradlew run
@BagmarAnand 29
teswiz - Reports
ReportPortal
Applitools
Feature / Functional Coverage
@BagmarAnand 30
ReportPortal
@BagmarAnand 31
ReportPortal
@BagmarAnand 32
ReportPortal
@BagmarAnand 33
ReportPortal
@BagmarAnand 34
Applitools
@BagmarAnand 35
Feature / Functional Coverage
@BagmarAnand 36
teswiz
https://github.com/znsio/teswiz
@BagmarAnand 37
• Open source framework to automate real-user scenarios
• Multi-user
• Multi-device
• Multi-app
• Various cloud device farm integrations
Unique capabilities of teswiz
@BagmarAnand 38
• Web browsers
• Mobile-web browsers
• Android apps
• iOS apps
• Windows desktop apps
Platform support
@BagmarAnand 39
• cucumber-jvm (https://cucumber.io)
• AppiumTestDistribution
(https://github.com/AppiumTestDistribution/AppiumTestDistribution) -manages Android
and iOS devices, and Appium
• Appium (https://appium.io)
• Selenium WebDriver (https://selenium.dev)
• reportportal.io (https://reportportal.io)
• Visual Testing integration with Applitools Visual AI & Applitools Ultrafast
Grid (https://applitools.com)
• Build tool: gradle 7.3.3
teswiz tech stack
@BagmarAnand 40
Running tests using teswiz
Defaults
Property files
Environment
Variables
@BagmarAnand 41
How to proceed?
https://images.squarespace-cdn.com/content/v1/52d2e67ee4b061d68ce10eb3/1482242743879-A3JNK2SSZYJFWKX648BD/image-asset.jpeg
@BagmarAnand 42
getting-started-with-teswiz
https://github.com/znsio/getting-started-with-teswiz/
https://ky.learningprofessor.com/wp-content/uploads/2022/03/get-started.jpg
@BagmarAnand 43
teswiz
https://github.com/znsio/teswiz
@BagmarAnand 44
BagmarAnand
https://www.linkedin.com/in/anandbagmar/
Thank You

Automating the real-user scenarios across multi-apps, and multi-devices