本文介绍了自动测试网站/页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我正在尝试打开一个网页,说http://gmail.com",输入用户名,密码,点击提交按钮然后加载其他的东西 - 所有通过自动化,在python中编写脚本。


我在cPAMIE尝试了我的手,但面对prbs注册了gui元素的id,即在htm源文件中没有提到特定gui元素的id的地方,我们无法使用cPAMIE方法。


我现在正在win32com.client尝试我的手,但作为一个新手,我无法令人满意地进行。


任何人都可以指导我完成工作的方式,即建议任何其他模块自动化浏览器,或指向我提供一些信息丰富的教程。


之前已经完成此类工作的任何人,可以吗?请帮帮我?


问候,

rdps

hello,

I am trying to open up a webpage, say "http://gmail.com", enter username, passwd, click on submit button and do loads of other things - ALL THROUGH AUTOMATION, writing a script in python.

I tried my hands at cPAMIE but facing prbs regading the ids of the gui elements i.e. the places where id of a particular gui element is not mentioned in the htm source file, we cannot use the cPAMIE methods.

I am trying my hands at win32com.client now, but being a newbie i am not able to proceed satisfactorily.

Could anyone guide me the way to accomplish my job i.e suggesst any other module to automate browser, or point me to some informative tutorials.

ANYONE WHO HAS DONE SUCH STUFF BEFORE, can u help me please?

Regards,
rdps

推荐答案


展开 | 选择 | Wrap | 行号


展开 | 选择 | Wrap | 行号


这篇关于自动测试网站/页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 09:12