python


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.

Related Links

scaling websocket game application server
Is there a way to find a character's Unicode code point in Python 2.7?
figtext datetime function matplotlib
environment variable in ubuntu
Cross-platform Python Executables
Extract subarray from collection of 2D coordinates?
tkinter populate treeview using threading pool
How to make a function determining the winner of Tic-Tac-Toe more concise
Django update model entry using form fails
ctypes using HRESULT(python)
How to export property values with django-import-export
Plotting Coordinate Lines Using Matplotlib
BASH - Summarising information present in 2 genotype data columns in one column (ped file) [closed]
Python 3: How to call function from another file and pass arguments to that function ?
Streaming mp3 files in Django through Nginx
Opening PE file with Bokken

Categories

HOME
sharepoint
sql-server
cluster-computing
pug
elixir
openssl
vhdl
checkbox
windows-7
wxwidgets
youtube-livestreaming-api
actionscript
apollo
eval
click
oclint
keystore
android-source
ejs
phpbb
ng-show
jpeg2000
internet-explorer-8
thumbnails
pycrypto
shippo
kitematic
dspic
cronet
activepython
sumo
rhandsontable
helper
rowcount
exponential
windows-10-iot-core
bing-maps-api
socketpair
meta-raspberrypi
sendgrid-templates
viewgroup
jupyter-console
crop
jdbi
rkt
php-ews
double-buffering
production-environment
shutdown
ruby-on-rails-2
fedora20
iphone-developer-program
gmt
lotus
rxvt
emgu
angularjs-ng-pattern
zurb-foundation-apps
metalsmith
mongo-c-driver
loopj
android-cursoradapter
eyeql
prezto
findcontrol
hg-git
java-melody
em
smartystreets
level
kraken.js
unison
visual-c++-2010-express
wic
angulartics
sttwitter
ienumerator
tfs-power-tools
xmlslurper
ninject-extensions
msgbox
hashalgorithm
nsindexpath
windows-live-id
squeel
symbol-server
email-spec
querypath
quick-search
aio
mvvm-foundation
savestate
inline-if
castle-validators
usergroups

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App