It is currently Wed Feb 08, 2012 11:53 pm



Welcome
Welcome to RHAPSODY4YOU

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, respond to polls, upload and download content, and access many other special features. Registration is fast, simple, and absolutely free, so please, register to join our community today.





 Page 1 of 1 [ 2 posts ] 
Author Message
 Post subject: Automating test Conductor
PostPosted: Thu Jul 23, 2009 2:01 pm 

Joined: Mon Jul 20, 2009 1:21 pm
Posts: 1
I know you can run test conductor test cases from a batch file. I have a script designed to do this. the issue i am facing is that it is running through all of the test cases and not just the ones that I want.

For example I want test cases in Tpkg_MikesTest. The line in my bat file that references what test case is the following


...
TPkg_MikesTest::TPkg_MikesTest_Comp DefaultConfig
syncmake
...


any ideas as to why it is going through all of the test cases in my .rpy file and not just in TPkg_MikesTest.

Thanks


Offline
 Profile  
 
 Post subject:
PostPosted: Wed Aug 19, 2009 2:40 pm 

Joined: Fri Jan 16, 2009 2:02 pm
Posts: 14
Perhaps it's because of your syntax to specifie the TestCase or TestPackage. Have a look at the RTC_User_Guide.pdf chapter "Command Line Execution".

“<Rhapsody>” <model> -cmd=call "rtc run <testpath>" -cmd=save

The <testpath> is the path in the model hierarchy where each element is separated with a dot (<TestPackage>.<TestContext>.<TestCase>)

Example:
“<full>\Rhapsody.exe” D:\ CppCashRegister_rpy\ CppCashRegister.rpy –cmd=call “rtc run TPkg_CashRegister.TCon_CashRegister.tc_SimpleStart” -cmd=save


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

cron

suspicion-preferred