Forum Discussion
tristaanogre
12 years agoEsteemed Contributor
Ah, gotcha. Sorry, I misunderstood your situation.
I think the problem is essentially going to be the same. The value of a persistant variable is, I believe, localized. I don't think it is something that transfers from one PC to another. What you set the value to on PC1 remains with PC1 and does not transfer to PC2. The only way I know of (and I could easily be wrong here) to get a value set on PC1 and have it utilized by PC2 is to externalize the value outside of the actual TestComplete project. Again, using the Storages object (link in previous post) either as an INI file or as an XML where you can read and write values from the file, would be your best way, I believe, to do what you're asking.
I think the problem is essentially going to be the same. The value of a persistant variable is, I believe, localized. I don't think it is something that transfers from one PC to another. What you set the value to on PC1 remains with PC1 and does not transfer to PC2. The only way I know of (and I could easily be wrong here) to get a value set on PC1 and have it utilized by PC2 is to externalize the value outside of the actual TestComplete project. Again, using the Storages object (link in previous post) either as an INI file or as an XML where you can read and write values from the file, would be your best way, I believe, to do what you're asking.