How can we use the same input parameter through out all the components in a BPT (206 Views)
Reply
Frequent Advisor
Vaasu
Posts: 44
Registered: ‎05-08-2008
Message 1 of 2 (206 Views)

How can we use the same input parameter through out all the components in a BPT

Hi All,

I have created a Business Process Test, in that it has multiple components. Here, I would like to use the same parameter (lets say "UserName") through out all the components and verify UserName gets displayed in all the components screens. For that I have to give the Parameter Value in all the components for the Parameter UserName. Instead, I want to define Parameter value in first component and use the same value in rest of the components. I did link Parameter across all the components by Promoting the Parameter "UserName" to the test level at the first component and later referencing the same in subsequent components. This way worked when the components default values matched. But failed when I iterate through a different data. Here my question is, how can we use the same input parameter through out all the components? I know, we can output the data in first component and later the use the same value as input parameter in other components. Here I am trying to avoid that step by promoting the parameter at the test level and use it afterwards. Please suggest me the correct approach or let me know what I was doing wrong.


Any help is greatly appreciated.

Thanks!!
Vaasu.


Please use plain text.
Advisor
PhillipHilgert
Posts: 18
Registered: ‎07-25-2011
Message 2 of 2 (192 Views)

Re: How can we use the same input parameter through out all the components in a BPT

If you have promoted that parameter (User Name) to the test level, then you can set the data for it in test lab.

 

You should see a column called iterations.  It should currently say Undefined.  Click on the link in that column.

 

You should see a column for the User Name parameter.  Enter the data to be used there.  Create iterations of data to coincide w/ the number of iterations in your associated components.

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