Zurück zu Willert.de

API for Test Conductor

how to access or perform things by using the Rhapsody API (not how to use the UI)

API for Test Conductor

Postby shanz » December 14th, 2009, 7:47 pm

Calling all API gurus!

I've just posted an API-related post in the Test Conductor sub-forum.
It's entitled, "First Foray into the API".

I'd appreciate any advice from experienced API users.

Thanks.
shanz
 
Posts: 178
Joined: May 7th, 2008, 5:50 pm
Location: Horsham, W Sussex, England

Re: API for Test Conductor

Postby JaMey » December 16th, 2009, 10:02 am

Hi Shanz,

i think you can use the Java API to solve your problems. I think the operation application.openProject(filename); helps you to open a project and then run your test cases.

Regards
Jan
JaMey
 
Posts: 18
Joined: December 8th, 2008, 2:52 pm

Re: API for Test Conductor

Postby shanz » December 16th, 2009, 11:49 am

Jan, yes I think I have to open Rhapsody via the DOS command and then I can use the Java API to open the project.
Thanks, shanz
shanz
 
Posts: 178
Joined: May 7th, 2008, 5:50 pm
Location: Horsham, W Sussex, England

Re: API for Test Conductor

Postby JaMey » December 17th, 2009, 9:58 am

Hi shanz,

that is one possibility you can use. I have just one another idea, so that you can have everything in one comman. It is also possible to start a programme with Java. So you can write a Java programme that first starts Rhapsody and then opens the project and starts the test. Then you have everything in one application.

Regards
Jan
JaMey
 
Posts: 18
Joined: December 8th, 2008, 2:52 pm

Re: API for Test Conductor

Postby shanz » December 17th, 2009, 11:33 am

JaMey,

Yes, but the Java program would actually be calling a DOS command to open Rhapsody I believe. Then an API command to open a particular project.

shanz
shanz
 
Posts: 178
Joined: May 7th, 2008, 5:50 pm
Location: Horsham, W Sussex, England

Re: API for Test Conductor

Postby JaMey » December 17th, 2009, 5:08 pm

Yes, that is true...
JaMey
 
Posts: 18
Joined: December 8th, 2008, 2:52 pm


Return to Rhapsody API

Who is online

Users browsing this forum: No registered users and 2 guests

cron