When a script fails in compare.file, the winmerge is open but then it is not even closed. It causes a problem comparing next files. How can I get it closed automatically when comparisonn failure occurs? any help?
You can create a simple script that will wait for some time and close WinMerge. For example (JScript):
<font class="small">Code:</font><hr /><pre>
var WinMergeProcess = Sys.WaitProcess("winmerge", 1000);
Davids, thanks for your help.
But there is a problem that I don't want to add the above scripts to close the WinMerge on EACH comparion.
Are there other alternative ways to do some settings to close the WinMerge on the Test Complete?
I expect that Test Complete should be able to close the WinMerge automatically after comparision failure occurs.
WinMerge is a tool that allows you to compare/merge two files in a comfortable GUI shell. If you do not want to see results in WinMerge, you might consider disabling showing results in it (uncheck the "Tools | Options | Engines | Stores | Active" setting).
If this is not an option for you, could you please describe the task you need to accomplish in detail so we can probably suggest another solution?