Forum Discussion
Thanks for the Update
Here is another issue- Log.File create file1.mht as attached in the screenshot and it is located in the ....\Log\5_13_2019_2_53 PM_11_468\{ABA7496F-EFAF-4CEE-9732-23D562E3E296}\File1.mht
From the help for Log.File
Remarks
-
The method renames the file when copying it to the test results folder. The new name has the format
File<index>.originalExtension
. This approach helps TestComplete avoid naming conflicts when posting files. Below is a typical example of the code that might cause conflicts:Log.File("C:\MyFile.txt");
ChangeFileInSomeWay("C:\MyFile.txt");
Log.File("C:\MyFile.txt");If TestComplete does not rename the file when posting it to the log, the second call to the
Log.File
method would cause a naming conflict.
- tristaanogre5 years agoEsteemed Contributor
Unfortunately, that's not going to be possible due to how the test are run against the CBT environments. Think of each CBT environment run as being another machine running another copy of your project. So, you'll have 150 different MHT files that you will pull back and store.
- nisgupta5 years agoValued Contributor
Thanks for the updates .
But here how it is working.
For e.g. Script 1 and Script 2 need to run on Window 10 and on Firefox 66 then Log.File will generate individual MHT report for Script 1 and Script 2.
Goal is to generate MHT report after Script 1 and Script 2 finished running. We have almost 150 CBT tests as the script are running on different OS/browsers .
We want to have Single MHT report after 150 CBT tests finished running.
Thanks
Nishchal
Related Content
Recent Discussions
- 23 hours agojstaehlin