Le 15/02/2013 14:41, Roy Collings a écrit : > Hi all, > > I'm getting nowhere with this. Using python + marionette, I launch the > "Contacts" app on my device -> click a contact -> in the view details screen > I then click the 'sms' button. > The "Messaging" app starts automatically and lands me in a screen to compose > a new message to my contact (as expected). > However, Marionette still thinks I'm in the 'view contacts' screen (if I dump > the current html at this point, that's the screen I get) so I can't make it > type a message etc... > > How to I make it follow the device to the message screen? > > I've tried messing around with switching context / window and frame, but to > no avail (and in the absence of any kind of 'how to' doc, I have no idea > which id or name or whatever of the frame or window to switch to, so I've > been guessing!). > > Any help will save me yet another few days of investigation work! :)
I'm not sure how the Python framework work, but with the JS client I think you need to do a switchToFrame on the new frame ? Not sure how you can access this new frame though, maybe you need to switchToFrame without an argument to access the system app and from there do a query to find the correct frame from the running apps. Not sure this helps but I try ;) -- Julien _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
