How to access android log cat logs for debugging? – pCloudy – Question and Answers
Home >> Appium Tricks and Tricks >> How to access android log cat logs ...

How to access android log cat logs for debugging?



driver.manage().logs().getAvailableLogTypes());	
driver.manage().logs().get("logcat");
Description An Android device or emulator records detailed system logs, which can sometimes contain information which is pertinent to a test. Maybe our test failed and we want to see if our app logged an error to the system. Or maybe the only way to assert that our test succeeds is to make sure a particular pattern appears in the logs.

Leave a Reply

Your email address will not be published. Required fields are marked *