seldom
seldom copied to clipboard
Seldom automation testing framework based on unittest
web 用例编写和调试是比较耗时的,每次的修改都需要重新打开浏览器执行验证。如果可以对已打开浏览器运行测试,可以有效节省调试用例的时间。
测试用网站:https://liushilive.github.io/html_example/index.html 使用seldom进行web自动化,在prompt提示框时需要输入文本  在使用seleium时,可以选择`switch_to.alert`,然后直接`send_keys`如下  在seldom中没有`switch_to.alert`,有的是直接获取警告信息或者确定和取消,链式处理Steps中有alert,但是无法实现输入 `s.find("#b2").click().alert().type("shishi") s.accept()` 
1、在文档中似乎没有看到有改写接口响应的能力 2、在实际业务当中经常会遇到需要拉取配置类的接口,而接口的不同响应或多或少会直接影响web端/app端的展示(入口按钮开关、运营位展示、气泡/内容) 3、因为公司业务是需要到firebase上获取配置,为了验证这些配置的影响面是否存在,需要在平台上更改,我也在实际UI自动化中用到mitmproxy,实际效果不错,但一直没想到对数据存储/处理的好办法 也想听听各位大佬的建议,目前是拷贝一份生产环境的接口响应作为json保存,再按照这份json创建副本copy,修改copy内的相关参数,最后在测试用例中覆盖当前参数(根据copy内的参数执行相关操作),断言结果
locust: https://github.com/locustio/locust
用例执行完成生成测试报告后,邮件发送不了,试了QQ邮箱、Gmail邮箱都不行,老是提示【由于目标计算机积极拒绝,无法连接】求指点。 Traceback (most recent call last): File "E:\workspace\Demo\test_dir\test_baidu_sample.py", line 28, in smtp.sendmail(to='[email protected]', subject='Email Test', attachments=str(report_path), delete=False) File "D:\Python310\lib\site-packages\seldom\utils\send_extend.py", line 23, in sendmail self.sender(to=to, subject=subject, attachments=attachments) File "D:\Python310\lib\site-packages\XTestRunner\_email.py", line 76, in...
版本信息: Name: seldom Version: 3.6.0 Summary: Seldom automation testing framework based on unittest. Home-page: https://seldomqa.github.io Author: bugmaster Author-email: [email protected] License: Apache-2.0 代码: import seldom class BaiduTest(seldom.TestCase): """ * start_class/end_class *...
Bumps [idna](https://github.com/kjd/idna) from 3.3 to 3.7. Release notes Sourced from idna's releases. v3.7 What's Changed Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) to 5.2.8 and updates ancestor dependencies [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite), [vuepress-vite](https://github.com/vuepress/vuepress-next) and [vuepress](https://github.com/vuejs/vuepress/tree/HEAD/packages/vuepress). These dependencies need to be updated together. Updates `vite` from 4.3.9 to 5.2.8 Release notes Sourced from vite's...
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4. Release notes Sourced from jinja2's releases. 3.1.4 This is the Jinja 3.1.4 security release, which fixes security issues and bugs but does not otherwise...
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...