It's not possible to get the Application object of the launched app.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Confirmed
|
Medium
|
Unassigned |
Bug Description
From the AutopilotTestCase, we have launch_
On the ProcessManager we have ways to get the running application, but only by name. And we might have many applications with the same name of the one we have just launched. The only way I've found to get the right one is to do on the test case:
self.process_
It would be better if we can get the ProcessManager.
Changed in autopilot: | |
status: | New → Confirmed |
Changed in autopilot: | |
importance: | Undecided → Medium |
We need to get the window of the launched application in order to resize it on the desktop and test what happens when the window has a tablet size, or when the layout changes from portrait to landscape.
This will also come handy when testing things like opening the dialer-app from the address book.