Skip to content

aristosh/kecak-web-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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();

Releases

No releases published

Packages

No packages published