un-promoting test-level BPT parameters (375 Views)
Reply
Advisor
PhillipHilgert
Posts: 18
Registered: ‎07-25-2011
Message 1 of 4 (375 Views)

un-promoting test-level BPT parameters

[ Edited ]

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.

Please use plain text.
Respected Contributor
Martin Sander
Posts: 421
Registered: ‎10-20-2008
Message 2 of 4 (292 Views)

Re: un-promoting test-level BPT parameters

Hi Philip

Sorry not sure what you mean ? Is this when you add the component to a Test ?

Which version of QC ?

Thanks
Martin
Please use plain text.
Advisor
PhillipHilgert
Posts: 18
Registered: ‎07-25-2011
Message 3 of 4 (291 Views)

Re: un-promoting test-level BPT parameters

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.

Please use plain text.
Respected Contributor
Martin Sander
Posts: 421
Registered: ‎10-20-2008
Message 4 of 4 (287 Views)

Re: un-promoting test-level BPT parameters

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  

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation