2.0.35 • Published 3 years ago

@frames/automator v2.0.35

Weekly downloads
37
License
ISC
Repository
-
Last release
3 years ago

Morphis Frames Automator

Install

$ npm i @frames/automator

Usage

$ automator --help
Frames Automator v2.0.35

Usage: automator [options] [configFile]
config file defaults to frames.conf.js.

Options:
  --help, -h     prints automator help menu
  --version, -v  prints automator version
  --dir, -d      automator tests directory

Example

describe('Starts, Login and Opens a Task', () => {
    before(() => {
        frames.login()
            .assert(frames.Validations.isActive('BLOCK', 'FIELD'), 'active item is not BLOCK.FIELD');
    });
    it('Open and Exit Task', () => {
        frames.openTask('TASK_NAME')
            .navigate('BLOCK1', 'FIELD')
            .value('123').next()
            .navigate('BLOCK2', 'EXECUTE_BTN')
            .closeTask()
    });
});

Selenium Testing

Local

Download Selenium Standalone Server and started locally.

You will need the browser driver also. To get chrome working just download the latest version of ChromeDriver.

java -Dwebdriver.chrome.driver=/Users/kimus/Downloads/chromedriver \
     -jar ~/Downloads/selenium-server-standalone-3.4.0.jar

Docker

Using the Selenium Docker project to provide a local Selenium standalone server hub and node configurations with Chrome and Firefox.

$ docker run -d --name selenium -p 4444:4444 selenium/standalone-chrome

To stop container:

$ docker stop selenium

To start the container again:

$ docker start selenium

Maintainers

For start developing in Frames Automator you will need to start the watch process in a terminal for building the javascripts on write like this:

$ npm run watch

If you change the root index.js you will need to build it like this:

$ npm run compile:index

Testing

../bin/automator -d sample <configFile>

Changelog

2.0.35

  • Added support to setting combobox value using option index
  • Fixed navigation to radio buttons in repeaters
  • Added new API method "clickTabPage" that navigates to any tabpage given its ID

2.0.34

  • Added support to multiselect in grids and listboxes
  • Added support to toggle workspace menus (Tools and Related)
  • Improved clickMenuItem API to use the menu entry's relative index
  • Added support to export action

2.0.35

3 years ago

2.0.34

4 years ago

2.0.33-1

4 years ago

2.0.33

4 years ago

2.0.32

4 years ago

2.0.31

6 years ago

2.0.30

6 years ago

2.0.29

6 years ago

2.0.28

6 years ago

2.0.27

6 years ago

2.0.26

6 years ago

2.0.25

6 years ago

2.0.24

6 years ago

2.0.23

6 years ago

2.0.22

6 years ago

2.0.21

6 years ago

2.0.20

6 years ago

2.0.19

6 years ago

2.0.18

6 years ago

2.0.17

6 years ago

2.0.16

6 years ago

2.0.15

6 years ago

2.0.14

6 years ago

2.0.13

6 years ago

2.0.12

6 years ago

2.0.11

6 years ago

2.0.10

6 years ago

2.0.9

6 years ago

2.0.8

6 years ago

2.0.7

6 years ago

2.0.6

6 years ago

2.0.5

6 years ago

2.0.4

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago