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.
Can I use Flask and flask-restul to return JSON to API calls but HTML to browsers?
Keras input dimension
Adding a loop to “digital root” function in Python3
How to use a linear index to access a 2D array in Python
Tflearn Custom Objective function
Text Classification - Label Pre Process [closed]
how to get matched substring list in a json-type string with python?
Lambda Expressions: Returning Multiple Values
Using CUDA8 in theano
matplotlib.widgets Button doesn't work inside a class
fault in readline() or condition
How to set PYTHONSTARTUP script for Intellij/PyCharm
Learning Python the Hard Way (Third Edition) Exercise 11 Print statements not printed until after input is entered
Pandas read in chunks of data with variable number of rows?
Python3 Regex: Remove all characters except / and | from string
python can`t get correct page source code