Is there an easy way to do this or do I have to delete and re-add the component and NOT promote the parameters?
Thanks.
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it! Learn more.
Is there an easy way to do this or do I have to delete and re-add the component and NOT promote the parameters?
Thanks.
Martin,
Let me give you a scenario. I added a component to a test and promoted all 10 of the component parameters.
However, I realize I really only wanted to have 1 of the parameters promoted? How do I demote the other 9 so the testers don't think they have to populate them before running the test?
This is for QC10.
Hi Phillip
Okay - had to go back to a version of QC10 we have to check this.
The way it works is as follows. When you add a Component to a Test Script in the Test Plan it will create an entry for all the parameters of the Component. In the Promote Parameters option box you have 3 options - don't promote, promote all, promote selected. All this does is let QC create a parameter variable for the selected parameters. Then you can adjust the parameters opening the Component Iterations dialog. Here you have three choices - 1) set a fixed value; 2) set a Run-Time parameter - either the name used if you promoted or anyone name you have created; and 3) set to blank - which means that you don't want to use it.
So in answer to your question if you leave the parameter variable value blank for any parameter then at execution it will not ask for a value.
Hope this helps
Thanks
Martin