Driod
Driod

Reputation: 23

How to get ADB logs using eggPlant automation tool

Can anyone tell me how can we get adb logs using eggPlant automation tool.Actually i want to have adb logs for my device when running eggPlant scripts.

Please help me out in this situation.

Upvotes: 0

Views: 321

Answers (2)

Vish
Vish

Reputation: 2164

Actually, the previous answer is incorrect as adb command support does exist in eggPlant. There are ways to get adb logs in eggPlant. Here's how:

  • adb logcat is the command that enables getting adb logs. (Warning: This will print a ton of info!)
  • You need a way to execute adb logcat within eggPlant. This is accomplished using the shell command
  • On some systems (I am using eggPlant for Windows) you need to dump the output of the shell command to a file and then read the file back into a variable.

Upvotes: 1

Quick learner
Quick learner

Reputation: 709

I guess there is no such command or something else.eggPlant identifies only object or script to execute the command.

Upvotes: 0

Related Questions