Merge "DOC CHANGE: Fix bug 3416872 in MonkeyRunner doc" into honeycomb
This commit is contained in:
@@ -117,7 +117,7 @@ device.startActivity(component='com.example.android.myapplication.MainActivity')
|
||||
device.press('KEYCODE_MENU','DOWN_AND_UP')
|
||||
|
||||
# Takes a screenshot
|
||||
result = device.takeSnapShot
|
||||
result = device.takeSnapShot()
|
||||
|
||||
# Writes the screenshot to a file
|
||||
result.writeToFile('myproject/shot1.png','png')
|
||||
|
||||
Reference in New Issue
Block a user