Skip to main content



      Home
Home » Archived » Jubula » Get list of test cases
Get list of test cases [message #1256577] Tue, 25 February 2014 10:25 Go to next message
Eclipse UserFriend
Hi,

i'm new to Jubula and i'm trying to write a plugin which controls the names of all test cases in the current project. I just found such a command for the test suites:

import org.eclipse.jubula.client.core.businessprocess.db.TestSuiteBP;

TestSuiteBP.getListOfTestSuites()

That works fine but i need a list of the available test cases, can anyone help me please?
Re: Get list of test cases [message #1257367 is a reply to message #1256577] Wed, 26 February 2014 05:45 Go to previous messageGo to next message
Eclipse UserFriend
Problem solved by using an entity manager.
Re: Get list of test cases [message #1257416 is a reply to message #1257367] Wed, 26 February 2014 06:53 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the update Daniel.
Re: Get list of test cases [message #1770592 is a reply to message #1257367] Mon, 14 August 2017 13:07 Go to previous messageGo to next message
Eclipse UserFriend
Daniel Hör wrote on Wed, 26 February 2014 10:45
Problem solved by using an entity manager.

Daniel, could you share the sample code snippet and the package name containing entitymanager which will give an idea of retrieving the test case from test suite using Jubula APIs?
Re: Get list of test cases [message #1770843 is a reply to message #1770592] Thu, 17 August 2017 10:20 Go to previous messageGo to next message
Eclipse UserFriend
Navin J wrote on Mon, 14 August 2017 17:07
Daniel Hör wrote on Wed, 26 February 2014 10:45
Problem solved by using an entity manager.

Daniel, could you share the sample code snippet and the package name containing entitymanager which will give an idea of retrieving the test case from test suite using Jubula APIs?

I am new to Jubula and Java. If anyone can provide a hint, would be a great help.
Thanks in advance.
Re: Get list of test cases [message #1771118 is a reply to message #1770843] Tue, 22 August 2017 03:18 Go to previous messageGo to next message
Eclipse UserFriend
Hello Navin,

what is spoken about here is nothing about the jubula API, this was about writing a Plugin for the Jubula ITE.

In Jubula API there is no need for such thing than getting the list of test cases since you are writing them in Java itself.
First you should have a look into our documentation [1] so you can understand how the concept behind it works. If you have more concrete Questions you can search here in the Forum or ask a new question.

best regards
Marvin

[1] https://help.eclipse.org/neon/topic/org.eclipse.jubula.client.ua.help/content/html/developerManual/clientAPI/clientAPI.html
Re: Get list of test cases [message #1771400 is a reply to message #1771118] Thu, 24 August 2017 12:37 Go to previous message
Eclipse UserFriend
Marvin: thanks for the reply.
Previous Topic:Jubula & GEF not working in e4 Parts
Next Topic:Fails to recognise AUT is running. (win)
Goto Forum:
  


Current Time: Mon Jul 07 15:20:08 EDT 2025

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

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

Back to the top