News
2008-11-19
XStudio and XAgent v0.6a4 available for download for Windows, Linux and MacOSX
2008-10-20
XStudio and XAgent v0.6a3 available for download for Windows, Linux and MacOSX
2008-10-12
XStudio and XAgent v0.6a2 available for download for Windows, Linux and MacOSX
2008-10-05
XStudio and XAgent v0.6a1 available for download for Windows, Linux and MacOSX
2008-09-07
XStudio and XAgent v0.5 available for download for Windows, Linux and MacOSX
2008-06-01
XStudio and XAgent v0.4 (final version) available for download for Windows, Linux and MacOSX

Subscribe to XQual News RSS feed Subscribe RSS
Privacy
Terms of use

Launchers

The problem

Test management software often require from the customers to contract some services to third-party companies (or the editor itself) to "connect" their tests with the test management system. This emphasizes severals problems:
  • this has an extremely high cost
  • the customer has not his independance guaranted
  • adapting the system to a new type of test may be costly in terms of time
  • and more...

The fix

XStudio provides a complete and extremely simple SDK API that allows you to develop your connector yourself. This connector is called a "launcher" in the XQual terminology. This is what makes the "link" between the generic test management software (XStudio) and your very specific tests.

launcher architecture
When you finish the development of your launcher, you just need to associate the resulting jar with a category in the test tree. As simple as that !

category setting


Note that you can also associate to your jar an XML that describes the configurable parameters for this launcher. At execution or schedule time XStudio will interpret it as a form to let you enter some configuration parameters. Those parameters will be used by your launcher at run time.

For instance:

<form name="Timing">
  <formItem type="slider"
            id="0" 
            name="max time between testcases (ms)"
            value="0"
            value="2000"
            min="0"
            max="10000"
            readOnly="false"/>
  <formItem type="boolean"
            id="1" 
            name="prerun and postrun take time to execute"
            value="true"
            readOnly="false"/>
  <formItem type="integer"
            id="2" 
            name="time to execute prerun (ms)"
            value="500"
            readOnly="false"/>
  <formItem type="integer"
            id="3" 
            name="time to execute postrun (ms)"
            value="500"
            readOnly="false"/>
</form>
		

...will be interpreted as:
launcher parameters


This mechanism is extremey powerful because it allows you to automate the execution of your tests very rapidely. In most of the cases, only a few tenth of lines of java are sufficient.
Learn more about the integrated "Interaction" module.
Learn more about the integrated "Action" module.