MarionetteTestCase

This is the base class for all Python tests written for Marionette.

Implementation: http://hg.mozilla.org/mozilla-central/file/tip/testing/marionette/harness/marionette/marionette_test.py

Method overview

Marionette self.get_new_emulator()

Attributes

Attribute Type Description
self.marionette Marionette The Marionette instance bound to this test case.  Most test methods belong to this instance.
self.baseurl str The base url of all static files served by Marionette's webserver.

Methods

get_new_emulator()

For tests running in an emulator, the Emulator instance is available as self.marionette.emulator.  For tests requiring a second emulator instance, you can launch an extra emulator and retrieve its Marionette instance using this method.

Parameters

None.

Return value

The Marionette instance for the new emulator.

Document Tags and Contributors

 Contributors to this page: sydpolk, fscholz, ffledgling, Sheppy, jgriffin
 Last updated by: sydpolk,