Access Keys:
Skip to content (Access Key - 0)
Log in (Access Key - 5)



Toggle Sidebar

Linking a testsuite

Autostarting molybdenum upon clicking a link

One oftens wants to link a testcase from a bugtracking system or in an email to a colleague for convenient test execution or re-runs during bugfixing.

Opening Molybdenum via link works only under following conditions:

  • the link is provided in an HTML page in the href attribute of an A element
  • the page containing the link is loaded in Firefox with Molybdenum installed
  • the link is actively clicked by the user. Automated clicking by some tool, including Molybdenum itself, will not work.

Based on the note above, linking in an email will work only, if the email is opened in Firefox via webmailer.

When creating the default HTML report after test execution, Moly creates those links for you. But you can easily assemble them manually, whereever you need:

HTTP based:

http://myurl/mysuite.xml?molybdenum.molybdenum=true

File based:

file:///home/jonas/mysuite.xml?molybdenum.molybdenum=true

Customizing test execution behaviour

For Passing an autostart argument append

&molybdenum.autostart=http://my-url/properties.xml

For Starting test execution immediately append

&molybdenum.autorun

As user has no further control here, this often fits with

Breakpoints for earsier communication: When setting breakpoints on a command, they're stored in your testscript as well:

<command ... break="true"/>

Molybdenum will then halt the test execution when invoked in graphical mode, presenting the application under test to the user exactly where it is needed.

last edited on Dec 31, 2009 17:22
Adaptavist Theme Builder Powered by Atlassian Confluence