This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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.


  • 0

    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.