I’m looking to find an Appium function that could indicate if the android phone is rooted or not.
If there’s an already builded function, please let me know, else, how to do to check if the phone is rooted?
Any help is appreciated.
I would try to use
adb or other command line tools, and not some specialized AppiumLibrary keywords.
(But don’t know if Appium have something for this)
Yeah, I would try a Run command from OperatingSystem for adb and check the output. And then, based on a condition, you can determine if the device is rooted or not
Hi @zastress ,
Can you tell me those commands to check.How to use while writing scripts using robot framework