@cic-digital/web-function-test
![Chinese](README_CN.md)
Last updated 7 months ago by k19810703 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @cic-digital/web-function-test -g
SYNC missed versions from official npm registry.

web-function-test

Chinese

web-automation-testing tool run on Chromium, by using this tool , user only need to define business process and test data, no coding required.but XPATH is required.

申明

it wat developed based on puppeteer

前提

Node.JS enviroment is required

quick start

install

npm install -g @cic-digital/web-function-test --unsafe-perm=true

optional install

npm install -g fx

open terminal , go to an empty folder , init it

wft init

init example

wft example

wft example command can not be used twice please empty your folder before you use it again.

wft run -p $(fx executeCaseList.json '.plan[0].id')

after run command,find your snapshot and report in ./output

please be noted , firefox is still still in experimental

quick start using docker

docker enviroment is required

go to an empty folder and init it.

docker run -it --rm -v $(pwd):/usr/src k19810703/webfunctiontest bash /usr/local/bin/init.sh

run example

docker run -it --rm -v $(pwd):/usr/src k19810703/webfunctiontest wft run -p $(fx executeCaseList.json '.plan[0].id')

launch ui

docker run -it --rm -v $(pwd):/usr/src -p 3000:3000 k19810703/webfunctiontest wft ui

SampleCase

参考 ./case.json ./component.json ./param.json

  1. 基本操作sample(input, click, dropdown, radio)
  2. Frame操作sample(带有多个frame的操作)
  3. table验证sample(验证table内容和csv是否一致,csv参考./files/test.csv)
  4. 文件上传sample(上传./files/test.csv)
  5. 鼠标移动到页面元素sample
  6. 拖动页面元素sample
  7. 切换窗口sample

what happened(WIP)

Basic Concept

avatar

how to use it(WIP)

we will provide web user interface for edit all json file later.

wft ui

Current Tags

  • 0.6.10                                ...           latest (7 months ago)

62 Versions

  • 0.6.10                                ...           7 months ago
  • 0.6.9                                ...           8 months ago
  • 0.6.8                                ...           8 months ago
  • 0.6.7                                ...           8 months ago
  • 0.6.6                                ...           8 months ago
  • 0.6.5                                ...           8 months ago
  • 0.6.4                                ...           8 months ago
  • 0.6.3                                ...           8 months ago
  • 0.6.2                                ...           8 months ago
  • 0.6.1                                ...           8 months ago
  • 0.6.0                                ...           8 months ago
  • 0.5.21                                ...           8 months ago
  • 0.5.20                                ...           8 months ago
  • 0.5.19                                ...           8 months ago
  • 0.5.18                                ...           8 months ago
  • 0.5.17                                ...           8 months ago
  • 0.5.16                                ...           8 months ago
  • 0.5.15                                ...           8 months ago
  • 0.5.14                                ...           8 months ago
  • 0.5.13                                ...           8 months ago
  • 0.5.12                                ...           8 months ago
  • 0.5.11                                ...           8 months ago
  • 0.5.10                                ...           9 months ago
  • 0.5.9                                ...           9 months ago
  • 0.5.8                                ...           9 months ago
  • 0.5.7                                ...           9 months ago
  • 0.5.6                                ...           9 months ago
  • 0.5.5                                ...           9 months ago
  • 0.5.4                                ...           9 months ago
  • 0.5.3                                ...           9 months ago
  • 0.5.2                                ...           9 months ago
  • 0.5.1                                ...           9 months ago
  • 0.5.0                                ...           9 months ago
  • 0.4.2                                ...           9 months ago
  • 0.4.1                                ...           9 months ago
  • 0.4.0                                ...           9 months ago
  • 0.3.0                                ...           a year ago
  • 0.2.1                                ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 0.0.22                                ...           a year ago
  • 0.0.21                                ...           a year ago
  • 0.0.20                                ...           a year ago
  • 0.0.19                                ...           a year ago
  • 0.0.18                                ...           a year ago
  • 0.0.17                                ...           a year ago
  • 0.0.16                                ...           a year ago
  • 0.0.15                                ...           a year ago
  • 0.0.14                                ...           a year ago
  • 0.0.13                                ...           a year ago
  • 0.0.12                                ...           a year ago
  • 0.0.11                                ...           a year ago
  • 0.0.10                                ...           a year ago
  • 0.0.9                                ...           a year ago
  • 0.0.8                                ...           a year ago
  • 0.0.7                                ...           a year ago
  • 0.0.6                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 62
Last Day 0
Last Week 62
Last Month 1
Dependencies (34)
Dev Dependencies (14)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |