08-05-2010, 01:48 PM
If you have several reusable actions in a script, can they access the parameters from a different datasheet?
Say I have 3 reusable actions in a test script which contain several parameters in each. I know that some of the parameters needed in all three actions are generic so rather than enter them in each of the three actions, I’d like to just tell QTP which datasheet to get the parameter from (similar to what you can do in excel).
I know I could use the global datasheet rather than localsheets, but the volume of parameters would make the global datasheet “messy”. So I hoping there is a way to simply define which datasheet to look at.
Anyone know how to do this? (if it can be done at all).
Thanks in advance for any help on this.
Say I have 3 reusable actions in a test script which contain several parameters in each. I know that some of the parameters needed in all three actions are generic so rather than enter them in each of the three actions, I’d like to just tell QTP which datasheet to get the parameter from (similar to what you can do in excel).
I know I could use the global datasheet rather than localsheets, but the volume of parameters would make the global datasheet “messy”. So I hoping there is a way to simply define which datasheet to look at.
Anyone know how to do this? (if it can be done at all).
Thanks in advance for any help on this.