1

i wanted to know whether we can hardware(CPU,Memory) level stats of mobile device while running the test(for only that application i am running the test ) using Appium on the device.

1 Answer 1

2

What is possible with Appium on Android as of now

Phones should be connected to same machine where tests are running.

in test code you execute:

 adb shell dumpsys cpuinfo
 adb shell dumpsys meminfo 'your apps package name'

and in code just parse values needed. then just print them in test logs and just manually looked through them.

Sign up to request clarification or add additional context in comments.

3 Comments

is it can be done using java selenium java driver also as i will be running my script on aws device farm
Pls raise this comment as new question and tag it under selenium, so you can get expert opinion.
I had raised in different thread (stackoverflow.com/questions/48340115/…)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.