Skip to content

Releases: hautof/haf

2.7.5

29 Mar 04:48
8d7cd18
Compare
Choose a tag to compare
  • remove local Lock
  • using mutiprocessing's Lock to make runner faster
  • fix some bugs of lossing case #29
  • fix not stop runner issue

2.7.1

27 Mar 08:24
3436d4a
Compare
Choose a tag to compare

add issue template

update readme and docs and pngs

update stage design:

support stage-result
include app and web stage

add py bench support

add case reuse try : TODO

add redistool to database

2.7.0

19 Mar 12:01
a920532
Compare
Choose a tag to compare
  • warning support
    image

  • stage result show
    image

  • fix some bugs:

operation show of web stages would be ok
can failed stage : to be warning but not error
error should be fail when stage run

2.6.6

17 Mar 09:04
Compare
Choose a tag to compare
  • fix logger bugs
  • add console summary output

2.6.3

15 Mar 08:52
Compare
Choose a tag to compare

add jsonschema to check config.json file when test start

using build.bat to build exe

     xcopy /e /a /y ..\haf\* .\
     pyinstaller -F main.py -i ..\docs\png\haf.ico --additional-hooks-dir=

add new locker support

    @contextlib.contextmanager
    def new_locker(bus_client, key):
         locker = Locker(bus_client, key)
         locker.get_lock()
         try:
              yield
        finally:
              locker.release_lock()
              return

2.6.2

14 Mar 06:43
05f03ef
Compare
Choose a tag to compare
{
	"testcases": [
             {
		"id": 1,
		"name": "test baidu",
		"subid": 1,
		"subname": "default",
		"app_name": "default",
		"run": true,
		"type": "web",
	        "wait_time": 2,
		"desired_caps": {
			"platformName": "chrome",
                        "platformVersion": "9",
                        "start_url": "http://baidu.com"
		},
		"stage": [
			{
				"id": 1,
				"name": "输入搜索内容",
				"operation": "send_keys",
				"path": {
					"xpath": "//*[@id='kw']"
				},
				"try": false,
				"info": {"keys": "autotest.wang"},
				"sleep": 0.5
			},
			{
				"id": 2,
				"name": "点击搜索按钮",
				"operation": "click",
				"path": {
					"xpath": "//*[@id='su']"
				},
				"try": false,
				"info": null,
				"sleep": 0.5
			}
		],
		"dependent": null
	}],
	"dbconfig": [{
		"id": 1,
		"sql_name": "mysql1",
		"protocol": "mysql",
		"host": "192.168.41.208",
		"port": 3306,
		"username": "root",
		"password": "testzhan123",
		"database": "visual"
	}],
	"config": [{
		"name": "test_baidu",
		"benchname": "test_baidu",
		"protocol": "http",
		"host_port": "www.baidu.com"
	}]
}

2.6.1

11 Mar 11:27
d32c87c
Compare
Choose a tag to compare
  • change to plugin mode : sql publish and api server
  • fix some bugs of --bus-server-port (-bsp)
  • add support of app case publish to sql

2.4.3

18 Feb 02:15
5d82856
Compare
Choose a tag to compare
  • fix some bugs
  • update app runner / report

version 2.3.3

13 Feb 03:42
076977a
Compare
Choose a tag to compare
  • add android app ui case support
  • add app ui html report template

AppRunner

  • same as PyRunner & ApiRunner

apphelper

  • BasePage : base function of app ui
  • Stage : stage of ui
  • DesiredCaps : appium desired caps

stage support
image

2.2.4

22 Jan 07:11
f80dad9
Compare
Choose a tag to compare
  • support mysql publish
  • publish results to mysql
  "sql_publish": {
        "id": 1,
        "sql_name": "upload",
        "publish": true,
        "host": "192.168.41.208",
        "port": 3306,
        "username": "root",
        "password": "testzhan123",
        "database": "haf_publish",
        "protocol": "mysql"
      }

image