Forum Discussion
AlexKaras
11 years agoChampion Level 3
Hi Mitch,
Unfortunately, for the reason that is not clear for me, TestExecute does not provide any UI means to set the local values for the entities that are designed to be the the machine-specific (e.g. Project and Project Suite variables, path to the Tested Applications, checked/unchecked state of the Test Items, etc.). And the encoding method used to store their values in the configuration files is not documented either. The bad news are that despite the obvious benefits and usefulness of project variables and other stuff, there are very little chances that TestExecute will get any means to set their values visually. So you have to elaborate some coding approach from the options set mentioned above, implement it and use.
As a workaround, considering the configuration with TestComplete installed on machine A and TestExecute installed on machine B, and assuming that you need to set the local value of variable C for the B box, I believe, that it is possible to:
-- Set the value of the variable on the A box;
-- Save the project;
-- Copy variable's value from the configuration file that keeps local values for the A box using some external editor;
-- Paste the copied value into the configuration file that keeps local values for the B box using the same external editor and save the modified file;
-- Revert the value of the variable to its initial value on the A box and save the project.
Unfortunately, for the reason that is not clear for me, TestExecute does not provide any UI means to set the local values for the entities that are designed to be the the machine-specific (e.g. Project and Project Suite variables, path to the Tested Applications, checked/unchecked state of the Test Items, etc.). And the encoding method used to store their values in the configuration files is not documented either. The bad news are that despite the obvious benefits and usefulness of project variables and other stuff, there are very little chances that TestExecute will get any means to set their values visually. So you have to elaborate some coding approach from the options set mentioned above, implement it and use.
As a workaround, considering the configuration with TestComplete installed on machine A and TestExecute installed on machine B, and assuming that you need to set the local value of variable C for the B box, I believe, that it is possible to:
-- Set the value of the variable on the A box;
-- Save the project;
-- Copy variable's value from the configuration file that keeps local values for the A box using some external editor;
-- Paste the copied value into the configuration file that keeps local values for the B box using the same external editor and save the modified file;
-- Revert the value of the variable to its initial value on the A box and save the project.
Related Content
Recent Discussions
- 2 hours agoSubhraDas
- 21 hours agotramuntana