Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to access RQM Environment Variables inside Rational Robot VB script

Hello,
 
       How to access RQM Environment Variables inside Rational Robot 7.0.3.9 VB script ?

        It is probably not the right forum to ask this question (sorry for that), but I don't know where to find this information.

         I have found this :

To use the Rational Quality Manager Options feature in Rational Robot, copy the RQMOption.dll file from the <Rational Test>\<RQMAdapter>\<lib> directory to the <Robot Project Folder>\TestAssets\Scripts\dll directory.

         But I have not found the SQA API to use in order to read the RQM variables


        Thanks,

                Jean-Claude

0 votes


Accepted answer

Permanent link
Robot 7039 supports RQM Execution variables.
As you mentioned  following steps to done.
To use the Rational Quality Manager Options feature in Rational Robot, copy the RQMOption.dll file from the <rational Test="">\<rqmadapter>\<lib> directory to the <robot Project="" Folder="">\TestAssets\Scripts\dll directory.

Also there is a sample Robot script TestOption.Rec available in <Rational Test>\RQMAdapter\lib folder which explains how to extract the RQM execution variables value and use it in Robot.

We are working on providing some enhancement to this existing way of extracting RQM Execution variable in Robot 7039-iFix03 to be released in July. This contains another dll called RQMOptionVB.dll which will be pre-registered  so no need to copy the dll to project folder.  And the user needs to use  new way of extracting  execution variable for which TestOptionVB.rec sample robot script will be available in <Rational Test>\RQMAdapter\lib folder. This will be available in Robot 7039-iFix03 to be released in July 2013.
jean-claude vauthier selected this answer as the correct answer

0 votes

Comments

Thanks a lot Hari

I will have a look to the information provided in this folder. 


3 other answers

Permanent link
Hi Jean-Claude,

Do you mean RQM execution variables?  RQM does not support environment variables and there is no API to GET RQM execution variables.

Since the Rational Quality Manager Options feature in Rational Robot is owned by the Rational Robot Team, I have asked someone from that Team to reply.

0 votes

Comments

Oops sorry, I just mean RQM script variables (you can put what information you want in these variables including test environment information).


Permanent link
Also there is a sample Robot script TestOption.Rec available in <rational Test="">\RQMAdapter\lib folder which explains how to extract the RQM execution variables value and use it in Robot.

Hum I can't see any file TestOption.Rec in this folder.... only .jar and dll files.  And when I do a search at the root directory "RQMAdapter"... no result.  

Could you send me this file by e-mail ?

Thanks

   Jean-Claude


0 votes


Permanent link
The exact path for RQMAdapter folder is given below. It might vary depending on the Robot Install directory you have chosen.

C:\Program Files (x86)\IBM\RationalSDLC\Rational Test\RQMAdapter\lib

In the above folder there is a notepadoptiontest.rec sample Robot script file available which explains how to use RQM Execution variables inside Robot.

Please provide me your email id if you like to get that  file through email as attachment.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,111

Question asked: Jun 18 '13, 5:42 a.m.

Question was seen: 7,260 times

Last updated: Jul 09 '13, 5:50 p.m.

Confirmation Cancel Confirm