Hello,
I believe similar questions have been asked before, but I could not find the specific answer I need.
I have created some Recording modules which I reuse in multiple Test Cases. Some of these Recordings have variables that can be bound. So far I have been binding them to either Global Parameters or Simple Data Sources within each Test Case. All of these are predefined constants.
Now this works very well and is pretty clean, but the problem lies here:
I will be testing my application on different computers, and hence different computer names. Which I will need to pass dynamically into these Recording modules.
So I was thinking of creating a Global Parameter called 'CompName' assign its value 'TBD', bind this Parameter to whatever variables I need, and then have some code somewhere set CompName to the appropriate string depending on the actual computer name...
I have not figured out a way of doing this. Where would I put the code and how would I modify the Global Parameter? Is there a better way?
Thank you for your help.