Testing phone call service or wifi with appium in python
In python I want to know if i can test phone call service with appium so as Wifi or bluetooth . the point is i can with appium press phone call button and dial number but how actually i can test that phone call is established ? same is for bluetooth - wifi - phone pairing one dumb way is to press dial button and compare dial screen with a presaved screen but this is only UI testing, not connection service testing. if it can't be done with appium,do you know how it can be done ?
After clicking the call button via appium, you can check the call state via adb: >>> import subprocess >>> output = subprocess.check_output("adb shell dumpsys telephony.registry | grep mCallState", shell=True) >>> print(output) b' mCallState=0\n' From here.
How to add the second line of labels in matplotlib plot
Join dataframes - one with multiindex columns and the other without
How to set up multiple frames
Create a python programm standalone on windows 7 [duplicate]
Execute python script on remote server from another script
Passing a variable between two methods in Python?
What is the best way to add custom methods into generated protoc classes for Python?
Retain edit data for one form when submitting a second
Associating string representations with a Python Enum that uses integer values
python3 for win and cygwin - line endings in buffer
How invert the result used the method sort
Adjusting weights based on share prices for a investment portfolio using pandas
Python split data and create variables/list of content (variable name + data)
Overwrite Not Working
Selenium: how to select text in CSS?
How to maintain dictionary element order in JSON dump in Python