Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » AutomationClient Execution Results
AutomationClient Execution Results [message #57041] Thu, 09 March 2006 17:47
Eclipse UserFriend
Originally posted by: rbrady.fas.harvard.edu

I plan to implement a web service that will utilize
AutomationClientAdapter to launch tests and collect results. I was able
to get the AutomationClientAdapter to have a service run a testsuite, but
I have a few simple questions I was hoping you folks could help with.

Will I have to use java.io.File to load the associated test execution file
from disk? Is there a way to get the AutomationClientAdapter.execution
method or some other means to return the execution file object associated
with the test? Parsing the execution file to get results data is
straightforward.

One of the execute methods of AutomationClientAdapter can be run
asynchronously, which is helpful for long-running tests. How would one go
about registering the AutomationClientClient as a listener to the test
execution so that it would be notified when the test finished running?


Thanks...Bob

// Code used to launch tests, from tptp help
AutomationClientAdapter automation = new
AutomationClientAdapter("C:\\eclipse");
Properties properties = new Properties();
properties.setProperty("workspace", "C:\\workspace");
properties.setProperty("project", "TPTP_Test");
properties.setProperty("suite", "test/DemoTest.testsuite");
automation.execute("org.eclipse.hyades.test.tools.core.execute ",
properties);
/*
Code to get execution file, load, & parse results
*/
Previous Topic:HTTP Recording
Next Topic:What's the purpose or meaning of the diamond icon in the second column of Execution Statistics?
Goto Forum:
  


Current Time: Sun Dec 21 02:52:35 GMT 2014

Powered by FUDForum. Page generated in 0.02618 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software