Forum Discussion

SM1's avatar
SM1
Occasional Visitor
10 months ago

Excel Report in Key word test

Hello 

How to avoid Excel report numbering in the key word test? 

For Example, I have created a Key word test and tried to run the Excel report, 

First issue is report directly goes in to Download, so I have to click to open the report. which is one additional click when I re-run that same test.

Second issue every time after the download the Excel file opens up with different number, which leads to test failure on re-run due to Test complete is looking for the same file number. 

Thank you 

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Can you give an example of what your mean by different number?

  • When the Excel file is downloaded, put it in a folder that doesn't have any other files. Download it there and then instead of opening it by name, just open what is found in the folder. Delete that file at the end of your test so the folder is once again empty.