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.
list where multiple values have to be found and replaced with two new values
Tornado add delay between HTTP requests
Tensorflow: Convert Tensor to numpy array then pass into a feed_dict
How do I convert all python operations involving None to None values?
how to split the last element in the string
datetime.strptime unexpected behavior - locale issue
Repeating python code multiple times - is there a way of condensing it?
How to install scikit-learn for Python 3?
Passing several arguments for rendering template
Templating – Pass variable references in Python from a config file
Changing loop to organize and reduce XML output
How to do multiple operations in $filter?
django contenttype / genericforeignkey : why need content_type and object_id, if can be inferred from content_object
How can three double quotation marks be stored in a Python docstring?
How to get a name of a css property using selenium-python?
Install error in simpleCV for Python