Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Documents & Media
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      LIMA | #36 | DEV | May18-Jun08, LIMA | #35 | DEV | Apr27-May18
    • Test Type:

      Description

      Test Scenario 0.56: A Java file can be previewed after enabling the OpenOffice server

      Test Steps:

      1. Start portal
      2. Go to system setting> Connectors> Enable server
      3. Go to local>OpenOffice> Program> Execute command: soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;"
      4. Go portal> Document and media> Add document and upload file (java, jsp, js, jspf, sh, css)> Publish
      5. Go to the document to view the preview
      6. Assert the file can be previewed
      7. Go to system setting> Connectors> Disable server
      8. Go portal> Document and media> Go to document
      9. Assert the document can not be previewed

      Test Scenario 0.57: A JS file can be previewed after enabling the OpenOffice server

      See scenario 0.56

      Test Scenario 0.58: A JSP file can be previewed after enabling the OpenOffice server

      See scenario 0.56

      Test Scenario 0.59: A JSP file can be previewed after enabling the OpenOffice server

      See scenario 0.56

      Test Scenario 0.60: A CSS file can be previewed after enabling the OpenOffice server

      See scenario 0.56

      Test Scenario 0.61: A SH file can be previewed after enabling the OpenOffice server

      See scenario 0.56

      Test Scenario 0.62: A Java file can be previewed after enabling the LibreOffice server

      Test Steps:

      1. Start portal
      2. Go to system setting> Connectors> Enable server
      3. Go to local>LibreOffice> Program> Execute command: soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;"
      4. Go portal> Document and media> Add document and upload file (java, jsp, js, jspf, sh, css)> Publish
      5. Go to the document to view the preview
      6. Assert the file can be previewed
      7. Go to system setting> Connectors> Disable server
      8. Go portal> Document and media> Go to document
      9. Assert the document can not be previewed

      Test Scenario 0.63: A JS file can be previewed after enabling the LibreOffice server

      See scenario 0.62

      Test Scenario 0.64: A JSP file can be previewed after enabling the LibreOffice server

      See scenario 0.62

      Test Scenario 0.65: A JSPF file can be previewed after enabling the LibreOffice server

      See scenario 0.62

      Test Scenario 0.66: A CSS file can be previewed after enabling the LibreOffice server

      See scenario 0.62

      Test Scenario 0.67: A SH file can be previewed after enabling the LibreOffice server

      See scenario 0.62

      Test Scenario 0.68: The file with JS, CSS, Java, JSP, JSPF or Sh extensions can not be previewed after disabling the server

      See scenarios 0.56&0.62

        Attachments

          Activity

            People

            Assignee:
            austin.chiang Austin Chiang
            Reporter:
            jeremy.chen Jeremy Chen
            Recent user:
            Jeremy Chen
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package