adb -H localhost -P 5037 devices
localhost
and 5037
with right IP address and port
Hi xiaocong,
I am trying to develop test for my Android devices Alert dialog, While trying for this the outcome of d.dump() don't show any change in the output if there is alert dialog (systemDialog) is on screen of not there on screen..where as I am able to detect(getting package name) that through command <adb shell "dumpsys window windows">. Can advise any way where I can get the Properties Table for alert dialog (systemDialog) through UI automator python wrapper??
One more way I tried to find/detect the alert dialog (syatemDialog) is through Android studio (through Layout Inspector). In this case I can see the Properties Table for my systemDialog.
Can you suggest some way? where I can find/read 'system_dialog_title' and 'system_dialog_message' text and can perform button operations(OK, YES, NO...) on the it through this python wrapper UIautomator??