Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Sprint:
      LIMA | #19 | May26-Jun16, LIMA | #20 | Jun16-Jul07, LIMA | #21 | DEV | Jul07-Jul28
    • Test Type:

      Description

      Test Scenario 1.11: An error message displays when the translation file's ID doesn't match with the web content

      Test Steps:

      1. Enable the feature
      2. Add a basic WC article (Web Content Title, Web Content Content)
      3. Import a translated file that it does not corresponds to this web content
      4. Assert the import failed through the error message:  The translation file (Web Content Title-en_US-es_ES.xlf) does not correspond to this web content.

      Test Scenario 1.12: An error message displays when an imported translation using an unavailable language is published

      Test Steps:

      1. Enable the feature
      2. Add a basic WC article (Web Content Title, Web Content Content)
      3. Export for Translation of Chinese
      4. Go to Site Settings > Languages and remove Chinese from the Available Languages
      5. Import the translation file
      6. Assert the import failed through the error message: XLIFF file has unavailable language translation.

      Test Scenario 1.13: An error message displays when an imported translation with a corrupted file is published

      Test Case 1:

      1. Enable the feature
      2. Add a basic WC article (Web Content Title, Web Content Content)
      3. Import a translation with a corrupted file
      4. Assert the import failed through the error message: The file is an invalid XLIFF file.

      Test Case 2:

      1. Enable the feature
      2. Add a basic WC article (Web Content Title, Web Content Content)
      3. Import a translation with some other file type
      4. Assert can not select other file types except .Xliff and .xlf

      Test Scenario 1.14: An error message displays when importing translation file has an incorrect encoding

      Test Case 1:
      Test Steps:

      1. Add a web content(Web Content title)
      2. Export it with Japanese (Japan)
      3. Extract the zip file and translate it into Japanese(Web Content title > Webコンテンツのタイトル)
      4. Import the translated xlf file
      5. Assert the import failed through the error message: The translation file has an incorrect encoding. The supported encoding format is UTF-8.

      Test Case 2:

      1. Add a web content(Web Content title)
      2. Export it with Chinese
      3. Extract the zip file and translate it into Chinese(Web Content title > 网页标题)
      4. Import the translated xlf file
      5. Assert the import failed through the error message: The translation file has an incorrect encoding. The supported encoding format is UTF-8.

      Test Case 3:

      1. Add a web content(Web Content title)
      2. Export it with Spanish (Spain)
      3. Extract the zip file and translate it into Spanish(Web Content title > Título del contenido web)
      4. Import the translated xlf file
      5. Assert the import failed through the error message: The translation file has an incorrect encoding. The supported encoding format is UTF-8.

      Test Scenario 1.15: User can import the translation file after re-encoding it to UTF-8

      Test Case 1:
      Test Steps:

      1. Add a web content(Web Content title)
      2. Export it with Japanese (Japan)
      3. Extract the zip file and translate it into Japanese(Web Content title > Webコンテンツのタイトル)
      4. Re-encoding it to UTF-8
      5. Import the translated xlf file
      6. Assert that the import is successful
      7. Assert the title is translated after importing

      Test Case 2:
      Test Steps:

      1. Add a web content(Web Content title)
      2. Export it with Chinese (China)
      3. Extract the zip file and translate it into Japanese(Web Content title > 网页标题)
      4. Re-encoding it to UTF-8
      5. Import the translated xlf file
      6. Assert that the import is successful
      7. Assert the title is translated after importing

      Test Case 3:
      Test Steps:

      1. Add a web content(Web Content title)
      2. Export it with Spanish (Spain)
      3. Extract the zip file and translate it into Japanese(Web Content title > Título del contenido web)
      4. Re-encoding it to UTF-8
      5. Import the translated xlf file
      6. Assert that the import is successful
      7. Assert the title is translated after importing

        Attachments

          Activity

            People

            Assignee:
            yvonne.han Yvonne Han
            Reporter:
            yvonne.han Yvonne Han
            Recent user:
            Yvonne Han
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package