Posted by: Brian | March 13, 2009

Integrating Rational Functional Tester and Rational Quality Manager

Rational Functional Tester (RFT) is IBM Rational’s tool for functional test automation.  Rational Quality Manager (RQM) is IBM Rational’s tool for test management.  The two tools work hand in hand – Rational Quality Manager manging the test plan, test cases and results, Rational Functional doing the heavy lifting of actually scripting and executing the tests.  

A typical use case would see a tester crafting a test plan in RQM, creating test cases and attaching an RFT script to the test case.  Test cases are executed from RQM, which calls RFT to actually run the test and report back the results.   RQM is then used to aggregate all the test results and run reports on the overall status of the testing project.

The RQM architecture is actually designed in such a way that it can run tests from any tool.  RQM communicates to external tools via adapters.  A popular question the Rational Tester gets is how is this adapter configured.  It’s actually quite simple, and actually well documented in the help files.  In a nutshell, here are the steps.

In the Rational Functional Tester program group you’ll find a folder labelled “Adapter to Rational Quality Manager”.   In that group are two options, “Configure Adapter” and “Start Adapter”.  Select configure and you’ll get this:

Rational Functional Tester Adapter Configuration

Rational Functional Tester Adapter Configuration

For the login and password, I’ve actually created an account in Rational Quality Manager, and given it permissions as a Connector.  This enables access to the tool, without consuming a license.  The Server URL is the root path to the Jazz server, not actually the RQM url.  In the screenshot above, I’ve used the default server URL.  You can provide any name, it’s purely descriptive.   
When you click on the Start Adapter button, the connection will be established.   On the Adapter Console tab, you’ll see this:
Rational Functional Tester Adapter Status

Rational Functional Tester Adapter Status

 

Back in Rational Quality Manager, if you select Execution > Adapter Console, you’ll see the following which indicates that RQM is now aware of RFT.
Rational Quality Manager Adapter Console

Rational Quality Manager Adapter Console

 

So you’ve now connected the two tools.  You’re not there yet though.  You need to tell Rational Quality Manager where the tests are.  In Rational Quality Manager, select Admin > System Properties (note – you need Admin priveleges here).  Select the “Shared Resource Locations” item and enter in a UNC path name to your Rational Functional Tester Project:
Rational Quality Manager Shared Resource

Rational Quality Manager Shared Resource

 

Now, at this point, you can go and create a new Test Script in RQM from Construction > Create Test Script.   Select “Functional Tester” from the “Type” drop down and then click on “Browse” to pick your script:
Rational Functional Tester Script List in RQM

Rational Functional Tester Script List in RQM

Finally, as you accumulate RFT projects and RQM test plans, you can create links between RFT projects and plans.  In the Resource section of the test plan, you can list out RFT projects specific to the test plan.  Then, when you get to this step, you’ll only see those projects in the Shared Resource Location list.  It’s a good way to ensure you are picking the right tests for the plan.
That’s it – I hope I haven’t overcomplicated this with too many screenshots!  Once configured, you’ll be running tests left and right at will! 
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: