Skip to main content

GUI HTML Adaptor

Introduction

Through the GUI HTML Adaptor, H-TEST connects with web applications based on HTML and then, it’s possible to test them. This adaptor has an important companion named Selective Mapping, who is a JavaScript assistant bringing a more friendly user interface for helping to the creation of H-TEST mappings. It’s possible to perform single tests with this adaptor or End to End tests connecting with other adaptors either.

Initialization Parameters

  • Url: first url to locate when the adaptor is created.
  • Browser (optional): the browser you will use in the test (e.g. IE, Chrome). Internet explorer is used by default.
  • Validate Insert Values: it’s indicates if the adaptor should validate or not the values which receive the adaptor during the execution. By default, is unchecked. The recommendation is to maintain unchecked for performance reasons. This field is very useful in special test cases, but in general it’s not necessary to use it.
  • Full Screenshot: if this “checkbox” is checked it will take a screenshot of all the page (not just the visible part), if its not checked, the screenshots will be just the visible part of the page.

Mobile view parameters

The following parameters will only be used if you want to emulate mobile view on the browser.

  • Device emulator: It is used to be able to have mobile view on the execution. It allows choosing the device. If no device is chosen, there won’t be emulation, the execution will be done with the standard format. When a device is chose, the default resolution of that device will be shown on the next three fields, and the execution format will be with that resolution. This resolution can be changed manually, and are the following:

    • Device width
    • Device height
    • Device zoom

  • Horizontal mode: Clicking on this checkbox, the execution will be done in horizontal mode (as if the phone was turned horizontal).

Functions