How to upload and download a file in KC using FitnessE Test Script

Hi Team,

I am point the FitnessE to reach to the unique identifier for the knowledge center folder but I am not able to use the button/checkbox fitnessE script to go to the New DropDown select Document and in the new dialog opened - upload in the predefined folder. 

 

Also how to use to FitnessE to download the documents to a specific folder for each test scenario.

 

 

Thanks,

Sri

  Discussion posts and replies are publicly visible

Parents
  • Hi Srikanth,
    Please below method to upload files
    | populate | FIELD_TYPE | field | [FIELD_INDEX] | with | VALUE(S) |
    Replace FIELD_TYPE with FILE_UPLOAD and Values with file path where your file is available(Example: C:/FitNesseForAppian/FitNesseRoot/filename.txt)

    To download the documents to specific folder you need to have below lines added to your custom.properties files.

    download.directory=C:/FitNesseForAppian/FitNesseRoot/Downloads (you can give any other file path)
    download.mime.types=application/xml,text/plain,text/xml,image/jpeg,image/png

    Once you add above lines to customer.properties files restart the Fitnesse.

    Let me know if it is not working
  • 0
    A Score Level 1
    in reply to rajeshv
    Also, For the download I need each script in the suite to download in different locations.

    Script1/Scenario 1 --> c:/logs/node1
    Script2/Scenario 2 --> c:/logs/node2

    Is it that something possible?

    Thanks,
    Sri
Reply Children
No Data