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??
I am trying to simulate a drag and drop action using Python wrapper for UIAutomator and I see that there is a drag function which can be used but the problem is that it just drags the element to the other element but does not drop. Can you please help me on how can I implement the drag and drop action? TIA