Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Get list of test cases
Get list of test cases [message #1256577] Tue, 25 February 2014 15:25 Go to next message
Daniel Hör is currently offline Daniel HörFriend
Messages: 7
Registered: February 2014
Location: Augsburg, Germany
Junior Member
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 10:45 Go to previous messageGo to next message
Daniel Hör is currently offline Daniel HörFriend
Messages: 7
Registered: February 2014
Location: Augsburg, Germany
Junior Member
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 11:53 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Thanks for the update Daniel.
Re: Get list of test cases [message #1770592 is a reply to message #1257367] Mon, 14 August 2017 17:07 Go to previous messageGo to next message
Navin J is currently offline Navin JFriend
Messages: 3
Registered: August 2017
Junior Member
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 14:20 Go to previous messageGo to next message
Navin J is currently offline Navin JFriend
Messages: 3
Registered: August 2017
Junior Member
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 07:18 Go to previous messageGo to next message
Marvin Mueller is currently offline Marvin MuellerFriend
Messages: 255
Registered: March 2012
Senior Member
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 16:37 Go to previous message
Navin J is currently offline Navin JFriend
Messages: 3
Registered: August 2017
Junior Member
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: Fri Apr 26 17:47:29 GMT 2024

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

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

Back to the top