啦啦啦,啦啦啦,我是卖报的小行家。

  • 准备重构了,有新的动向会再发帖。也可以加下 Q 群(726249053)一起交流。

  • INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (1, 0, '点击', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'click', '[{"type":"element","key":"element"}]', null, '2018-05-08 07:09:56.830000', '点击');
    INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (2, 0, '输入', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'send_keys', '[{"type":"element","key":"element"},{"type":"string","key":"value"}]', null, '2018-05-08 07:09:59.455000', '输入');
    INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (3, 0, '打开网址', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'open_url', '[{"type":"string","key":"url"}]', null, '2018-05-08 07:10:00.616000', '打开网址');
    INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (4, 0, '清空输入', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'clear', '[{"type":"element","key":"element"}]', null, '2018-05-08 07:10:01.424000', '清空输入');
    INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (5, 0, '最大化浏览器', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'max_size', null, null, '2018-05-08 07:10:02.146000', '最大化浏览器');
    INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (6, 0, '确认弹窗', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'alert_accept', null, null, '2018-05-08 07:10:02.776000', '确认弹窗');
    INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (7, 0, '取消弹窗', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'alert_dismiss', null, null, '2018-05-08 07:10:03.365000', '取消弹窗');
    INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (8, 0, '切换 tab 窗口', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'switch_to_window', '[{"type":"string","key":"title"}]', null, '2018-05-08 07:10:04.036000', '切换 tab 窗口');
    INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (9, 0, '切换嵌套', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'switch_to_frame', '[{"type":"element","key":"frame"}]', null, '2018-05-08 07:10:04.746000', '切换嵌套');
    INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (10, 0, '浏览器前进', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'forward', null, null, '2018-05-08 07:10:05.370000', '浏览器前进');
    INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (11, 0, '浏览器返回', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'back', null, null, '2018-05-08 07:10:06.012000', '浏览器返回');
    INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (12, 0, '浏览器刷新', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'refresh', null, null, '2018-05-08 07:10:06.630000', '浏览器刷新');
    INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (13, 0, '关闭页面', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'close', null, null, '2018-05-08 07:10:07.282000', '关闭页面');
    INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (14, 0, '退出浏览器', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'quit', null, null, '2018-05-08 07:10:08.361000', '退出浏览器');
    INSERT INTO miduotester.keyword (id, projectId, name, type, package, clazz, method, params, steps, createTime, remark) VALUES (15, 0, '选择下拉框', 1, 'MiDuoTester.PageObject.Base', 'PageObject', 'select_by_text', '[{"type": "element", "key": "下拉框"}, {"type": "string", "key": "文本"}]', '[]', '2018-05-08 07:10:09.214000', '选择下拉框');

  • 看看 JS 和 AJAX,然后找的模版自己修改一下。很快上手的。

  • 思路可以通,但是无法异步多线程跑。

  • 谢谢夸奖,但个人对这个项目还不满意。

  • 能生成数据表。有疑问百度下 django

  • 已开源、

  • 思路可以交流,代码写的渣。不好意思搬上来。

啦啦啦,啦啦啦,我是卖报的小行家。