开发者

Website automation using Python

开发者 https://www.devze.com 2023-04-11 03:46 出处:网络
I m trying to automate a Web Application validation performed by my team.I have choosen Python as the language to do this, although my exp. with Python is very limi开发者_如何学Cted.I have done simila

I m trying to automate a Web Application validation performed by my team.I have choosen Python as the language to do this, although my exp. with Python is very limi开发者_如何学Cted.I have done similar things in the past using Perl. Now the problem is that after posting the url of the website it directs to a logon page which is made in Javascript. From whatever little Python I know, I believe scrapping/parsing website made in Javascript is not possible. I faced the same issue while doing this with Perl as well and wasn't able to proceed.

Any pointers or help in resolving the above issue would be highly appreciated.

Thanks


Spynner may help http://code.google.com/p/spynner/


Maybe you can take a look a Selenium. It's a firefox plugin that enables automation, but it also has a webdriver system where you can write automation scripts in various languages (including python), and a server execute the code in various browsers. I never tried the webdriver part myself, but that should do what you want.

0

精彩评论

暂无评论...
验证码 换一张
取 消