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

Multiple execution results from a single automated script?

Is there a way to set the results for multiple test execution records from a single automated script? For example, suppose we have a single function defined as follows:

integer carData( String make, String model, String year)

We have 4 test cases for this:

1. Verify that make is stored correctly.
2. Verify that model is stored correctly.
3. Verify that year is stored correctly.
4. Verify that return code is 0.

It is desirable to execute this function call only once and have the test results set for all 4 test cases. Is this possible with RQM?

0 votes



4 answers

Permanent link
RQM runs automated test with the help of functional testing tool (RFT) connected to RQM via an adapter.

Your question seems to be targeted more toward how to create a script which can have 4 verification points. If this is the question, yes you can run such tests from RQM and generate results which will capture details about each step by using RFT to create the script and run the test from RQM. Please visit the help documentation for RQM and RFT for more details.

Is there a way to set the results for multiple test execution records from a single automated script? For example, suppose we have a single function defined as follows:

integer carData( String make, String model, String year)

We have 4 test cases for this:

1. Verify that make is stored correctly.
2. Verify that model is stored correctly.
3. Verify that year is stored correctly.
4. Verify that return code is 0.

It is desirable to execute this function call only once and have the test results set for all 4 test cases. Is this possible with RQM?

0 votes


Permanent link
Thank you very much, Praveen. I'm passingly familiar with RFT and verification points and your suggestion makes sense. I'll give it a try.

0 votes


Permanent link
Hi, Praveen.

Using your suggestion, I managed to create an automated test script in RQM that executed an RFT script. The RFT script posted 4 results for verification points using the vpManual method. However, how do I automatically convert the VP results to TERs? In other words, is there any way I can view the results of the VPs from RFT in RQM without having to examine the RFT logs? Basically, I would like to create a 1-to-1 mapping of RQM test cases to RFT verification points that are generated in a single RFT script.

RQM runs automated test with the help of functional testing tool (RFT) connected to RQM via an adapter.

Your question seems to be targeted more toward how to create a script which can have 4 verification points. If this is the question, yes you can run such tests from RQM and generate results which will capture details about each step by using RFT to create the script and run the test from RQM. Please visit the help documentation for RQM and RFT for more details.

Is there a way to set the results for multiple test execution records from a single automated script? For example, suppose we have a single function defined as follows:

integer carData( String make, String model, String year)

We have 4 test cases for this:

1. Verify that make is stored correctly.
2. Verify that model is stored correctly.
3. Verify that year is stored correctly.
4. Verify that return code is 0.

It is desirable to execute this function call only once and have the test results set for all 4 test cases. Is this possible with RQM?

0 votes


Permanent link
If you want to have 1-1 mapping between each VP and test case, you will have to create 3 TestCase and corresponding 3 RFT scripts for each one of them. You can then bunch together these test cases in a Test Suite and run them together.

Hi, Praveen.

Using your suggestion, I managed to create an automated test script in RQM that executed an RFT script. The RFT script posted 4 results for verification points using the vpManual method. However, how do I automatically convert the VP results to TERs? In other words, is there any way I can view the results of the VPs from RFT in RQM without having to examine the RFT logs? Basically, I would like to create a 1-to-1 mapping of RQM test cases to RFT verification points that are generated in a single RFT script.

RQM runs automated test with the help of functional testing tool (RFT) connected to RQM via an adapter.

Your question seems to be targeted more toward how to create a script which can have 4 verification points. If this is the question, yes you can run such tests from RQM and generate results which will capture details about each step by using RFT to create the script and run the test from RQM. Please visit the help documentation for RQM and RFT for more details.

Is there a way to set the results for multiple test execution records from a single automated script? For example, suppose we have a single function defined as follows:

integer carData( String make, String model, String year)

We have 4 test cases for this:

1. Verify that make is stored correctly.
2. Verify that model is stored correctly.
3. Verify that year is stored correctly.
4. Verify that return code is 0.

It is desirable to execute this function call only once and have the test results set for all 4 test cases. Is this possible with RQM?

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

Question asked: Jul 27 '09, 9:08 a.m.

Question was seen: 6,629 times

Last updated: Jul 27 '09, 9:08 a.m.

Confirmation Cancel Confirm