Showing results for 
Search instead for 
Did you mean: 

hardcoded script issues

Frequent Contributor

hardcoded script issues


i have written a script with hard coded values, any suggestions , how to make the script  to be used for all the clients as the data changes.


create an scenario excel file and while running the script the values should be picked up from the file. instead I mentioned the values in the script itself which I cannot use for other clients when data changes.

Is there any other way in testcomplete.

Community Hero

Re: hardcoded script issues

Start here:

Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available