YML Schema

All the valid commands and their properties.

TestDriver will worry about generating and maintaining tests for the most part. However, if you'd like to edit tests or gain a better understanding of what's going on you can find all of the commands in this secion.

As for YML format, here is an example of a valid yml file:

version: 4.0.0
steps:
  - prompt: enter fiber.google.com in url
    commands:
      - command: focus-application
        name: Google Chrome
      - command: hover-text
        text: Search Google or type a URL
        description: main google search
        action: click
      - command: type
        text: fiber.google.com
      - command: press-keys
        keys:
          - enter
  - prompt: enter a fake address and check availability
    commands:
      - command: hover
        x: 0
        y: 0
      - command: focus-application
        name: Google Chrome
      - command: hover-text
        text: Enter your address
        description: address input field
        action: click
      - command: type
        text: 123 Fake Street
      - command: hover-text
        text: ZIP
        description: ZIP code input field
        action: click
      - command: type
        text: 12345
      - command: hover-text
        text: Check availability
        description: check availability button
        action: click
  - prompt: assert a familiy appears on screen
    commands:
      - command: focus-application
        name: Google Chrome
      - command: assert
        expect: a family appears on screen

Last updated