1.SeleniumRC:
它是一个必不可少的元素,即支持 Firefox、IE、Chrome 等的Selenium测试中的 API。该框架允许开发人员编写测试实例,涵盖编程语言中的不同测试用例,以检查最终用户界面部分有助于检查互联网功能。
2.Selenium驱动程序:
它是一系列开源的 API,用于自我调节 Web 应用程序的测试。换句话说,它充当浏览器的自动化框架,首先接受指令,然后在特定于浏览器的驱动程序的帮助下通过直接通信将这些命令相应地发送到浏览器。
Selenium RC 和Selenium Webdriver 的区别:
S.No. | Selenium RC | Selenium Webdriver |
---|---|---|
1. | This API supports a particular browser. | This is an API which is not bound to a specific browser i.e. supported by almost every browser. |
2. | The server of selenium is required to process the task. | The server of selenium is not required to process the task. |
3. | Its main engine is supported by Javascript. | Its engine is not supported by Javascript. |
4. | Easy functionality as compared to Selenium Webdriver. | It is complicated to learn as compared to Selenium RC. |
5. | It can be used for recording purposes. | It cannot be used for recording purposes. |
6. | It does not follow pure OOP. | Its approach is based on pure OOP. |
7. | Cursor movement not allowed. | Cursor movement is allowed. |