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.
Bluehost-Premature end of headers in python script
numpy.array_split() odd behavior
Memory allocation for numpy.array with copy=False?
Draw contours of detected objects using python and opencv
simple web crawler i need to eliminate the duplicate URL that present in the array
Python: comparing list to a string
Is there any way to write '\r' into a file on linux with python? [closed]
matplotlib retrieve color from plt.plot command
Why are tuples slower than lists at evaluating generators into themselves?
call and control git bash from python script in windows
How get in real time POST update with django and instagram api?
Binary search tree insert method
Log scale mathplotlib in Python?
Why does python come with so many similar, but subtly different functionality for fulfilling certain elementary computing tasks?
How to have adjacent elements reduced to a single element [closed]
adding row to pandas dataframe from series