android_zoom.py: fix Zoom 6.x control detection and harden the join flow - #359
Merged
Merged
Conversation
Signed-off-by: Narayana-CT <narayana.pinapatruni@candelatech.com>
Signed-off-by: Narayana-CT <narayana.pinapatruni@candelatech.com>
Verified CLI:
python3 lf_interop_zoom.py --duration 2 \
--lanforge_ip <lanforge_ip> \
--signin_email <zoom_email> --signin_passwd <zoom_passwd> \
--participants 6 --audio --video \
--upstream_port <upstream_ip> \
--zoom_host 1.13 \
--resources 1.13,1.12,1.15,1.16,1.22,1.25 \
--api_stats_collection --env_file .env
Signed-off-by: Narayana-CT <narayana.pinapatruni@candelatech.com>
goyalsaurabh06
approved these changes
Aug 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Android participants running Zoom 6.x joined meetings but never turned their
camera on, so they contributed no uplink video to the results while the run
still exited 0 and produced a clean-looking report. This branch fixes that and
makes the join path more robust.
Three commits, all in
py-scripts/real_application_tests/zoom_automation/android_zoom.py:cff162b14fe2c89e6bb72fdeRoot cause of the main bug
Zoom labels the same in-meeting controls differently between releases:
content-descfor the mic buttonMute my audio, buttonMute my audio Button 1 of 136.x drops the comma, capitalises
Button, appendsN of 13, and labels Leavethrough
text=with an emptycontent-desc. The matchers used exact equalityagainst the 7.x strings only, so on 6.x clients:
get_audio_control_info()/get_video_control_info()returnedNoneenable_audio_video()logged "button not visible" for all 15 retries and leftthe camera off
get_leave_control_info()found nothing and fell through to pressing backThis was confirmed by dumping the live UI hierarchy from a 6.6.0 device while it
sat in a meeting with the toolbar visible: the buttons were present and
readable; only the string comparison failed. Enabling Zoom's
"Always show meeting controls" does not help, because visibility was never the
problem.
_control_label()now readscontent-desc, falls back totextwhen that isempty, and callers compare on the label prefix, so both layouts resolve.
Other changes
declares on that device, so one code path covers every API level, and sets
SYSTEM_ALERT_WINDOWthrough appops sincepm grantcannot. This replacesclicking the "While using the app" / "Allow" dialogs.
captured by a browser or a chooser dialog.
reached the preview screen only after 26 seconds and would have failed at 5s.
Testing
Three consecutive 2-minute runs on the interop testbed, host plus five Android
devices, covering Zoom 6.5.12, 6.6.0, 7.0.4, 7.1.6 and Android SDK 31, 33, 36
(OPPO CPH2725, Pixel 4a x2, Samsung SM-F415F, Samsung SM-A217F).
Every participating device joined, reported both audio and video enabled, and
left without falling back to the back key. Before this change, only the two
Zoom 7.x devices managed that; the three 6.x devices failed all 15 A/V retries.
Both label variants were exercised in the logs.
Verified with:
Known limitations
adb pm grant, and this branch removes the UI dialog handling that used tocover it. Devices where the mic/camera prompts were already accepted once are
unaffected, which is why the OPPO in the testbed still passes.