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.
exporting data to a file in python
Can we do random write on a HDF file in Python?
Python code to change all xlsx files in directory to CSV corrupting original file
How to fit a Dictionary into a CSV file with all the values in the keys in a different column within the same row in python
how to retrieve the text within the label tag using python selenium ? i want to use this text to assert testcase to pass/fail
I'm getting an error on a ticTacToe game i'm making in python, can't figure out proper solving of this error anywhere
SELECT statements not grabbing data with Python Flask
python 3 class instances calling each others' attributes/variables?
“myobject” is not Iterable, but my obect is erased
SSL Certification Error > hostname doesn't match
Sequencing of elements in dict python
Keras error : Expected to see 1 array
import mxnet dmlc error Entry add_n already registered under different entry
How to open and execute kill task code through html
how do I remove unwanted empty dimension from xarray DataArray (squeeze doesn't work)
How to do math expression from input() in Python?