python自动化
文章平均质量分 52
Zhangah07
本人软件工程专业熟悉oracle、python自动化、selenium自动化、mysql等等
展开
-
selenium自动化登录模块HTMLTestRunner测试报告
第631行,将print >> sys.stderr, ‘\nTime Elapsed: %s’ % (self.stopTime-self.startTime)修改成print(sys.stderr, ‘\nTime Elapsed: %s’ % (self.stopTime-self.startTime))第539行,将self.outputBuffer = StringIO.StringIO()修改成self.outputBuffer = io.StringIO()# 定义个报告存放路径。原创 2024-03-22 16:27:20 · 808 阅读 · 0 评论 -
seleniumUI自动化实例(CSDN发布文章)
selenium python UI自动化实例(CSDN发布文章功能)原创 2024-03-20 14:49:10 · 413 阅读 · 0 评论 -
selenium自动化遍历并选择select下拉框每一个元素
selenium自动化遍历并选择select下拉框每一个元素原创 2023-05-12 14:55:49 · 1350 阅读 · 0 评论 -
seleniumUI自动化登录失败案例重新尝试WhileTrue
seleniumUI自动化登录失败案例重新尝试WhileTrue原创 2023-04-25 09:51:23 · 1382 阅读 · 0 评论 -
selenium定位非select标签的下拉框(div/ul/li)
selenium定位非select标签的下拉框(div/ul/li)。原创 2023-04-14 09:30:01 · 5452 阅读 · 5 评论 -
xpath定位元素(F12开发者工具xpath定位、xPath Helper扩展程序xpath定位)
xpath定位元素原创 2023-03-31 14:59:21 · 1548 阅读 · 0 评论 -
针对iframe的id或name值每次都会变动,selenium定位解决方案
当我们点击进入一个iframe时,id和name值是Mainframe1,下次再点击进入的时候,id和name值变成了Mainframe2,针对这种定位,我们先使用XPATH定位的方法,获得iframe的绝对路径,然后使用driver.switch_to.frame,进入该iframe中,随后就可以进行其他操作了。原创 2023-03-24 17:28:04 · 1131 阅读 · 0 评论 -
selenium自动化解决selenium.common.exceptions.NoAlertPresentException: Message: No alert is active报错
selenium自动化解决selenium.common.exceptions.NoAlertPresentException: Message: No alert is active报错原创 2023-03-21 10:16:45 · 463 阅读 · 0 评论 -
selenium自动化confirm弹框解决方案
selenium自动化confirm弹框解决方案原创 2023-03-21 09:26:50 · 488 阅读 · 0 评论 -
selenium自动化报Protected Mode settings are not the same for all zones.解决方案
selenium自动化报Protected Mode settings are not the same for all zones.解决方案#先定义一个ie optionsoptions=webdriver.IeOptions()#忽略保护模式置为trueoptions.ignore_protected_mode_settings=True#定义driver的时候将options塞进去driver=webdriver.Ie(executable_path="D:\Python\Python36原创 2023-03-17 13:44:44 · 719 阅读 · 0 评论 -
selenium自动化使用IEWebDriver跑脚本较慢问题解决方案(使用32位的驱动可以解决)
selenium自动化使用IEWebDriver跑脚本较慢问题解决方案(使用32位的驱动可以解决)原创 2023-03-17 13:37:37 · 425 阅读 · 0 评论 -
IE11(Win11)selenium自动化报This is the initial start page for the WebDriver server.解决方案
IE11(Win11)selenium自动化报This is the initial start page for the WebDriver server.解决方案原创 2023-03-17 13:32:27 · 1397 阅读 · 2 评论 -
selenium内嵌在iframe中的元素定位以及select下拉框定位
selenium内嵌在iframe中的元素定位以及select下拉框定位,selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="slywlb"]"}原创 2023-03-15 16:49:04 · 594 阅读 · 0 评论 -
selenium定位下拉框
selenium定位下拉框原创 2023-03-15 15:23:10 · 144 阅读 · 0 评论 -
python+selenium自动化测试解决不了的alert问题,使用PyKeyboard解决方法
python+selenium自动化测试解决不了的alert问题,使用PyKeyboard解决方法原创 2023-03-08 11:25:25 · 595 阅读 · 0 评论 -
PyCharm+Python+Selenium自动化测试动态验证码识别
PyCharm+Python+Selenium自动化测试动态验证码识别原创 2023-03-07 13:33:03 · 775 阅读 · 0 评论 -
IDEA+Python+Selenium自动化测试环境配置
IDEA+Python+Selenium自动化测试环境配置原创 2023-03-06 17:02:18 · 579 阅读 · 0 评论