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

  • 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
    Hi Rajesh,

    Thanks for the reply, I am able to go to the KC Folder. But I am not able to navigate from

    KC folder --> New --> Document steps

    I tried using click on button but I am getting error as click on button: Bad table! DecisionTables should have at least three rows.

    Please suggest on the navigation.

    Thanks,
    Sri
  • 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