Forum Discussion
This is just working the problem from a different angle
I still need a script to pull out the variables into separate instances
I need var1, var2 for other users to see and reference - I can't have them digging through CSV files as this could make this
but thanks for the suggestion
Lee_M wrote:
This is just working the problem from a different angle
Yes, it is. Since we are guessing at what you really want to do, all we can do is offer alternatives.
I myself don't understand how accessing a data file with two URL entries is asking someone to dig through a file, but I guess that's just me. I would consider that to be safer than asking them to change a variable or table value in TestComplete.
Good luck with your script!
- Lee_M4 years agoCommunity Hero
Marsha,
Thanks for your input and confirmation that I took the only approach available for this situation
The idea is for visibility
- Live_URL
- Test_URL
are clearer and shorter to read for a non-programmer, rather than something like:
Which I can create in another structure
- AlexKaras4 years agoChampion Level 3
Hi,
Why not to create a new variable (TestedURL), assign it (somewhere) value of either Live_URL or Test_URL and use this new variable in your KW tests?
- Lee_M4 years agoCommunity Hero
This is what I have done
Marsha_R suggested an excel spreadsheet - I have used a table variable, which is just a different type of variable but I feel can be used a little more ablatively than the excel solution for my purposes.
Either way, the answer I was looking for was that you CAN'T make a DDT loop over a series of variables unless it is a structured data type
Related Content
- 2 years ago
- 7 years ago