您的位置:首页 > 其它

Selenium RC

2015-07-02 14:34 141 查看

http://docs.seleniumhq.org/docs/05_selenium_rc.jsp




Installing Selenium Server

The Selenium RC server is simply a Java jar file (selenium-server-standalone-<version-number>.jar), which doesn’t require any special installation. Just downloading the zip file and extracting the server in the desired
directory is sufficient.


Running Selenium Server

Before starting any tests you must start the server. Go to the directory where Selenium RC’s server is located and run the following from a command-line console.
java -jar selenium-server-standalone-<version-number>.jar



Using the Python Client Driver


Using the Python Client Driver

Install Selenium via PIP, instructions linked at SeleniumHQ downloads page
Either write your Selenium test in Python or export a script from Selenium-IDE to a python file.
Run Selenium server from the console
Execute your test from a console or your Python IDE

For details on Python client driver configuration, see the appendix Python Client Driver Configuration.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: