Forum Discussion
Dmitry_Nikolaev
14 years agoStaff
Hello Adam,
The File Checkpoint operation requires the full path to the file. As far as I understand, the location of the target file that is used in your checkpoint can be different depending on the location of the tested application or the TestComplete project folder. In this case, you can use a variable to specify the FileName parameter of the File Checkpoint operation. So, when the file location is changed, you will need just to modify the FilePath variable.
To specify a variable for the checkpoint's FileName parameter, use the steps below:
1. Create a variable (let's call it FilePath) that will contain the current full path to the target file including the file name (the TestProject.mpj file in your case).
2. Select the File Checkpoint operation and open the Operation Parameters dialog;
3. In the "Operation Parameters" dialog, select the FileName parameter and open the Edit Parameter Dialog.
Choose the Variable mode in the Mode field and specify the FilePath variable in the Value field.
See also:
Keyword Test Variables.
Does this meet your needs?
Related Content
- 6 years ago
- 6 years ago
Recent Discussions
- 18 hours ago
- 7 days ago
- 10 days ago