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
Reply
  • 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
Children