Skip to main content

Text Files Adaptor examples

Description

Through the Text Files Adaptor, H-TEST can manage plain text files and use them in testing. It’s possible to perform single tests with this adaptor or End to end tests connecting with other adaptors either.

UML Diagram and Mapping

This is an example of a UML Diagram which uses the Text Files Adaptor.

textfile_blue.png

This is an example of interactions between the Text File Adaptor with other adaptors in an E2E test.

NECESITO IMAGEN

As part of the mapping process, you should provide the Adaptor’s information, regarding to connect and use it:

  • FilePath: the complete path, including the name of the file, of the file represented by the adapter in the diagram.
  • CharSet: the charset used to create the file.
  • Create/Overwrite: when the checkbox is marked, TAST will create a new file or overwrite it if the file already exists.

Test Set Execution

After the test set execution, immediately you have the results. There are two main elements you can verify:

  • Logs: The step by step information of the execution, with:
    • the results.
    • the methods had been executed.
    • the timelines.
  • Evidences: The screenshots or evidence information by step, in case they have requested.