How Selenium RC Works
First, we will describe how the components of Selenium RC operate and the role each plays in running
your test scripts.
RC Components
Selenium RC components are:
- The Selenium Server which launches and kills browsers, interprets
and runs the Selenese commands passed from the test program, and acts as
an HTTP proxy
, intercepting and verifying HTTP messages passed between the browser and the AUT.
- Client libraries which provide the interface between each programming language and the Selenium RC Server.
Here is a simplified architecture diagram....
The diagram shows the client libraries communicate with the
Server passing each Selenium command for execution. Then the server passes the
Selenium command to the browser using Selenium-Core JavaScript commands. The
browser, using its JavaScript interpreter, executes the Selenium command. This
runs the Selenese action or verification you specified in your test script.
Selenium Server
Selenium Server receives Selenium commands from your test program,
interprets them, and reports back to your program the results of
running those tests.
The RC server bundles Selenium Core and automatically injects
it into the browser. This occurs when your test program opens the
browser (using a client library API function).
Selenium-Core is a JavaScript program, actually a set of JavaScript
functions which interprets and executes Selenese commands using the
browser’s built-in JavaScript interpreter.
The Server receives the Selenese commands from your test program
using simple HTTP GET/POST requests. This means you can use any
programming language that can send HTTP requests to automate
Selenium tests on the browser.
http://seleniumhq.org/docs/05_selenium_rc.html
- 大小: 99.1 KB
分享到:
相关推荐
seleniumRC有需要的可以看看,感觉这玩意官网不太好下载
自动化测试工具selenium RC如何使用
selenium RC与selenium webdriver的区别
selenium selenium rc 自动化测试
selenium RC 环境部署配置 自动化测试框架
昨天群里有朋友问我selenium入门例子,我今天抽了点时间写了一段简单的代码,此代码适合刚刚学习selenium的人员参考,此代码是selenium2 RC 调用chrome driver访问百度,输入Jack_test 搜索. 代码里面含资源包:selenium...
selenium-java-2.42.2.jar selenium-server-standalone-2.42.2.jar
Selenium RC 支持java、scharp、python、ruby、php、perl等语言环境
2. 生成junit4的java代码后,导入eclipse的java工程中,启动seleniumRC,然后直接运行回放脚本。 需要下载的文件清单: 1. firefox 2. seleniumIDE 3. firebug 4. SeleniumRC 5. Selenium Client Drivers 6...
selenium RC+IDE包下载,包含2.9.0的selenium IDE包和适用于各种代码的RC包,java、python等
selenium, 测试
2014-12-11selenium rc 环境搭建所需要的最新jar包
搭建java环境 Selenium RC 更专业、功能更强,不在局限于firefox浏览器的插件上那么简单,而且Selenium RC 支持java、scharp、python、ruby、php、perl等语言环境,很强的说。
selenium RC环境配置包及说明文件(包含selenium RC Junit 4及安装部署文件)
快速启动selenium-RC-server
selenium-RC
2. 生成junit4的java代码后,导入eclipse的java工程中,启动seleniumRC,然后直接运行回放脚本。 需要下载的文件清单: 1. firefox 2. seleniumIDE 3. firebug 4. SeleniumRC 5. Selenium Client Drivers 6...
selenium RC 环境配置
selenium-RC.rar,包含selenium-java-client-driver.jar,selenium-server.jar等