Launch Browser via Monkey Runner
From http://
"With monkeyrunner, you can write a Python program that installs an Android application or test package, runs it, sends keystrokes to it, takes screenshots of its user interface, and stores screenshots on the workstation."
We'll use this API to launch and interact with the browser. We'll go to a few know sites including, youtube.com, google.com and facebook.
Blueprint information
- Status:
- Complete
- Approver:
- Zach Pfeffer
- Priority:
- Medium
- Drafter:
- Abhishek Paliwal
- Direction:
- Approved
- Assignee:
- Abhishek Paliwal
- Definition:
- Superseded
- Series goal:
- Accepted for obsolete
- Implementation:
- Started
- Milestone target:
- obsolete
- Started by
- Abhishek Paliwal
- Completed by
- Zach Pfeffer
Related branches
Sprints
Whiteboard
Notes:
[2012/03/27 pabhishek] : getting blocked by bug : https:/
[2012/01/13 pabhishek] : started with monkeyrunner scripts, able to launch browser using monkeyrunner tool, next step is to verify the launch has opened the specified webpage or not.
[2012/1/22 pfefferz]: Moving into 12.02
[2012/2/15 pfefferz]: Shifting again to 12.03
[2012/3/27 pfefferz] Shifting to 12.04
[2012/4/1] This has been blocked on https:/
Meta:
Roadmap id: ANDROID2012-Q1-TEST
Headline: Browser testing has been automated
Acceptance: The browser is launched and various sties are browsed
Work Items
Work items:
Write a test program to monkeyrunner that pulls up the browser: DONE
Figure out if you're actually connected: INPROGRESS
Set up a test text document in samplemedia.
Browse to http://
Play http://
Browse to www.google.com: DONE
Search for "Linaro": DONE
Browse to www.youtube.com: DONE
Search for The Force: Volkswagen Commercial and play commercial: TODO
Talk to Yongqin Liu to integrate test into LAVA: INPROGRESS
Talk to Danilo or Paul Sokolovsky to see if we can log the webpage visit on a test site which would trigger an event to LAVA: TODO