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

Command line adapter Customized Test Execution progress

 Hi All,

 I want to execute Test Suite using RQM CLA, and based on each test script execution, I want to increment progress shown in RQM. I have written batch script which will update qm_ExecutionPropertiesFile variable. 

For E.g.
echo progress=20 >>  "%qm_ExecutionPropertiesFile%"
echo comment= Test started  >>  "%qm_ExecutionPropertiesFile%"

When The Automated test script starts executing then I want progress as 20% "Test started" and when end it 90% "Test Finished"

There are two problems I am facing.

1. Sometimes I have seen only "Test started" message on RQM screen and test passes but it doesn't shown "Test Finished" progress.

I am suspecting that Test exited before next cycle to read execution property file start.
I want to know how frequently CLA reads property file and is it customizable.

2. The another problem is suppose My test suite is having 10 test cases for execution. I want to show progress after completion of every test case, like for 1st test case 10% 2nd test case 20%..

My test case framework anyway is not aware of how many test scripts are under execution by CLA so I can't customize progress status from Test framework.

Is there any way in CLA to knows how many test scripts are under execution and which can be retrieve by execution variable from Test Framework.

Please guide me.

0 votes


Accepted answer

Permanent link

 1. Refresh happens every 5 seconds. After 5 seconds CLA sends updates to RQM /ETM server which will be shown in the UI.
2. Set the weight of each test case same. Then the progress bar will show the progress 10% after 1st test case is done , 20% after 2nd test case is done. You can see the progress bar in the test suite editor itself.

sumit surwase selected this answer as the correct answer

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
× 10,943
× 13

Question asked: Sep 07 '20, 6:23 a.m.

Question was seen: 1,281 times

Last updated: Sep 15 '20, 6:49 a.m.

Confirmation Cancel Confirm