Forum Discussion
You are correct, there is not a quick and easy way, beyond using a Table variable type, to create an array simply using KeywordTesting stuff (the deprecated thing is simply for the ODT feature of TestComplete and not really related to this question).
Your best bet for ease of use is to write a script routine to construct your array and store the result in an Object data type.
- Marsha_R7 years agoModerator
Using a Table variable would work fine here, wouldn't it? Just stick the time value in there every time you loop through the measurement and when you're done with that, loop through the Table variable to do your calculation.
- bdrummond7 years agoContributor
yes it is possible and i have found out how to use them (table variable). Using the script routine to create columns and row(s) to enter each individual accumulation time.
But unfortunately, for me, the way i have written the test design has required more thought into it. so i decided to use a workaround method and because I am already too deep into creating my test I have decided to use a script routine to construct my array.
But at least now I know what Table variable can do and made me learn how to design my test better in the future.
thanks for your interest and sharing your thought.
BD
Related Content
- 4 years ago
- 5 years ago
- 4 years ago
Recent Discussions
- 12 hours ago
- 2 days ago