1.0.0 • Published 7 years ago

kecak-web-automation v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Kecak Workflow Web Automation

Web automation for Kecak Workflow or Joget Workflow with Selenium Project as its driver engine. It encapsulates Selenium to work specifically for Kecak Workflow and Joget Workflow.

Installation

npm install kecak-web-automation

Browser driver components are not included and need to be configured seperately. Please refer to here for browser driver components installation.

Quick Start

var webAutomation = require('kecak-web-automation');
var automate = webAutomation.build('http://yourserver:8080/kecak/', 'chrome');

// login as some user
automate.login('user', 'password');

// select application
automate.applicationSelect('App1');

// select some menu from userview
automate.userviewClickMenu('Form1');

// assign value to text field / checkbox / radio button
automate.formElementSet('field1', 'some value');

// add new form grid value
automate.formGridElementAdd('grid1');
automate.formElementSet('field2', 'some value for field inside form grid');
automate.formGridElementSubmit();