Question

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.

Était-ce utile?

La solution

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.

Autres conseils

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top