Read test data from Mercury Quality center 9 via java

We use **Mercury Quality Center 9** for storage tests and test results. I need to read test data from **Test Plan** and to write test result into **Test Lab** via **java**. I tried to find about this in google but I have not found anything. **UPDATE:** I tried to use qctools4j for working with MQC 9 with the following code: public void connect() { try{ IQcConnection conn = QcConnectionFactory.createConnection("http://qc/qcbin"); conn.connect("login", "password", "DEFAULT","project"); TestClient tc = conn.getTestClient(); System.out.println("Connection success!!!"); } catch (QcException e) { System.out.println(e.getMessage()); e.printStackTrace(); } } I got the following exception message: *org.qctools4j.exception.QcException: Can't co-create object at org.qctools4j.clients.QcConnectionImpl.initConnection(Unknown Source) at org.qctools4j.clients.QcConnectionImpl.(Unknown Source) at org.qctools4j.QcConnectionFactory.createConnection(Unknown Source) at automation_framework1.automation_framework1.QCWorker.connect1(QCWorker.java:38) at automation_framework1.automation_framework1.Main.main(Main.java:12) Caused by: com.jacob.com.ComFailException: Can't co-create object at com.jacob.com.Dispatch.createInstanceNative(Native Method) at com.jacob.com.Dispatch.(Dispatch.java:99) at com.jacob.activeX.ActiveXComponent.(ActiveXComponent.java:58) at org.qctools4j.clients.QcConnectionImpl.initConnection(Unknown Source)* What am I doing wrong?
regarding the exception you get, take a look on this: netheadaches.wordpress.com/2012/04/22/…

以上就是Read test data from Mercury Quality center 9 via java的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏